Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-04-27 13:08:12 +0000
committerStijn Buys <ingar@osirion.org>2008-04-27 13:08:12 +0000
commita4b36e6d1e20b5036d1ed7cf9f61a48dbbf77812 (patch)
tree7efd0048fd8c10b1f04d427c78e3ac8da402f059 /src/render/gl.h
parentfe95954f9d17c9dade1827fe5d4cf8cffffddbce (diff)
3D flight
Diffstat (limited to 'src/render/gl.h')
-rw-r--r--src/render/gl.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/render/gl.h b/src/render/gl.h
index 69eb412..4383e52 100644
--- a/src/render/gl.h
+++ b/src/render/gl.h
@@ -11,6 +11,8 @@
#include <GL/glu.h>
#include "math/vector3f.h"
+#include "math/matrix4f.h"
+#include "math/axis.h"
#include "math/color.h"
#ifdef _WIN32
@@ -146,6 +148,12 @@ namespace gl
*/
void scale(const float x, const float y, const float z);
+ /// multiply the current matrix with a coordinate system transformation
+ void multmatrix(const math::Axis & axis);
+
+ /// multiply the current matrix with a 4x4 float matrix
+ void multmatrix(const math::Matrix4f & matrix);
+
/// specify the drawing color for the next GL functions
/** @param color the new drawing color
*/