06-19-2005, 10:41 AM
I declared
GLfloat RedSurface[]={1.0f,0.0f,0.0f,1.0f};
to use it with
glMaterialfv(GL_FRONT_AND_BACK, GL_AMBIENT, RedSurface).
How am I suppose to use the variable correctly to get no copmpile error ? :eek:
GLfloat RedSurface[]={1.0f,0.0f,0.0f,1.0f};
to use it with
glMaterialfv(GL_FRONT_AND_BACK, GL_AMBIENT, RedSurface).
How am I suppose to use the variable correctly to get no copmpile error ? :eek: