summaryrefslogtreecommitdiff
path: root/common/matrix.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/matrix.h')
-rw-r--r--common/matrix.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/matrix.h b/common/matrix.h
index 41110d9..b90f124 100644
--- a/common/matrix.h
+++ b/common/matrix.h
@@ -38,6 +38,9 @@ public:
void FromAxisAngle(float axis[3], float angle);
void FromFloat(float* mat);
bool FromInverse(double* src);
+ void CreatePerspective (float fovy, float aspect, float nearval, float farval);
+ void CreateLookat (float eye[3], float target[3], float up[3]);
+ bool Invert ();
float m[16];
};