protected Vector3m[] calcBounds() {
float off = 0.02f;
float off1 = 1 + off;
Vector3m[] out = new Vector3m[2];
out[0] = new Vector3m(Double.MAX_VALUE, Double.MAX_VALUE, Double.MAX_VALUE);
out[1] = new Vector3m(-Double.MAX_VALUE, -Double.MAX_VALUE, -Double.MAX_VALUE);
for (PointCube point : new PointCube[]{firstPoint, secondPoint}) {
if (point.getPoint().getX() + off1 > out[1].getX()) {
out[1].setX(point.getPoint().getX() + off1);
}