* set the Vector x and y properties to 0 * @returns Reference to this object for method chaining
()
| 147 | * @returns Reference to this object for method chaining |
| 148 | */ |
| 149 | setZero() { |
| 150 | return this.set(0, 0, 0); |
| 151 | } |
| 152 | |
| 153 | /** |
| 154 | * set the Vector x and y properties using the passed vector |