lookupLinearTransformations static method
- Matrix4 matrix
retrieves the first 3x3 linear transformations
consists of:
- local scaling
- shear
- rotation
- reflection
Implementation
static Matrix3 lookupLinearTransformations(Matrix4 matrix) => Matrix3(
matrix[0], matrix[1], matrix[2], //
matrix[4], matrix[5], matrix[6],
matrix[8], matrix[9], matrix[10],
);