Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
 public void ResetGeometryBoundingMesh()
 {
     GeometryBounds = new Bounds();
     BBoxVertices.Clear();
     BBoxVerticesTransformed.Clear();
 }