Author Topic: Could you add some useful math functions?  (Read 1816 times)

Offline kiffa

  • long
  • ***
  • Posts: 199
    • View Profile
Could you add some useful math functions?
« 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
 

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Could you add some useful math functions?
« Reply #1 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.