# Class: mathlib

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

## Hierarchy

    o-+ mathlib
      o-- matrix16
      o-+ staticarray
      | o-- floatarray
      | o-- intarray
      | o-- ubytearray

## Methods:

### Method overview:

- quat2rotdeg
- quat2rotrad
- quatslerp
- 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
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