Small cleanup.
This commit is contained in:
parent
16e397b8bf
commit
d8c1c68af5
2 changed files with 2 additions and 14442 deletions
14440
data/noice.obj
14440
data/noice.obj
File diff suppressed because it is too large
Load diff
|
@ -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 {
|
||||
|
|
Reference in a new issue