pub fn new<T>(path: T) -> Model
    where
        T: Into<PathBuf>,
    {
        let mut model = Model::default();
        model.load_model(path);
        model
    }
/// constructor, expects a filepath to a 3D model.
constructor, expects a filepath to a 3D model.
constructor expects a filepath to a 3D model .
pub fn new<T>(path: T) -> Model
    where
        T: Into<PathBuf>,
    {
        let mut model = Model::default();
        model.load_model(path);
        model
    }
pub fn new < T > ( path : T ) -> Model where T : Into < PathBuf > , { let mut model = Model :: default ( ) ; model . load_model ( path ) ; model }
constructor, expects a filepath to a 3D model.
constructor expects a filepath to a 3D model .
path
T
path
T