Beispiel #1
0
 float ComputeBoundsHeuristic(ref BoundingBox boundingBox)
 {
     return(BoundingBox.ComputeVolume(ref boundingBox));
     //var offset = boundingBox.Max - boundingBox.Min;
     //return (offset.X * offset.Y + offset.Y * offset.Z + offset.Z * offset.X);
 }
Beispiel #2
0
 internal static float ComputeBoundsMetric(ref BoundingBox boundingBox)
 {
     return(BoundingBox.ComputeVolume(ref boundingBox));
     //var offset = boundingBox.Max - boundingBox.Min;
     //return (offset.X * offset.Y + offset.Y * offset.Z + offset.Z * offset.X);
 }