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); }
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); }