Integers Instead of Floats in GL?

Started by
0 comments, last by C=64 23 years, 10 months ago
While working on the tools needed to create some same level-data for me to work with, I noticed that my game deals with only a limited range of vertex values, as the levels themselves are rather small. With this in mind, would it make sense to stick with ints instead of floats? Is there any speed advantage to doing this? Almost all my rotations are being handed off to the GL, with myself only handling the bare minimum needed to handle basic collision detection and game physics. At first glance, the 2^32 range seems to give me plenty of breathing room... (a curious) C=64
Advertisement
Well, integers will cause a loss in accuracy and it''s all gonna be converted to floats anyway, so just use floats.

------------------------
Captured Reality.

This topic is closed to new replies.

Advertisement