🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Length of the hypotenuse

Started by
1 comment, last by CO 23 years, 11 months ago
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!
Advertisement
have a looksy on the internet theres heaps of examples of quick squareroots eg
http://www.interstice.com/~sdattalo/technical/software/pic/picsqrt.html
Thank's Zedzeek! I've a very big Assembler Book, and now I've a reason to use it! Maybe I could improve my program with this.


Edited by - CO on July 28, 2000 5:43:56 AM

This topic is closed to new replies.

Advertisement