Exemplo n.º 1
0
  private void doSupportBoundsTest(ASceneObject s) {
    BoundBox b = new BoundBox();
    s.includeInBoundBox(b);

    BoundBox b2 = new BoundBox();
    Utils.includeSupportBounds(s, b2);

    assertEquals(b, s.getBoundBox());
    assertEquals(b, b2);
  }
Exemplo n.º 2
0
 private void doPrimitiveTests(ASceneObject s) {
   if (s.isFinite()) {
     doFinitePrimitiveTests(s);
   }
 }