Toast Engine
Loading...
Searching...
No Matches
voxel::Connectivity Struct Reference

Labels are deterministic with pieces in brick order and components by first appearance. More...

#include <connectivity.hpp>

Public Member Functions

auto componentOf (glm::ivec3 voxel) const -> uint32_t
auto voxelCount (uint32_t component) const -> uint32_t

Public Attributes

std::vector< BrickPiece > pieces
uint32_t component_count = 0

Detailed Description

Labels are deterministic with pieces in brick order and components by first appearance.


The documentation for this struct was generated from the following file: