]> git.tdb.fi Git - libs/gl.git/blobdiff - source/camera.h
Use libmspmath to provide vector and matrix operations
[libs/gl.git] / source / camera.h
index 0390607d5dafd31ffadb22f25ce0cda0a99f5537..d86725e6cb037bac933c1f2c4c2db3f84b31cdf9 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_
 
@@ -48,6 +41,7 @@ public:
        const Matrix &get_matrix() const { return matrix; }
 
        Vector3 project(const Vector4 &) const;
+       Vector3 project(const Vector3 &) const;
        Vector4 unproject(const Vector4 &) const;
 
        void apply() const;