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

Function getFrontFaceHit

js/main.js:1907–1915  ·  view source on GitHub ↗
(hits, mesh)

Source from the content-addressed store, hash-verified

1905
1906 document.addEventListener('mouseup', () => {
1907 if (!isPainting) return;
1908 isPainting = false;
1909 getControls().enabled = true;
1910 // Capture the completed stroke synchronously so quick consecutive strokes
1911 // each get their own undo entry — the debounced window-pointerup capture
1912 // would otherwise collapse strokes that finish within UNDO_DEBOUNCE_MS.
1913 _flushUndoCapture();
1914 _commitUndoCapture();
1915 });
1916
1917 document.addEventListener('keydown', (e) => {
1918 if (e.key === 'Escape') {

Callers 9

pickTriangleFunction · 0.85
updateMaskingTriDebugFunction · 0.85
_paintLineBetweenFunction · 0.85
paintAtFunction · 0.85
_updateShiftLinePreviewFunction · 0.85
updatePlaceOnFaceHoverFunction · 0.85
handlePlaceOnFaceClickFunction · 0.85
updateBrushCursorFunction · 0.85
updateBrushHoverFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected