Mat33 class

3x3 matrix

Constructors

Mat33([double e00 = 1, double e01 = 0, double e02 = 0, double e10 = 0, double e11 = 1, double e12 = 0, double e20 = 0, double e21 = 0, double e22 = 1])
Create a 3x3 matrix

Properties

elements List<double>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(Mat33 a, [Mat33? b]) Mat33
Add a to this matrix
addEqual(Mat33 m) Mat33
Add m to this matrix
addMatrixs(Mat33 a, Mat33 b) Mat33
Add a matrix to b matrix
addOffset(double m, Vec3 v) Mat33
Add offest to this matrix
clone() Mat33
Clone this matrix
copy(Mat33 m) Mat33
copy from m tho this matrix
determinant() double
get the determinate of the matrix
fromArray(List<double> array, [int offset = 0]) Mat33
place this array into this matrix
identity() Mat33
Set this matrixs value as an idenity matrix
invert(Mat33 m) Mat33
Invert matrix m
mulScale(Mat33 m, double sx, double sy, double sz, [bool prepend = false]) Mat33
Scale matrix m by new x,y,z scales and replace this matrix
multiplyMatrices(Mat33 m1, Mat33 m2, [bool transpose = true]) Mat33
Multiple m1 by m2
multiplyScalar(double s) Mat33
Multiple this matrix by s
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
scale(Mat33 m, double s) Mat33
Scale matrix m by s and replace this matrix
scaleEqual(double s) Mat33
Scale this matrix by s
set(double e00, double e01, double e02, double e10, double e11, double e12, double e20, double e21, double e22) Mat33
Set new values for this 3x3 matrix
setQuat(Quat q) Mat33
Set this matrixposition by q
sub(Mat33 a, [Mat33? b]) Mat33
Subtract a from this matrix
subEqual(Mat33 m) Mat33
Subtract M from this matrix
subMatrixs(Mat33 a, Mat33 b) Mat33
Subtract A matrix from B matrix
subOffset(double m, Vec3 v) Mat33
Subtract matrix m with offset v
toArray([List<double>? array, int offset = 0]) List<double>
place this matrix in the supplied array
toString() String
A string representation of this object.
override
transpose([Mat33? m]) Mat33
transpose this matrix by m

Operators

operator ==(Object other) bool
The equality operator.
inherited