예제 #1
0
 public bool intersectsAABB(AxisAlignedBoundingBox test)
 {
     return(intersectsAABBWithAddonVector(test, new Vector3()));
 }
예제 #2
0
 public AxisAlignedBoundingBox expansion(AxisAlignedBoundingBox expansionBox)
 {
     return(new AxisAlignedBoundingBox(loc - (expansionBox.middle() - expansionBox.loc), max() + (expansionBox.max() - expansionBox.middle())));
 }