diff options
author | Stijn Buys <ingar@osirion.org> | 2010-11-18 13:50:47 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2010-11-18 13:50:47 +0000 |
commit | 847f84e1e3797277407bc34f5acc51b801b2bf29 (patch) | |
tree | 781edbf9e6663a4b6a8cfbaf173f43cfd83db62b /src/render/gl.h | |
parent | 445f4a201f205763a2241d87ef81a99b5dd55d26 (diff) |
Unified radiant angles conversion into a single math::Axis.assign() method, corrected transformation order.
Removed unnecessary model::LIGHTSCALE constant, light and flare sizes are rescaled according to the global model::SCALE.
Added gl::depthfunc, enabled GL_LEQUAL while drawing lights and flares.
Diffstat (limited to 'src/render/gl.h')
-rw-r--r-- | src/render/gl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/render/gl.h b/src/render/gl.h index e6d6f92..fc2237e 100644 --- a/src/render/gl.h +++ b/src/render/gl.h @@ -109,6 +109,9 @@ void frontface(GLenum mode); /// glDepthMask void depthmask(GLenum mode); +/// glDepthFunc +void depthfunc(GLenum func); + /// glBlendFunc void blendfunc(GLenum sfactor, GLenum dfactor); |