Is in opengl any function able tell me position of point[0,0,0] after using this code:
glPushMatrix();
glRotatef(1, 0, 1, 0);
compare to point[0,0,0] before transformation or do I just have to calculate it?
for example if I got transformation
glTranslatef(1, 0, 0);
I want to get[1,0,0]