Define render object structure for road surfaces

This commit is contained in:
2026-05-13 01:11:53 +02:00
parent 9a8987519c
commit d78a662a6b

View File

@@ -267,6 +267,10 @@ interface RuntimeTerrainRenderObjects {
distantMaterial: Material;
}
interface RuntimeRoadSurfaceRenderObjects {
mesh: Mesh<BufferGeometry, Material>;
}
function createRuntimeGeometryBrush(brush: RuntimeBoxBrushInstance): Brush {
const faces = Object.fromEntries(
Object.entries(brush.faces).map(([faceId, face]) => [