#98376 - Rajveer - Mon Aug 14, 2006 11:36 pm
hi there, after trying to import quite a large level, i got some unexpected results. so i did some testing with a triangle with:
where test would change with keypresses (test is an integer). i quickly discovered that the polygon would get larger and then all of a sudden become small, continuing like this in a loop (as if a value larger than the "limit" would remap back and make the polygon small again). anybody know whats going on? (if u get me that is)
cheers
Code: |
glVertex3f(-10.000,0.000,-10.000); glVertex3f(-10.000,0.000,test); glVertex3f(10.000,0.000,-10.000); |
where test would change with keypresses (test is an integer). i quickly discovered that the polygon would get larger and then all of a sudden become small, continuing like this in a loop (as if a value larger than the "limit" would remap back and make the polygon small again). anybody know whats going on? (if u get me that is)
cheers