CheeseLord / plaid

PLAtformer In D
MIT License
0 stars 0 forks source link

Remove all use of floating point? #8

Closed kronmillerg closed 8 years ago

kronmillerg commented 8 years ago

I think we can probably do all of our math using integers (longs), if we choose the units to be tiny enough. This might remove precision problems associated with using floating-point. It'll also probably be faster. That said, we haven't observed precision problems yet, and we're not having trouble with performance, so this is not urgent.

CheeseLord commented 8 years ago

There doesn't seem to be much reason to do this, and dealing with units is a huge hassle if we don't have to.