glTranslatef and lesson 10
Hi
I can''t glTranlatef with 0 as the z value!
If i first glTranlatef with another z value != 0 and then with 0 it works. Why???
Tutorial 10 first does not run on my pc. But now i changed the line
GLfloat ztrans = -zpos;
into
GLfloat ztrans = 0.0001-zpos;
is there another (correct) way to solve this problem without making the calculation of the playerposition a little bit incorrect?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement