Fast spherical -> cartesian coordinate?

Discuss programming topics for the various GPL'd game engine sources.
Post Reply
Downsider
Posts: 621
Joined: Tue Sep 16, 2008 1:35 am

Fast spherical -> cartesian coordinate?

Post by Downsider »

Trying to get up some code for MD3's and using what Wikipedia said to do to convert spherical coordinates to cartesian coordinates is frustratingly slow and results in having around a 10 second wait to load my test model on my PSP :?

Does anybody have a function that, perhaps, uses a lookup table or something?
Post Reply