diff options
author | Stijn Buys <ingar@osirion.org> | 2008-04-27 13:08:12 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-04-27 13:08:12 +0000 |
commit | a4b36e6d1e20b5036d1ed7cf9f61a48dbbf77812 (patch) | |
tree | 7efd0048fd8c10b1f04d427c78e3ac8da402f059 /src/render/gl.h | |
parent | fe95954f9d17c9dade1827fe5d4cf8cffffddbce (diff) |
3D flight
Diffstat (limited to 'src/render/gl.h')
-rw-r--r-- | src/render/gl.h | 8 |
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 */ |