MCPcopy
hub / github.com/processing/p5.js / resetMatrix

Method resetMatrix

src/core/p5.Renderer3D.js:1352–1358  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1350 }
1351
1352 resetMatrix() {
1353 this.states.setValue("uModelMatrix", this.states.uModelMatrix.clone());
1354 this.states.uModelMatrix.reset();
1355 this.states.setValue("uViewMatrix", this.states.uViewMatrix.clone());
1356 this.states.uViewMatrix.set(this.states.curCamera.cameraMatrix);
1357 return this;
1358 }
1359
1360 //////////////////////////////////////////////
1361 // SHADER

Callers 13

filterMethod · 0.95
_copyHelperMethod · 0.45
pixelsFunction · 0.45
_renderPassMethod · 0.45
applyFilterMethod · 0.45
backgroundMethod · 0.45
structureFunction · 0.45
transformFunction · 0.45
resetMethod · 0.45
beginMethod · 0.45
updatePixelsMethod · 0.45

Calls 4

setValueMethod · 0.45
cloneMethod · 0.45
resetMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected