From a4b36e6d1e20b5036d1ed7cf9f61a48dbbf77812 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 27 Apr 2008 13:08:12 +0000 Subject: 3D flight --- src/render/gl.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/render/gl.h') 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 #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 */ -- cgit v1.2.3