#24905 - lordmetroid - Fri Aug 13, 2004 1:33 pm
I'm currently in need of finding out the angle between 2 points...
I notice there is an atan2 function through the bios, do you know how slow it is?
Is there any better way to find out an angle... i've been trying to make up a system using the scalar product aka dot product however as the vectors wouldn't be normalized I would need a divide to utilise it... And I've been trying to figure out a way to not make that divide. However without success.
_________________
*Spam*
Open Solutions for an open mind, www.areta.org
Areta is an organization of coders codeing mostly open source project, but there is alot of sections like GBA dev, Language learning communities, RPG communities, etc...
I notice there is an atan2 function through the bios, do you know how slow it is?
Is there any better way to find out an angle... i've been trying to make up a system using the scalar product aka dot product however as the vectors wouldn't be normalized I would need a divide to utilise it... And I've been trying to figure out a way to not make that divide. However without success.
_________________
*Spam*
Open Solutions for an open mind, www.areta.org
Areta is an organization of coders codeing mostly open source project, but there is alot of sections like GBA dev, Language learning communities, RPG communities, etc...