MCPcopy Create free account
hub / github.com/DjDeveloperr/deno_desktop / updateViewProjMatrix

Method updateViewProjMatrix

examples/hello_camera.js:143–146  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

141 }
142
143 updateViewProjMatrix() {
144 const viewProjMatrix = this.camera.buildViewProjMatrix();
145 this.cameraUniform.set(viewProjMatrix, 0);
146 }
147
148 async init() {
149 const shaderModule = await this.loadShader("hello_camera");

Callers 2

constructorMethod · 0.95
renderMethod · 0.95

Calls 2

buildViewProjMatrixMethod · 0.80
setMethod · 0.45

Tested by

no test coverage detected