Module transvoxel::voxel_source[][src]

Expand description

Traits/structs for providing access to a voxel grid

Structs

WorldMappingVoxelSource

Relays calls to the underlying field every time density is queried Maps voxel coordinates to world x,y,z coordinates (using the block context) The most interesting logic lies in converting UVW coordinates relative to one transition side, to XYZ coordinates

Traits

VoxelSource

Wrapper used to retrieve density values for a Block (typically from an underlying ScalarField) This source is accessed through voxel_coordinates structs