Hey guys
Lets say i have a scene with four cubes. How do I say rotate/translate only two of these cubes in OpenGL without changing the others using glrotatef anf gltranslate? I dont wanna define my own homogeneous co-ordinates.
Hey guys
Lets say i have a scene with four cubes. How do I say rotate/translate only two of these cubes in OpenGL without changing the others using glrotatef anf gltranslate? I dont wanna define my own homogeneous co-ordinates.
glPushMatrix(GL_MODELVIEW_MATRIX)
)glPopMatrix(GL_MODELVIEW_MATRIX)
)