Quantcast
Channel: openFrameworks - Latest posts
Viewing all articles
Browse latest Browse all 40524

Resetting ofGetElapsedTimeMilles

$
0
0

just store the current time in a variable whenever the cycle starts and compare that to ofGetElapsedTimeMillis every frame instead of getting the absolute value. you can reset that timer but it's not very good idea since you might want to use it for something else with a different frequency.


Viewing all articles
Browse latest Browse all 40524

Trending Articles