|
|
constexpr auto | voxel::localIndex (const uint32_t x, const uint32_t y, const uint32_t z) noexcept -> uint32_t |
|
constexpr auto | voxel::localFromIndex (uint32_t index) noexcept -> BrickCoord |
|
constexpr auto | voxel::sliceBit (uint32_t x, uint32_t y) noexcept -> uint32_t |
|
constexpr auto | voxel::isSolid (const BrickOccupancy &brick, uint32_t x, uint32_t y, uint32_t z) noexcept -> bool |
|
constexpr auto | voxel::isSolid (const BrickOccupancy &brick, uint32_t local_index) noexcept -> bool |
|
constexpr void | voxel::setSolid (BrickOccupancy &brick, uint32_t x, uint32_t y, uint32_t z, bool solid) noexcept |
|
constexpr void | voxel::setSolid (BrickOccupancy &brick, uint32_t local_index, bool solid) noexcept |
|
constexpr auto | voxel::isEmpty (const BrickOccupancy &brick) noexcept -> bool |
|
constexpr auto | voxel::isFull (const BrickOccupancy &brick) noexcept -> bool |
|
constexpr auto | voxel::popCount (const BrickOccupancy &brick) noexcept -> uint32_t |
|
constexpr auto | voxel::occupiedExtent (const BrickOccupancy &brick) noexcept -> BrickExtent |
| | Brick must not be empty.
|
|
constexpr auto | voxel::operator& (const BrickOccupancy &a, const BrickOccupancy &b) noexcept -> BrickOccupancy |
|
constexpr auto | voxel::operator| (const BrickOccupancy &a, const BrickOccupancy &b) noexcept -> BrickOccupancy |
|
constexpr auto | voxel::operator~ (const BrickOccupancy &a) noexcept -> BrickOccupancy |
|
constexpr auto | voxel::neighboursNegX (const BrickOccupancy &brick, const BrickOccupancy *adjacent=nullptr) noexcept -> BrickOccupancy |
|
constexpr auto | voxel::neighboursPosX (const BrickOccupancy &brick, const BrickOccupancy *adjacent=nullptr) noexcept -> BrickOccupancy |
|
constexpr auto | voxel::neighboursNegY (const BrickOccupancy &brick, const BrickOccupancy *adjacent=nullptr) noexcept -> BrickOccupancy |
|
constexpr auto | voxel::neighboursPosY (const BrickOccupancy &brick, const BrickOccupancy *adjacent=nullptr) noexcept -> BrickOccupancy |
|
constexpr auto | voxel::neighboursNegZ (const BrickOccupancy &brick, const BrickOccupancy *adjacent=nullptr) noexcept -> BrickOccupancy |
|
constexpr auto | voxel::neighboursPosZ (const BrickOccupancy &brick, const BrickOccupancy *adjacent=nullptr) noexcept -> BrickOccupancy |
|
constexpr auto | voxel::interior (const BrickOccupancy &brick, const BrickNeighbourhood &neighbours={}) noexcept -> BrickOccupancy |
|
constexpr auto | voxel::surfaceShell (const BrickOccupancy &brick, const BrickNeighbourhood &neighbours={}) noexcept -> BrickOccupancy |
|
constexpr auto | voxel::dilate (const BrickOccupancy &brick) noexcept -> BrickOccupancy |
|
constexpr auto | voxel::faceNegX (const BrickOccupancy &brick) noexcept -> uint64_t |
| | x == 0 plane with bit z * 8 + y
|
|
constexpr auto | voxel::facePosX (const BrickOccupancy &brick) noexcept -> uint64_t |
| | x == 7 plane with bit z * 8 + y
|
|
constexpr auto | voxel::faceNegY (const BrickOccupancy &brick) noexcept -> uint64_t |
| | y == 0 plane with bit z * 8 + x
|
|
constexpr auto | voxel::facePosY (const BrickOccupancy &brick) noexcept -> uint64_t |
| | y == 7 plane with bit z * 8 + x
|
|
constexpr auto | voxel::faceNegZ (const BrickOccupancy &brick) noexcept -> uint64_t |
| | z == 0 plane with bit y * 8 + x
|
|
constexpr auto | voxel::facePosZ (const BrickOccupancy &brick) noexcept -> uint64_t |
| | z == 7 plane with bit y * 8 + x
|
|
constexpr auto | voxel::computeFaces (const BrickOccupancy &brick) noexcept -> BrickFaces |
|
constexpr auto | voxel::facesConnect (uint64_t face_a, uint64_t face_b) noexcept -> bool |