visible_block_faces

Function visible_block_faces 

Source
pub fn visible_block_faces<T, S>(
    voxels: &[T],
    voxels_shape: &S,
    min: [u32; 3],
    max: [u32; 3],
    faces: &[OrientedBlockFace; 6],
    output: &mut UnitQuadBuffer,
)
where T: Voxel, S: Shape<3, Coord = u32>,
Expand description

A fast and simple meshing algorithm that produces a single quad for every visible face of a block.

This is faster than greedy_quads but it produces many more quads.