Trait obj::FromRawVertex[][src]

pub trait FromRawVertex<I>: Sized {
    fn process(
        vertices: Vec<(f32, f32, f32, f32)>,
        normals: Vec<(f32, f32, f32)>,
        tex_coords: Vec<(f32, f32, f32)>,
        polygons: Vec<Polygon>
    ) -> ObjResult<(Vec<Self>, Vec<I>)>; }
Expand description

Conversion from RawObj’s raw data.

Required methods

Build vertex and index buffer from raw object data.

Implementors