| 158 | bool VoxelSlice::operator!=(const VoxelSlice &other) const { return !(*this == other); } |
| 159 | |
| 160 | bool VoxelSlice::isEmpty() const |
| 161 | { |
| 162 | for (const auto &bit : this->bits) |
| 163 | { |
| 164 | if (bit) |
| 165 | return false; |
| 166 | } |
| 167 | return true; |
| 168 | } |
| 169 | |
| 170 | } // namespace OpenApoc |