(input, value)
| 2721 | const mesh = getCurrentMesh(); |
| 2722 | if (!mesh) { brushCursorEl.style.display = 'none'; canvas.style.cursor = ''; return; } |
| 2723 | _raycaster.setFromCamera(_canvasNDC(e), getCamera()); |
| 2724 | const hits = _raycaster.intersectObject(mesh); |
| 2725 | const frontHit = getFrontFaceHit(hits, mesh); |
| 2726 | if (!frontHit) { brushCursorEl.style.display = 'none'; canvas.style.cursor = ''; return; } |
| 2727 | canvas.style.cursor = 'none'; |
| 2728 | |
| 2729 | const hitPt = frontHit.point; |
| 2730 | const cam = getCamera(); |
no test coverage detected