medfall

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit f197f76893893f14e527553b0601c06ca88ee0ff
parent bc599c05212eb701f191e1419c03c1408331674c
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Sat Aug 20 20:59:35 +0100

NEAR/FAR again

Diffstat:
skybox.cc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/skybox.cc b/skybox.cc @@ -74,7 +74,7 @@ void skybox_init( Skybox * skybox ) { glBindVertexArray( 0 ); } -static const glm::mat4 P( glm::perspective( glm::radians( 120.0f ), ( float ) WIDTH / ( float ) HEIGHT, NEAR, FAR ) ); +static const glm::mat4 P( glm::perspective( glm::radians( 120.0f ), ( float ) WIDTH / ( float ) HEIGHT, NEAR_PLANE_DEPTH, FAR_PLANE_DEPTH ) ); void skybox_render( const Skybox * skybox, const glm::vec3 & angles ) { glDisable( GL_CULL_FACE );