On Jan 14, 2007, at 6:14 PM, Daniel Shiffman wrote:
Hello!
New to this list. I'm in the process of porting several PC
application to Mac (Carbon / C++ / OpenGL). The one last piece I
can't seem to solve is how to retrieve the milliseconds() from the
system clock. I have an animation that needs to enforce a certain
framerate. I'm using usleep() to wait between frames, but I need the
milliseconds to determine how long to wait!
Any help would be greatly appreciated.
FWIW, this isn't how Carbon applications generally control animation.
They use Carbon event timers set to fire at specific intervals instead.
Larry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden