Exemple #1
0
 /**
  * Recompute world space bounding box of this instance.
  */
 public void updateBounds()
 {
     bounds = geometry.getWorldBounds(o2w.getData(0));
     for (int i = 1; i < o2w.numSegments(); i++)
     {
         bounds.include(geometry.getWorldBounds(o2w.getData(i)));
     }
 }
Exemple #2
0
 /**
  * Recompute world space bounding box of this instance.
  */
 public void updateBounds()
 {
     bounds = geometry.getWorldBounds(o2w);
 }