feat: add zoom label to Batcave energy beam
Enhances the energy beam with a zoom label for better user interaction. Fixes #86
This commit is contained in:
1
app.js
1
app.js
@@ -1340,6 +1340,7 @@ const energyBeamMaterial = new THREE.MeshBasicMaterial({
|
||||
});
|
||||
const energyBeam = new THREE.Mesh(energyBeamGeometry, energyBeamMaterial);
|
||||
energyBeam.position.set(ENERGY_BEAM_X, ENERGY_BEAM_Y + ENERGY_BEAM_HEIGHT / 2, ENERGY_BEAM_Z);
|
||||
energyBeam.userData.zoomLabel = 'Batcave Energy Beam';
|
||||
scene.add(energyBeam);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user