From 775f6fc2189c9e92605678559ffce10fbf01734f Mon Sep 17 00:00:00 2001 From: leo Date: Thu, 9 Nov 2000 17:08:53 +0000 Subject: Functions to create transformation matrixes git-svn-id: http://svn.leocad.org/trunk@154 c7d43263-9d01-0410-8a33-9dba5d9f93d6 --- common/matrix.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'common/matrix.h') 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]; }; -- cgit v1.2.3