* 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 | ObservableVector3d)
| 156 | * @returns Reference to this object for method chaining |
| 157 | */ |
| 158 | setV(v: Vector2d | Vector3d | ObservableVector3d) { |
| 159 | return this.set(v.x, v.y, "z" in v ? v.z : undefined); |
| 160 | } |
| 161 | |
| 162 | /** |
| 163 | * Add the passed vector to this vector |