From 847f84e1e3797277407bc34f5acc51b801b2bf29 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Thu, 18 Nov 2010 13:50:47 +0000 Subject: 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. --- src/render/gl.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/render/gl.h') 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); -- cgit v1.2.3