transform2 method Null safety
- Vector2 arg
Transforms arg
with this.
Implementation
Vector2 transform2(Vector2 arg) {
final argStorage = arg._v2storage;
final x_ = (_m3storage[0] * argStorage[0]) +
(_m3storage[3] * argStorage[1]) +
_m3storage[6];
final y_ = (_m3storage[1] * argStorage[0]) +
(_m3storage[4] * argStorage[1]) +
_m3storage[7];
argStorage[0] = x_;
argStorage[1] = y_;
return arg;
}