diff --git a/src/runtime-three/runtime-host.ts b/src/runtime-three/runtime-host.ts index 1720b33f..24b85b52 100644 --- a/src/runtime-three/runtime-host.ts +++ b/src/runtime-three/runtime-host.ts @@ -239,6 +239,19 @@ interface CachedMaterialTexture { textureSet: StarterMaterialTextureSet; } +interface RuntimeTerrainRenderChunkObjects { + levels: Mesh[]; + activeLevelIndex: number; + worldCenter: Vector3; + diagonal: number; +} + +interface RuntimeTerrainRenderObjects { + group: Group; + chunks: RuntimeTerrainRenderChunkObjects[]; + material: Material; +} + function createRuntimeGeometryBrush(brush: RuntimeBoxBrushInstance): Brush { const faces = Object.fromEntries( Object.entries(brush.faces).map(([faceId, face]) => [