Function mat4.decompose

Decomposes the scale, rotation and translation components of this matrix.

bool decompose(
  vec3* scale,
  vec4* rotation,
  vec3* translation
) const;

@param scale The scale. @param rotation The rotation. @param translation The translation.