Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Integers Instead of Floats in GL?

This topic is 6637 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!