Skip to main content

Crate binary_greedy_meshing

Crate binary_greedy_meshing 

Source

Structs§

Mesher
Quad
Vertex

Enums§

Face

Functions§

compute_opaque_mask
Compute an opacity mask from a voxel buffer and a BTreeSet specifying which voxel values are transparent
compute_transparent_mask
Compute a transparent mask from a voxel buffer and a BTreeSet specifying which voxel values are transparent
delinearize
indices
Compute Mesh indices for a given amount of quads
linearize
Encode 3 coordinates into a linear index within the chunk.
pad_de_linearize
Decode a linear index into 3 coordinates within a padded chunk.
pad_linearize
Encode 3 coordinates into a linear index within a padded chunk.