Vector2 applyMatrix3(Matrix3 m) { var x = this.x; var y = this.y; var e = m.elements; this.x = e[0] * x + e[3] * y + e[6]; this.y = e[1] * x + e[4] * y + e[7]; return this; }