summaryrefslogtreecommitdiff
path: root/common/matrix.h
diff options
context:
space:
mode:
authorleo2000-11-09 17:08:53 +0000
committerleo2000-11-09 17:08:53 +0000
commit775f6fc2189c9e92605678559ffce10fbf01734f (patch)
treeef4f941e9bcf214f889950e13b15973ebee87fec /common/matrix.h
parentaf9983f08feeb36cf224065085cf9e19e0fbf58c (diff)
Functions to create transformation matrixes
git-svn-id: http://svn.leocad.org/trunk@154 c7d43263-9d01-0410-8a33-9dba5d9f93d6
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];
};