v3 #95

Merged
Vishnu merged 39 commits from v3 into main 2025-06-02 13:27:43 +00:00
Showing only changes of commit 879c478753 - Show all commits

View File

@@ -44,7 +44,7 @@ export default function PolygonGenerator({
});
const polygons = turf.polygonize(turf.featureCollection(validLineFeatures));
renderWallGeometry(wallPoints);
if (polygons.features.length > 0) {
@@ -115,6 +115,7 @@ export default function PolygonGenerator({
const quaternion = new THREE.Quaternion();
quaternion.setFromUnitVectors(new THREE.Vector3(1, 0, 0), direction);
wallMesh.quaternion.copy(quaternion);
wallMesh.name = "agv-collider";
groupRef.current?.add(wallMesh);
}