* Convert this vector into 2d coordinate space * @returns Reference to this object for method chaining
()
| 210 | * @returns Reference to this object for method chaining |
| 211 | */ |
| 212 | to2d() { |
| 213 | return this.set(this.y + this.x / 2, this.y - this.x / 2, this.z); |
| 214 | } |
| 215 | |
| 216 | /** |
| 217 | * Divide this vector values by the passed value |