bool Chunk::openToSky(const Coordinate& location) const { Coordinate current = location.addY(1); while (current.y < DEPTH) { if (!isTransparent(current)) return false; ++current.y; } return true; }