From f8b15d60ffa6960284742394848b26a4abf575dc Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Sat, 31 Oct 2009 21:55:34 +0000 Subject: [PATCH] fixed call to glNormal3fv() when dReal is a double git-svn-id: svn://anubis/anaglym/trunk@145 99a6e188-d820-4881-8870-2d33a10e2619 --- Engine.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Engine.cc b/Engine.cc index 61eb78c..4fa726a 100644 --- a/Engine.cc +++ b/Engine.cc @@ -800,7 +800,11 @@ void Engine::Object::render() float x_o = (*m_args)[0]; float y_o = (*m_args)[1]; float z_o = (*m_args)[2]; +#ifdef dSINGLE glNormal3fv(rotated_plane_direction); +#else + glNormal3dv(rotated_plane_direction); +#endif for (int x = 0; x < num_sections; x++) { glBegin(GL_QUAD_STRIP);