applyMatrix3 method

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

Implementation

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

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

  return this;
}