diff options
author | Stijn Buys <ingar@osirion.org> | 2010-12-06 21:33:34 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2010-12-06 21:33:34 +0000 |
commit | c50095cab023e91ba2a4fec8dcb290e6d817124b (patch) | |
tree | e9511df876d45faffb428ee7ae342a8aabab4194 /src/render/gl.cc | |
parent | 8c7fa7dd3258e8d3e112fb9780249dd0d0ef008a (diff) |
Re-enabled environment mapping with the skybox as cubemap.
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(); |