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:
parent
d7c49bee25
commit
be7afae362
1 changed files with 5 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue