Advertisement

Length of the hypotenuse

Started by July 28, 2000 01:44 AM
1 comment, last by CO 24 years, 6 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!
have a looksy on the internet theres heaps of examples of quick squareroots eg
http://www.interstice.com/~sdattalo/technical/software/pic/picsqrt.html
Advertisement
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