|
|
|
|
|
by pfisch
4925 days ago
|
|
You're also using floats to store the values. This seems silly and looks like it will be slightly slower to calculate. Unless your game is running like garbage this will not matter. You are talking about a dt of something like 1/30 or 1/60 |
|
Also, it's very important to people's perceptions of performance (whoa) to maintain a consistent frame-rate. The variations are much more noticeable than the absolute rate. Finally, on lots of hardware, you can't actually display at 59Hz, say. You'll either be at 60 or 30, and will oscillate between the two in a most annoying way.