|
|
constexpr auto | voxel::canWrite (uint8_t current, WriteMode mode, uint8_t match_id) noexcept -> bool |
|
constexpr auto | voxel::canAdd (uint8_t id, WriteMode mode, uint8_t match_id) noexcept -> bool |
|
auto | voxel::boxBounds (glm::ivec3 a, glm::ivec3 b) noexcept -> EditBounds |
|
auto | voxel::sphereBounds (glm::vec3 center, float radius) noexcept -> EditBounds |
|
auto | voxel::segmentBounds (glm::vec3 a, glm::vec3 b, float radius) noexcept -> EditBounds |
|
auto | voxel::placedBounds (glm::uvec3 piece_brick_dims, const LatticePlacement &placement) noexcept -> EditBounds |
|
auto | voxel::boundsUnion (const EditBounds &a, const EditBounds &b) noexcept -> EditBounds |
|
auto | voxel::occupiedBounds (const Volume &volume) -> std::optional< EditBounds > |
|
auto | voxel::fillBox (Volume &volume, glm::ivec3 a, glm::ivec3 b, const WriteBrush &brush) -> EditResult |
|
auto | voxel::fillSphere (Volume &volume, glm::vec3 center, float radius, const WriteBrush &brush) -> EditResult |
|
auto | voxel::fillCylinder (Volume &volume, glm::vec3 a, glm::vec3 b, float radius, const WriteBrush &brush) -> EditResult |
|
auto | voxel::fillCapsule (Volume &volume, glm::vec3 a, glm::vec3 b, float radius, const WriteBrush &brush) -> EditResult |
| auto | voxel::replaceId (Volume &volume, uint8_t from, uint8_t to) -> EditResult |
| auto | voxel::slice (Volume &volume, glm::vec3 point, glm::vec3 normal, int side) -> EditResult |
| auto | voxel::collectFace (const Volume &volume, glm::ivec3 start, glm::ivec3 normal, size_t limit) -> std::vector< glm::ivec3 > |
| auto | voxel::extrudeFace (Volume &volume, std::span< const glm::ivec3 > face, glm::ivec3 normal, int distance) -> EditResult |
|
auto | voxel::copyRegion (const Volume &volume, glm::ivec3 a, glm::ivec3 b) -> Region |
|
auto | voxel::pasteRegion (Volume &volume, const Region ®ion, glm::ivec3 at, WriteMode mode, uint8_t match_id) -> EditResult |
|
auto | voxel::stampVolume (Volume &target, const Volume &piece, const LatticePlacement &placement, const PaletteRemapTable &remap, WriteMode mode, uint8_t match_id) -> EditResult |
| auto | voxel::carveVolume (Volume &target, const Volume &piece, const LatticePlacement &placement) -> EditResult |
| auto | voxel::fillRoundBox (Volume &volume, glm::ivec3 a, glm::ivec3 b, float radius, const WriteBrush &brush) -> EditResult |
| auto | voxel::fillEllipsoid (Volume &volume, glm::ivec3 a, glm::ivec3 b, const WriteBrush &brush) -> EditResult |
| auto | voxel::clipByPlanes (Volume &volume, std::span< const glm::vec4 > planes) -> EditResult |
| auto | voxel::complementPlane (glm::vec4 plane) noexcept -> glm::vec4 |
| auto | voxel::tileVolume (Volume &target, const Volume &pattern, glm::ivec3 a, glm::ivec3 b, const TileOptions &options, const PaletteRemapTable &remap, WriteMode mode, uint8_t match_id) -> EditResult |
| auto | voxel::floodFill (Volume &volume, glm::ivec3 seed, uint8_t id) -> EditResult |
| auto | voxel::raycast (const Volume &volume, glm::vec3 origin, glm::vec3 direction, float max_t) -> std::optional< VolumeHit > |
| auto | voxel::idHistogram (const Volume &volume) -> std::array< uint32_t, k_palette_size > |
|
auto | voxel::snapOrientation (const glm::mat3 &rotation) noexcept -> LatticeOrientation |
|
auto | voxel::dominantAxis (glm::vec3 normal) noexcept -> glm::ivec3 |
Functions that allow the editing of Voxel Volumes.
- Author
- Xein
- Date
- 25 Sep 2026