applyMatrix3 method

  1. @override
Vector4 applyMatrix3(
  1. Matrix3 m
)
override

Implementation

@override
Vector4 applyMatrix3(Matrix3 m) {
  final x = this.x, y = this.y, z = this.z;
  final e = m.storage;

  this.x = e[0] * x + e[3] * y + e[6] * z;
  this.y = e[1] * x + e[4] * y + e[7] * z;
  this.z = e[2] * x + e[5] * y + e[8] * z;

  return this;
}