3 ms·
Floats are actually much faster than integers.
by jules 14y ago
Floats are actually much faster than integers.
- pfisch 14y agoThat is my point. You are sacrificing the accuracy of a double for the speed of a float. You are already storing all these values in floats which is inherently inaccurate. Also if the dt becomes very large you have bigger problems than gravity anyway.