* Update this vector with the maximum value between this and the passed vector * @param v other vector * @returns Reference to this object for method chaining
(v: Vector2d | ObservableVector2d)
| 247 | * @returns Reference to this object for method chaining |
| 248 | */ |
| 249 | maxV(v: Vector2d | ObservableVector2d) { |
| 250 | return this.set(this.x > v.x ? this.x : v.x, this.y > v.y ? this.y : v.y); |
| 251 | } |
| 252 | |
| 253 | /** |
| 254 | * Floor the vector values |