Advertisement

Problem with tutorial: Framerate independant movement

Started by June 12, 2001 09:06 PM
3 comments, last by Moe 23 years, 8 months ago
I was reading through the new tutorial by Ben Dilts about frame rate independant movement. I came across this line of code:
  
QueryPerformanceCounter(¤tticks);
  
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
Advertisement
Thanks! I figured it was something like that but I wasn''t quite sure.
To prevent the html rendering engine to eat up ampersands you should write them as: & and they show up as: &
i hear Satan invented ampersands

This topic is closed to new replies.

Advertisement