Пример #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);
  }
Пример #2
0
 private void doPrimitiveTests(ASceneObject s) {
   if (s.isFinite()) {
     doFinitePrimitiveTests(s);
   }
 }