fixed call to glNormal3fv() when dReal is a double
git-svn-id: svn://anubis/anaglym/trunk@145 99a6e188-d820-4881-8870-2d33a10e2619
This commit is contained in:
parent
8139866c77
commit
f8b15d60ff
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user