public static function compare(m1:Matrix3D, m2:Matrix3D):Boolean
Returns a boolean value representing whether there is any significant difference between the two given 3d matrices.
Parameters
Returns
public static function getForward(m:Matrix3D, v:Vector3D = null):Vector3D
Returns a normalised Vector3D
object representing the forward vector of the given matrix.
Parameters
| m:Matrix3D — The Matrix3D object to use to get the forward vector
|
|
| v:Vector3D (default = null ) — [optional] A vector holder to prevent make new Vector3D instance if already exists. Default is null.
|
Returns
| Vector3D — The forward vector
|
public static function getRight(m:Matrix3D, v:Vector3D = null):Vector3D
Returns a normalised Vector3D
object representing the right vector of the given matrix.
Parameters
| m:Matrix3D — The Matrix3D object to use to get the right vector
|
|
| v:Vector3D (default = null ) — [optional] A vector holder to prevent make new Vector3D instance if already exists. Default is null.
|
Returns
| Vector3D — The right vector
|
public static function getUp(m:Matrix3D, v:Vector3D = null):Vector3D
Returns a normalised Vector3D
object representing the up vector of the given matrix.
Parameters
| m:Matrix3D — The Matrix3D object to use to get the up vector
|
|
| v:Vector3D (default = null ) — [optional] A vector holder to prevent make new Vector3D instance if already exists. Default is null.
|
Returns
public static function quaternion2matrix(quarternion:Quaternion):Matrix3D
Fills the 3d matrix object with values representing the transformation made by the given quaternion.
Parameters
| quarternion:Quaternion — The quarterion object to convert.
|
Returns