SIGN IN SIGN UP

perf(visualization): fix memory leaks, partial GPU uploads, and raycasting optimization

- Dispose render target buffers, arrow geometry/materials, and floor label textures
- Use addUpdateRange for partial color buffer uploads instead of full buffer on hover
- Pre-compute scaled bounding boxes in setScales() and use Map for O(1) path lookups
- Replace alignment cube with Vector3 math, remove duplicate dispose call
- Guard stats rAF loop to skip in production mode

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
C
Christian Hühn committed
d6c1f889a55b9d2256ea38dcfb7f3f60bb57804e
Parent: 278320e
Committed by Christian Hühn <161825497+ChristianHuehn@users.noreply.github.com> on 2/23/2026, 1:56:19 PM