pub trait ViewElement3D {
    // Required methods
    fn get_transform(&self) -> Transform3D;
    fn get_vertices(&self) -> &Vec<Vec3D>;
    fn get_faces(&self) -> &Vec<Face>;
}

Required Methods§

source

fn get_transform(&self) -> Transform3D

This should return the object’s transform

source

fn get_vertices(&self) -> &Vec<Vec3D>

This should return all of the object’s vertices

source

fn get_faces(&self) -> &Vec<Face>

This should return all of the object’s Faces

Implementors§