optimize raycasting
All checks were successful
Deploy to GitHub Pages / deploy (push) Has been skipped

This commit is contained in:
Evan Scamehorn
2025-12-16 19:31:58 -06:00
parent b1616c293e
commit e99c7e624e
2 changed files with 54 additions and 15 deletions

View File

@@ -52,6 +52,7 @@ let currentViewMode = 'none'; // 'none', 'zoning', 'approval'
function init() {
setupScene();
// 1. Core Systems
routeManager = new RouteManager(scene, SETTINGS);
uiManager = new UIManager(routeManager);
@@ -381,7 +382,6 @@ function renderCity(data) {
// 7. Material Setup
const mat = new THREE.MeshLambertMaterial({
vertexColors: true, // IMPORTANT
roughness: 0.6,
shadowSide: THREE.BackSide
});