# Class: mathlib

provides some accelerated functions dealing with vector/matrix math or array operations

## Hierarchy

    o-+ mathlib
      o-- matrix4x4
      o-- scalararray
      o-- scalarop
      o-- scalartype
      o-+ staticarray
      | o-- floatarray
      | o-- intarray

## Methods:

### Method overview:

- quat2rotdeg
- quat2rotrad
- quatslerp
- quatslerpq
- quatslerpqt
- rotdeg2quat
- rotrad2quat

quat2rotdeg (float qx,qy,qz,qw)
  returns: (float ax,ay,az)
  converts quaternion to euler angles (degrees)
quat2rotrad (float qx,qy,qz,qw)
  returns: (float ax,ay,az)
  converts quaternion to euler angles (radians)
quatslerp (float fracc,ax,ay,az,aw,bx,by,bz,bw)
  returns: (float qx,qy,qz,qw)
  returns quaternion spherical interpolation bettween a and b
quatslerpq (float fracc,px,py,pz,pw,ax,ay,az,aw,bx,by,bz,bw,nx,ny,nz,nw)
  returns: (float qx,qy,qz,qw)
  returns quaternion spherical quadratic interpolation bettween a and b
quatslerpqt (float fracc,px,py,pz,pw,ax,ay,az,aw,bx,by,bz,bw,nx,ny,nz,nw)
  returns: (float qx,qy,qz,qw)
  returns quaternion spherical quadratic tangent interpolation bettween a and b
rotdeg2quat (float ax,ay,az)
  returns: (float qx,qy,qz,qw)
  converts euler angles (degrees) to quaternion
rotrad2quat (float ax,ay,az)
  returns: (float qx,qy,qz,qw)
  converts euler angles (radians) to quaternion