Use a default white texture, srgb clear color

This commit is contained in:
2018-04-24 11:57:25 +02:00
parent 9349c45431
commit 066ec023f2
3 changed files with 32 additions and 27 deletions
+3 -1
View File
@@ -67,7 +67,9 @@ fn main() {
for input in matches.values_of("input").unwrap() {
match parse(&input) {
Ok(model) => {
bbox = bbox.union(&model.bounding_box());
if model.vertices.len() > 0 {
bbox = bbox.union(&model.bounding_box());
}
models.push((input.to_owned(), model))
},
Err(e) => {