Trait ExtMesh

Source
pub trait ExtMesh {
    // Required methods
    fn bounding_box(&self) -> Bounds;
    fn calculate_normals(&self) -> Vec<[f32; 3]>;
}

Required Methods§

Source

fn bounding_box(&self) -> Bounds

Used for aabb calc

Source

fn calculate_normals(&self) -> Vec<[f32; 3]>

Calculate normals for the vertices based on the triangle faces.

Implementors§