feat: integrate VolumeEditor initialization with 3D scene

- Initialize VolumeEditor module in initScene() override
- Pass scene, camera, controls, and renderer to VolumeEditor.init()
- Enables 3D trigger volume drawing and visualization
- Completes spatial automation trigger volume builder implementation

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
jedarden 2026-04-09 18:31:32 -04:00
parent d7c49bee25
commit be7afae362

View file

@ -1995,6 +1995,11 @@
window.Fresnel.init(scene);
}
// Initialize VolumeEditor with scene, camera, controls, renderer
if (window.VolumeEditor && window.VolumeEditor.init) {
window.VolumeEditor.init(scene, camera, controls, renderer);
}
// Add event listeners for Fresnel interaction
renderer.domElement.addEventListener('mousemove', onFresnelMouseMove);
renderer.domElement.addEventListener('click', onFresnelClick);