LWJGL Forum

Programming => OpenGL => Topic started by: @lex on March 22, 2010, 15:15:38

Title: Where can i find FunkMath ?
Post by: @lex on March 22, 2010, 15:15:38
Hello all, I want to do a code for moving the camera. For moving left and right i find that:

Code: [Select]
strafe = FunkMath.crossProduct(FunkMath.subtract(target, origin), upVector);
strafe.crappyNormalize();

But i don't know where i can have this librairies: org.jon.crs.util.FunkMath (where can i find FunkMath?)
Title: Re: Where can i find FunkMath ?
Post by: Kai on March 22, 2010, 19:05:13
For these simple functions, you might be faster to code them yourself (or google and copy-paste) than to find a specific library that implements this.
Of course this only holds if you can alter the code.
If you are free to do what you want, then I would suggest you use Java3D's vecmath library.
Title: Re: Where can i find FunkMath ?
Post by: @lex on March 23, 2010, 16:26:57
Thank you.
I search when i'll have the time :) .