Refactor zone visualization components: clean up unused code and improve readability in ZoneAssets and ZoneCentreTarget.
This commit is contained in:
@@ -549,7 +549,7 @@ const ZoneGroup: React.FC = () => {
|
||||
const midpoint = new THREE.Vector3(
|
||||
(point1.x + point2.x) / 2,
|
||||
CONSTANTS.zoneConfig.height / 2 +
|
||||
(zone.layer - 1) * CONSTANTS.zoneConfig.height,
|
||||
(zone.layer - 1) * CONSTANTS.zoneConfig.height,
|
||||
(point1.z + point2.z) / 2
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user