Small cleanup.

This commit is contained in:
Alex Huddleston 2017-11-18 15:33:44 -06:00
parent 16e397b8bf
commit d8c1c68af5
2 changed files with 2 additions and 14442 deletions

File diff suppressed because it is too large Load diff

View file

@ -203,7 +203,7 @@ fn save(filename: &Path, positions: Vec<Vector3<f32>>, faces: Vec<Vec<IndexTuple
fn main() {
let path = Path::new("data/test.obj");
let path = Path::new("data/teapot.obj");
let maybe_obj: Result<Obj<SimplePolygon>> = Obj::load(&path);
if let Ok(obj) = maybe_obj {
@ -232,7 +232,7 @@ fn main() {
layers as usize,
);
save(Path::new("data/noice.obj"), output_positions, output_faces);
save(Path::new("build/noice.obj"), output_positions, output_faces);
}
/*
else if Err(error) = maybe_obj {