diff options
Diffstat (limited to 'src/render/gl.cc')
-rw-r--r-- | src/render/gl.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/render/gl.cc b/src/render/gl.cc index fa7c092..ebba733 100644 --- a/src/render/gl.cc +++ b/src/render/gl.cc @@ -178,6 +178,11 @@ void texcoord(const math::Vector2f& vector) glTexCoord2fv(vector.ptr()); } +void texcoord(const float x, const float y, const float z) +{ + glTexCoord3f(x, y, z); +} + void push() { glPushMatrix(); |