MCPcopy
hub / github.com/CesiumGS/cesium / set

Method set

packages/engine/Source/Renderer/createUniform.js:120–126  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

118 }
119
120 set() {
121 const v = this.value;
122 if (!Cartesian2.equals(v, this._value)) {
123 Cartesian2.clone(v, this._value);
124 this._gl.uniform2f(this._location, v.x, v.y);
125 }
126 }
127}
128
129///////////////////////////////////////////////////////////////////////////

Callers

nothing calls this directly

Calls 2

equalsMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected