rz += t * d.z();
nextCell = new Cell(cell.cx, cell.cy + (d.y() > 0.0 ? 1 : -1), cell.cz);
} else { // tz <= tx && tz <= ty
t = tz;
rx += t * d.x();
ry += t * d.y();
rz = (d.z() > 0.0) ? 0.0 : dz;
nextCell = new Cell(cell.cx, cell.cy, cell.cz + (d.z() > 0.0 ? 1 : -1));
}
cellI = new Interval(cellI.maximum(), cellI.maximum() + t);