X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcamera.h;h=6e83a9c3e761384f3342abb818cad714b1049004;hb=ab83db6f1e31d44ced585119a57fd10896e469cb;hp=cea9c35ef9d02ae2e91769eb6bba3d8e1159c8a6;hpb=955e7cada42e099016879332e71863e46075d72b;p=libs%2Fgl.git diff --git a/source/camera.h b/source/camera.h index cea9c35e..6e83a9c3 100644 --- a/source/camera.h +++ b/source/camera.h @@ -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;