getCorners method
void
getCorners(
- Vector3 a,
- Vector3 b,
- Vector3 c,
- Vector3 d,
- Vector3 e,
- Vector3 f,
- Vector3 g,
- Vector3 h,
Implementation
void getCorners(Vector3 a,Vector3 b,Vector3 c,Vector3 d,Vector3 e,Vector3 f,Vector3 g,Vector3 h) {
final l = lowerBound;
final u = upperBound;
a.setFrom(l);
b.setValues(u.x, l.y, l.z);
c.setValues(u.x, u.y, l.z);
d.setValues(l.x, u.y, u.z);
e.setValues(u.x, l.y, u.z);
f.setValues(l.x, u.y, l.z);
g.setValues(l.x, l.y, u.z);
h.setFrom(u);
}