Refactor zone visualization components: clean up unused code and improve readability in ZoneAssets and ZoneCentreTarget.

This commit is contained in:
2025-05-08 15:15:38 +05:30
parent 7000a5942f
commit 962215d574
6 changed files with 40 additions and 36 deletions

View File

@@ -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
);