Mat3 extension

A 3x3 matrix. Authored by {@link http://github.com/schteppe/ schteppe}

on
  • Matrix3

Methods

multiply2(Matrix3 matrix, [Matrix3? target]) → Matrix3

Available on Matrix3, provided by the Mat3 extension

Matrix multiplication @param matrix Matrix to multiply with from left side.
setRotationFromQuaternion(Quaternion q) → Matrix3

Available on Matrix3, provided by the Mat3 extension

Set the matrix from a quaterion
vmult(Vector3 v, Vector3? target) → Vector3

Available on Matrix3, provided by the Mat3 extension

Matrix-Vector multiplication @param v The vector to multiply with @param target Optional, target to save the result in.
vscale(Vector3 vector, [Matrix3? target]) → Matrix3

Available on Matrix3, provided by the Mat3 extension

Scale each column of the matrix