MCPcopy Create free account
hub / github.com/achrefelouafi/GrassSystemThreeJS / refreshMatrix

Function refreshMatrix

src/model.js:253–256  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

251 // Keep the world->model matrix current so the moss pattern stays locked to the
252 // model when it's moved, rotated or scaled.
253 function refreshMatrix() {
254 group.updateMatrixWorld(true);
255 moss.uModelInv.value.copy(group.matrixWorld).invert();
256 }
257
258 function loadURL(url, onError) {
259 loader.load(

Callers 1

setModelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected