MCPcopy Create free account
hub / github.com/CNCKitchen/stlTexturizer / getControls

Function getControls

js/viewer.js:643–643  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

641 perspCamera.far = sphere.radius * 400;
642 perspCamera.updateProjectionMatrix();
643
644 // Isometric-ish view from front-right-above in Z-up space
645 const dir = new THREE.Vector3(0.6, -1.2, 0.8).normalize();
646 controls.target.copy(sphere.center);

Callers 2

wireEventsFunction · 0.90
setExclusionToolFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected