Skip to main content

read_obj_positions

Function read_obj_positions 

Source
pub fn read_obj_positions<P: AsRef<Path>>(path: P) -> Result<Vec<[f32; 3]>>
Available on crate feature obj-reader only.
Expand description

Parse vertex positions from an OBJ file. Returns a vec of [x, y, z] positions.