|
Problem with tutorial: Framerate independant movement
I was reading through the new tutorial by Ben Dilts about frame rate independant movement. I came across this line of code:
Somethings definitly wrong there. what should be between the brackets?
The correct line must be:
QueryPerformanceCounter(/*amperstand*/currentticks);
I write /*amperstand*/ because somthing weird happend if I put
the amperstand character (Shift + 7) I got exactly the following line:
QueryPerformanceCounter(¤tticks); // WEIRD!!
Hope it help you!
Edited by - ogracian on June 12, 2001 11:01:24 PM
QueryPerformanceCounter(/*amperstand*/currentticks);
I write /*amperstand*/ because somthing weird happend if I put
the amperstand character (Shift + 7) I got exactly the following line:
QueryPerformanceCounter(¤tticks); // WEIRD!!
Hope it help you!
Edited by - ogracian on June 12, 2001 11:01:24 PM
June 13, 2001 10:50 AM
To prevent the html rendering engine to eat up ampersands you should write them as: & and they show up as: &
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement