[][src]Trait gaiku_common::Baker

pub trait Baker {
    fn bake(chunk: &Chunk) -> Option<Mesh>;

    fn index(
        vertices: &mut HashMap<String, (Point3<f32>, usize)>,
        vertex: Point3<f32>
    ) -> usize { ... } }

Required methods

fn bake(chunk: &Chunk) -> Option<Mesh>

Loading content...

Provided methods

fn index(
    vertices: &mut HashMap<String, (Point3<f32>, usize)>,
    vertex: Point3<f32>
) -> usize

Loading content...

Implementors

Loading content...