* Multiply this vector values by the given scalar * @param x x scale value * @param [y] y scale value, if not passed, it uses the x value * @returns Reference to this object for method chaining
(x: number, y = x)
| 164 | * @returns Reference to this object for method chaining |
| 165 | */ |
| 166 | scale(x: number, y = x) { |
| 167 | return this.set(this.x * x, this.y * y); |
| 168 | } |
| 169 | |
| 170 | /** |
| 171 | * Convert this vector into isometric coordinate space |