* set the Vector x and y properties using the passed vector * @param v other vector * @returns Reference to this object for method chaining
(v: Vector2d | Vector3d)
| 55 | * @returns Reference to this object for method chaining |
| 56 | */ |
| 57 | setV(v: Vector2d | Vector3d) { |
| 58 | return this.set(v.x, v.y, "z" in v ? v.z : undefined); |
| 59 | } |
| 60 | |
| 61 | /** |
| 62 | * Add the passed vector to this vector |
no test coverage detected