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

Method set

src/math/Vec3.js:82–88  ·  view source on GitHub ↗

Sets the vector from values params: @x (float): X component of our vector @y (float): Y component of our vector @z (float): Z component of our vector returns: @this (Vec2): this vector after being set

(x, y, z)

Source from the content-addressed store, hash-verified

80 @this (Vec2): this vector after being set
81 ***/
82 set(x, y, z) {
83 this._x = x;
84 this._y = y;
85 this._z = z;
86
87 return this;
88 }
89
90
91 /***

Callers 15

onPlaneClickFunction · 0.95
handleMovementFunction · 0.45
setPositionMethod · 0.45
_getSizesMethod · 0.45
setScaleMethod · 0.45
_updateTextureMatrixMethod · 0.45
_documentToWorldSpaceMethod · 0.45
setScaleMethod · 0.45
_setTranslationMethod · 0.45
_getWorldCoordsMethod · 0.45
mouseToPlaneCoordsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected