* Convert this vector into isometric coordinate space * @returns Reference to this object for method chaining
()
| 172 | * @returns Reference to this object for method chaining |
| 173 | */ |
| 174 | toIso() { |
| 175 | return this.set(this.x - this.y, (this.x + this.y) * 0.5); |
| 176 | } |
| 177 | |
| 178 | /** |
| 179 | * Convert this vector into 2d coordinate space |