Advertisement

glTranslatef and lesson 10

Started by January 04, 2001 10:53 AM
0 comments, last by nika 23 years, 10 months ago
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?
oh sorry
i first got a error message that my topic was not posted.

This topic is closed to new replies.

Advertisement