applyMatrix3Transpose method
Vector3
applyMatrix3Transpose(
- Matrix3 m
Apply a 3x3 Matrix to this vector
Implementation
Vector3 applyMatrix3Transpose(Matrix3 m) {
double x = this.x, y = this.y, z = this.z;
Float32List e = m.storage;
this.x = e[ 0 ] * x + e[ 1 ] * y + e[ 2 ] * z;
this.y = e[ 3 ] * x + e[ 4 ] * y + e[ 5 ] * z;
this.z = e[ 6 ] * x + e[ 7 ] * y + e[ 8 ] * z;
return this;
}