private void translateAtom(Atom a, boolean mx, boolean my, boolean mz, boolean checkBounds, float t) {
		if (a == null)
			return;
		if (mx) {
			if (checkBounds && Math.abs(a.getRx() + t) >= (model.getLength() - a.getSigma()) * 0.5f)
				return;
			a.translate(t, 0, 0);
		}
		if (my) {
			if (checkBounds && Math.abs(a.getRy() + t) >= (model.getWidth() - a.getSigma()) * 0.5f)
				return;
			a.translate(0, t, 0);
		}
		if (mz) {
			if (checkBounds && Math.abs(a.getRz() + t) >= (model.getHeight() - a.getSigma()) * 0.5f)
				return;
			a.translate(0, 0, t);
		}
	}