Readonly
a1Readonly
a2Readonly
a3Readonly
b1Readonly
b2Readonly
b3Readonly
c1Readonly
c2Readonly
c3Static
identityReturns true iff this = other ± fuzz
Returns a new Mat33
where each entry is the output of the function
mapping
.
new Mat33(
1, 2, 3,
4, 5, 6,
7, 8, 9,
).mapEntries(component => component - 1);
// → ⎡ 0, 1, 2 ⎤
// ⎢ 3, 4, 5 ⎥
// ⎣ 6, 7, 8 ⎦
result[0] = top left element
result[1] = element at row zero, column 1
...
Applies this as an affine transformation to the given vector.
Returns a transformed version of other
.
Unlike transformVec3, this does translate the given vector.
Static
fromCSSMatrixStatic
ofStatic
scaling2DStatic
translationStatic
zGenerated using TypeDoc
Represents a three dimensional linear transformation or a two-dimensional affine transformation. (An affine transformation scales/rotates/shears and translates while a linear transformation just scales/rotates/shears).