Ejemplo n.º 1
0
 public BoundSphere GetBound()
 {
     if (boundcache == null)
     {
         boundcache          = shape.ToBoundSphere();
         state[0].massOffset = shape.CenterOfMass();
     }
     return(boundcache);
 }