LWJGL
June 19, 2013, 00:02:03 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL 2.9.0 released!
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: Where can i find FunkMath ?  (Read 1112 times)
@lex
Newbie
*
Posts: 5


« on: March 22, 2010, 08:15:38 »

Hello all, I want to do a code for moving the camera. For moving left and right i find that:

Code:
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?)
Logged
Kai
Talks Too Much
***
Posts: 131


« Reply #1 on: March 22, 2010, 12: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.
Logged
@lex
Newbie
*
Posts: 5


« Reply #2 on: March 23, 2010, 09:26:57 »

Thank you.
I search when i'll have the time Smiley .
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!