MatrixUtil class

Constructors

MatrixUtil()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

applyPerspective(List<double> m, double perspective) → void
applyRotateX(List<double> m, double radians) → void
applyRotateY(List<double> m, double radians) → void
applyRotateZ(List<double> m, double radians) → void
applyScaleX(List<double> m, double factor) → void
applyScaleY(List<double> m, double factor) → void
applySkewX(List<double> m, double radians) → void
applySkewY(List<double> m, double radians) → void
applyTranslate2D(List<double> m, double x, double y) → void
applyTranslate3D(List<double> m, double x, double y, double z) → void
decomposeMatrix(List<double> transformMatrix, MatrixDecompositionContext ctx) → void
degreesToRadians(double degrees) double
determinant(List<double> matrix) double
inverse(List<double> matrix) List<double>
multiplyInto(List<double> out, List<double> matrixA, List<double> matrixB) → void
multiplyVectorByMatrix(List<double> v, List<double> m, List<double> result) → void
quaternionToDegreesXYZ(List<double> q, List<double> result) → void
resetIdentityMatrix(List<double> matrix) → void
roundTo3Places(double n) double
transpose(List<double> m) List<double>
v3Combine(List<double> a, List<double> b, double aScale, double bScale) List<double>
v3Cross(List<double> a, List<double> b) List<double>
v3Dot(List<double> a, List<double> b) double
v3Length(List<double> a) double
v3Normalize(List<double> vector, double norm) List<double>

Constants

kEpsilon → const double