setObb3 method
Set the AABB to enclose a obb
.
Implementation
void setObb3(Obb3 obb) {
final Vector3 corner = new Vector3.zero();
obb.copyCorner(0, corner);
_min.setFrom(corner);
_max.setFrom(corner);
obb.copyCorner(1, corner);
hullPoint(corner);
obb.copyCorner(2, corner);
hullPoint(corner);
obb.copyCorner(3, corner);
hullPoint(corner);
obb.copyCorner(4, corner);
hullPoint(corner);
obb.copyCorner(5, corner);
hullPoint(corner);
obb.copyCorner(6, corner);
hullPoint(corner);
obb.copyCorner(7, corner);
hullPoint(corner);
}