Length of the hypotenuse
length = sqrt(x*x + y*y)
Is there an other (faster) way to calculate the length of the hypotenuse?
I know this is not directly a OpenGL theme, but I need it to optimise my OpenGL program!
have a looksy on the internet theres heaps of examples of quick squareroots eg
http://www.interstice.com/~sdattalo/technical/software/pic/picsqrt.html
http://www.interstice.com/~sdattalo/technical/software/pic/picsqrt.html
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement