A 3-by3 matrix. Stored in column-major order.
Methods
public AddM(m: b2Mat33)
Adds the two 3x3 matricies together and stores the result in this matrix.
Parameters
public Copy(): b2Mat33
Creates a copy of the matrix.
Returns
b2Mat33
Copy of this 3x3 matrix.
public SetIdentity()
Sets the 3x3 matrix to identity.
public SetM(m: b2Mat33)
Sets the 3x3 matrix from a 3x3 matrix.
Parameters
Sets the 3x3 matrix from 3 column vectors.
Parameters
-
Column 1 vector.
-
Column 2 vector.
-
Column 2 vector.
public SetZero()
Sets the 3x3 matrix to all zeros.
public Solve22(out: b2Vec2, bX: number, bY: number): b2Vec2
TODO, has something to do with the determinant
Parameters
-
Solved vector
-
bX: number
-
bY: number
Returns
b2Vec2
Solved vector
public Solve33(out: b2Vec3, bX: number, bY: number, bZ: number): b2Vec3
TODO, has something to do with the determinant
Parameters
-
Solved vector
-
bX: number
-
bY: number
-
bZ: number
Returns
b2Vec3
Solved vector