gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > RotateY not using floats?

#117028 - NeX - Wed Jan 31, 2007 9:50 pm

It doesn't look like it - when rotated very slowly, things jump from position to position - almost like things are being internally processed as integers despite me entering floats...

#117054 - Lick - Wed Jan 31, 2007 11:37 pm

What kind of rotation are you speaking of (3D, 2D)? In what code (yours or some example)? In general, floats should work as expected.

(Although it's recommended to use fixed point math if you have A LOT of calculations, because the DS does not have a FPU. But that is a different issue.)