示例#1
0
文件: Chunk.cs 项目: bejita968/Voxe
        public void BuildGeometryBoundingMesh(ref Bounds bounds)
        {
            GeometryBounds = bounds;

            // Build a bounding box for the mini chunk
            CubeBuilderSimple.Build(BBoxVertices, ref bounds, Pools);

            // Make a copy of the bounding box
            BBoxVerticesTransformed.AddRange(BBoxVertices);
        }
示例#2
0
文件: Chunk.cs 项目: bejita968/Voxe
 public void ResetGeometryBoundingMesh()
 {
     GeometryBounds = new Bounds();
     BBoxVertices.Clear();
     BBoxVerticesTransformed.Clear();
 }