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

Function getCamera

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

Source from the content-addressed store, hash-verified

639 perspCamera.aspect = aspect;
640 perspCamera.near = sphere.radius * 0.01;
641 perspCamera.far = sphere.radius * 400;
642 perspCamera.updateProjectionMatrix();
643
644 // Isometric-ish view from front-right-above in Z-up space

Callers 10

pickTriangleFunction · 0.90
updateMaskingTriDebugFunction · 0.90
_viewDirForFunction · 0.90
_paintLineBetweenFunction · 0.90
paintAtFunction · 0.90
_updateShiftLinePreviewFunction · 0.90
updatePlaceOnFaceHoverFunction · 0.90
handlePlaceOnFaceClickFunction · 0.90
updateBrushCursorFunction · 0.90
updateBrushHoverFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected