MCPcopy
hub / github.com/sparkjsdev/spark / setWorldNormalColor

Function setWorldNormalColor

src/modifiers/normalColor.ts:42–46  ·  view source on GitHub ↗
(splats: SplatMesh)

Source from the content-addressed store, hash-verified

40}
41
42export function setWorldNormalColor(splats: SplatMesh) {
43 splats.enableWorldToView = true;
44 splats.worldModifier = makeNormalColorModifier(splats.context.worldToView);
45 splats.updateGenerator();
46}

Callers

nothing calls this directly

Calls 2

makeNormalColorModifierFunction · 0.85
updateGeneratorMethod · 0.80

Tested by

no test coverage detected