Textures are now shared between materials

This commit is contained in:
Thomas Forgione
2018-04-18 14:19:16 +02:00
parent fdcc580d14
commit 0b6d39541f
2 changed files with 15 additions and 6 deletions
+2 -6
View File
@@ -11,10 +11,7 @@ use clap::{App, Arg};
use glium::Display;
use glium::glutin;
use glium::glutin::{
EventsLoop,
WindowBuilder,
};
use glium::glutin::{EventsLoop, WindowBuilder};
use glium::glutin::Event;
use glium::glutin::WindowEvent;
@@ -25,8 +22,7 @@ use model_converter::math::bounding_box::BoundingBox3;
use model_converter::math::vector::Vector3;
use model_converter::parser::parse;
use model_converter::renderer::Renderer;
use model_converter::controls::OrbitControls;
use model_converter::controls::FirstPersonControls;
use model_converter::controls::{OrbitControls, FirstPersonControls};
use model_converter::camera::Camera;
fn as_millis(duration: Duration) -> u64 {