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