Implement RayIterator.next()