]> git.tdb.fi Git - libs/gl.git/blobdiff - source/camera.h
Get all blocks for the program before applying them
[libs/gl.git] / source / camera.h
index cea9c35ef9d02ae2e91769eb6bba3d8e1159c8a6..6e83a9c3e761384f3342abb818cad714b1049004 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of libmspgl
-Copyright © 2010  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #ifndef MSP_GL_CAMERA_H_
 #define MSP_GL_CAMERA_H_
 
@@ -45,6 +38,7 @@ public:
        const Vector3 &get_position() const { return position; }
        const Vector3 &get_look_direction() const { return look_dir; }
        const Vector3 &get_up_direction() const { return up_dir; }
+       const Matrix &get_matrix() const { return matrix; }
 
        Vector3 project(const Vector4 &) const;
        Vector4 unproject(const Vector4 &) const;