9 Commits

Author SHA1 Message Date
wass08
d833245fbf esc key cancel tool 2026-02-17 12:29:00 +09:00
wass08
13070a5630 ceiling holes 2026-02-16 08:59:28 +09:00
wass08
be7e86975e radio & sfx 2026-02-12 08:57:37 +09:00
wass08
9a838ae3c4 fix build 2026-02-09 16:14:39 +09:00
wass08
bfe685b011 fix polygon editor edition + events propagation 2026-02-09 13:38:12 +09:00
wass08
81f132611e remove custom raycasters 2026-02-09 12:23:38 +09:00
Aymeric Rabot
31a560e2c5 Use raycast cursor & level Y fallback
Ceiling and slab tools: switch cursor tracking to per-frame raycasting onto a level plane (useFrame) instead of relying on grid:move events, and memoize Raycaster/Plane to reduce allocations. Update line geometry updates to be performed imperatively from the frame loop, ensure previews only trigger React updates when the snapped display position changes, and keep cursor/preview snapping consistent with user-visible pointer. Add sceneRegistry-based fallback to resolve a level's Y position (used by Grid, CeilingTool and SlabTool) when the level mesh isn't registered yet, computing Y from level node data and viewer levelMode. Misc: import/add necessary three.js types and small refactors to visibility/reset logic.
2026-02-07 11:58:17 -05:00
wass08
150a0a4ca1 ceiling rendering + tools fix 2026-01-27 09:36:11 +09:00
wass08
e3e3602d91 ceiling 2026-01-27 09:25:40 +09:00