Struct obj::Obj
[−]
[src]
pub struct Obj<MTL, P: GenPolygon> { /* fields omitted */ }
Methods
impl<MTL, P: GenPolygon> Obj<MTL, P>
[src]
fn object_iter(&self) -> Iter<Object<MTL, P>>
fn position(&self) -> &[[f32; 3]]
fn texture(&self) -> &[[f32; 2]]
fn normal(&self) -> &[[f32; 3]]
fn materials(&self) -> &[String]
fn map<T, F>(self, f: F) -> Obj<T, P> where
F: FnMut(Group<MTL, P>) -> Group<T, P>,
F: FnMut(Group<MTL, P>) -> Group<T, P>,