MCPcopy Create free account
hub / github.com/OpenApoc/OpenApoc / isEmpty

Method isEmpty

library/voxel.cpp:160–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158bool VoxelSlice::operator!=(const VoxelSlice &other) const { return !(*this == other); }
159
160bool 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

Callers 1

calculateCentreMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected