]> git.tdb.fi Git - libs/gl.git/blobdiff - source/camera.h
Use the matrix classes internally
[libs/gl.git] / source / camera.h
index a2d2993afeedd83500e0f1a490f3f100b91a3f2f..cea9c35ef9d02ae2e91769eb6bba3d8e1159c8a6 100644 (file)
@@ -8,6 +8,7 @@ Distributed under the LGPL
 #ifndef MSP_GL_CAMERA_H_
 #define MSP_GL_CAMERA_H_
 
+#include "matrix.h"
 #include "vector.h"
 
 namespace Msp {
@@ -24,7 +25,7 @@ private:
        Vector3 position;
        Vector3 look_dir;
        Vector3 up_dir;
-       float matrix[16];
+       Matrix matrix;
 
 public:
        Camera();