SMat3I
An Int backed 3x3 matrix.
Constructors
Method New(a:Int, b:Int, c:Int, d:Int, e:Int, f:Int, g:Int, h:Int, i:Int)
Creates a new SMat3I from the supplied arguments.
Operators
Method Operator+:SMat3I(z:SMat3I Var)
Adds z to the matrix, returning a new matrix.
Method Operator-:SMat3I(z:SMat3I Var)
Subtracts z from the matrix, returning a new matrix.
Method Operator*:SMat3I(z:SMat3I Var)
Multiplies the matrix by z, the dot product, returning a new matrix.
Methods
Method Apply:SVec2I(v:SVec2I)
Applies the matrix to the vector v, returning a new vector.
Method Apply:SVec3I(v:SVec3I)
Applies the matrix to the vector v, returning a new vector.
Method Apply:SVec4I(v:SVec4I)
Applies the matrix to the vector v, returning a new vector.
Method Adjoint:SMat3I()
Returns the transposition of the cofactor matrix.
Method CompMul:SMat3I(z:SMat3I Var)
Multiplies the matrix by z by its components, return a new matrix.
Method Determinant:Int()
Returns the determinant of the matrix.
Method Invert:SMat3I()
Returns the inverse of the matrix.
Method Rotate:SMat3I(angle:Double)
Rotates the matrix by angle degrees, returning a new matrix.
Method Scale:SMat3I(s:SVec2I)
Scales the matrix by s, returning a new matrix.
Method Scale:SMat3I(s:SVec2D)
Scales the matrix by s, returning a new matrix.
Method Scale:SMat3I(s:SVec2F)
Scales the matrix by s, returning a new matrix.
Method Transpose:SMat3I()
Returns a transposition of the matrix.
Method ToString:String() Override
Returns a String representation of the matrix.
Functions
Function Identity:SMat3I()
Return the 3x3 identity matrix.
Function Rotation:SMat3I(angle:Double)
Retrns a rotation matrix of angle degrees.
Function Scaling:SMat3I(s:SVec2I)
Returns a scaling matrix of s.
Function Scaling:SMat3I(s:SVec2D)
Returns a scaling matrix of s.
Function Scaling:SMat3I(s:SVec2F)
Returns a scaling matrix of s.