diff options
Diffstat (limited to 'src/render/gl.h')
-rw-r--r-- | src/render/gl.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/render/gl.h b/src/render/gl.h index 0513410..d5d6418 100644 --- a/src/render/gl.h +++ b/src/render/gl.h @@ -7,13 +7,11 @@ #ifndef __INCLUDED_RENDER_GL_H__ #define __INCLUDED_RENDER_GL_H__ -// project headers +#include <GL/gl.h> + #include "math/vector3f.h" #include "math/color.h" -// OpenGL headers -#include <GL/gl.h> - namespace render { /// wrapper namespace for OpenGL operations @@ -99,6 +97,11 @@ namespace gl void vertex(const math::Vector3f& vector); void vertex(const float x, const float y, const float z); + + /// glNormal + void normal(const math::Vector3f & vector); + + void normal(const float x, const float y, const float z); /// multiply the current matrix by a general rotation matrix /** @param angle The angle of the rotation, in degrees [0-360] |