Пример #1
0
        public MeshData BuildEnclosure(WallGrid grid, IHeightMap heightMap)
        {
            WallGrid invertedGrid = grid.Invert();
            MeshData mesh         = BuildFlatMesh(invertedGrid, heightMap);

            FlipVisibility(mesh);
            return(mesh);
        }
Пример #2
0
        public MeshData BuildFloor(WallGrid grid, IHeightMap heightMap)
        {
            WallGrid invertedGrid = grid.Invert();

            return(BuildFlatMesh(invertedGrid, heightMap));
        }