MCPcopy
hub / github.com/martinlaxenaire/curtainsjs / min

Method min

src/math/Vec3.js:273–279  ·  view source on GitHub ↗

Apply min values to this vector params: @vector (Vec3): vector representing min values returns: @vector (Vec3): vector with min values applied

(vector)

Source from the content-addressed store, hash-verified

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 /***

Callers 15

handleMovementFunction · 0.45
main.navigation.jsFile · 0.45
setFovMethod · 0.45
constructorMethod · 0.45
_setSizeMethod · 0.45
constructorMethod · 0.45
_updateTexParametersMethod · 0.45
_getSizesMethod · 0.45
handleMovementFunction · 0.45
flowmap.setup.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected