Refactoring
This commit is contained in:
parent
35ef85b73e
commit
05ee754935
2 changed files with 3 additions and 3 deletions
|
|
@ -131,7 +131,7 @@ namespace MatterHackers.MatterControl.DesignTools
|
|||
}
|
||||
}
|
||||
|
||||
public static ITraceable CreateTraceData(FaceList faceList, List<Vector3Float> vertexList, int maxRecursion = int.MaxValue)
|
||||
public static ITraceable CreateTraceData(FaceList faceList, List<Vector3Float> vertexList, BvhCreationOptions bvhCreationOptions = BvhCreationOptions.FavorFastTracing)
|
||||
{
|
||||
var allPolys = new List<ITraceable>();
|
||||
|
||||
|
|
@ -140,7 +140,7 @@ namespace MatterHackers.MatterControl.DesignTools
|
|||
allPolys.Add(new TriangleShape(vertexList[face.v0], vertexList[face.v1], vertexList[face.v2], null));
|
||||
}
|
||||
|
||||
return BoundingVolumeHierarchy.CreateNewHierachy(allPolys, maxRecursion);
|
||||
return BoundingVolumeHierarchy.CreateNewHierachy(allPolys, bvhCreationOptions);
|
||||
}
|
||||
|
||||
public Task Create(IProgress<ProgressStatus> progress, CancellationToken cancellationToken)
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 0d19f03006c3716dad9c0b3677ff0c64969dfa85
|
||||
Subproject commit 95008e620632d616736d75932c2fe0a0d78e1621
|
||||
Loading…
Add table
Add a link
Reference in a new issue