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

How to control the speed of a rotation

$
0
0

@Cyril even when you take out the reference to ofGetElapsedTimef(), so using something like this?

float rotationSpeed = rotationSpeedControl * rotationSpeedMax;
rotation += rotationSpeed;

That should give a constant rotationSpeed value, assuming the control doesn't change...


Viewing all articles
Browse latest Browse all 40524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>