Esempio n. 1
0
        internal int CountBvhNodes()
        {
            if (ContainedObjects != null)
            {
                return(1);
            }

            return(Left.CountBvhNodes() + Right.CountBvhNodes());
        }
Esempio n. 2
0
 public int Count()
 {
     return(RootBVH.CountBvhNodes());
 }