www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: kiffa on March 19, 2014, 07:05:19 am

Title: Could you add some useful math functions?
Post by: kiffa on March 19, 2014, 07:05:19 am
1, To optimize the comparing of the length of vector:
    SimpleVector.length()^2; SimpleVector.distance()^2

2, For animation、camera moving 、physic simulation and so on:
   Interpolation - linear、sin、pow、slerp and so on.

3, For animation、rotation Interpolation:
   Quaternion
 
Title: Re: Could you add some useful math functions?
Post by: EgonOlsen on March 19, 2014, 10:41:04 am
I could...but to be honest, this would be very low on my priority list. If you already have some stuff that does this, i would be happy to include it though.