* Multiply this vector values by the given scalar * @param x x component * @param [y] y component * @param [z] z component * @returns Reference to this object for method chaining
(x: number, y = x, z = 1)
| 84 | * @returns Reference to this object for method chaining |
| 85 | */ |
| 86 | scale(x: number, y = x, z = 1) { |
| 87 | return this.set(this.x * x, this.y * y, this.z * z); |
| 88 | } |
| 89 | |
| 90 | /** |
| 91 | * Multiply this vector values by the passed vector |