Apply min values to this vector params: @vector (Vec3): vector representing min values returns: @vector (Vec3): vector with min values applied
(vector)
| 271 | @vector (Vec3): vector with min values applied |
| 272 | ***/ |
| 273 | min(vector) { |
| 274 | this._x = Math.min(this._x, vector.x); |
| 275 | this._y = Math.min(this._y, vector.y); |
| 276 | this._z = Math.min(this._z, vector.z); |
| 277 | |
| 278 | return this; |
| 279 | } |
| 280 | |
| 281 | |
| 282 | /*** |
no outgoing calls
no test coverage detected