Beispiel #1
0
        // volume+edge lengths
        public static float Size(ref DbvtAabbMm a)
        {
            IndexedVector3 edges = a.Lengths();

            return(edges.X * edges.Y * edges.Z +
                   edges.X + edges.Y + edges.Z);
        }
 // volume+edge lengths
 public static float Size(ref DbvtAabbMm a)
 {
     IndexedVector3 edges = a.Lengths();
     return (edges.X * edges.Y * edges.Z +
         edges.X + edges.Y + edges.Z);
 }