X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=main.rs;h=1ad2eea7d77b543a34cfd1cbb7b258e03bf2da55;hb=53cdc6ff212fc7aafdc591badc589ab9220d1606;hp=11ded826284cc340aa462e7739f9b25eb3c56195;hpb=70e7644b69b79a7d20db51fd9d242524209dff88;p=mandelwow.git diff --git a/main.rs b/main.rs index 11ded82..1ad2eea 100644 --- a/main.rs +++ b/main.rs @@ -1,18 +1,11 @@ -extern crate mandelwow_lib; - -extern crate cgmath; -#[macro_use(uniform)] -extern crate glium; -extern crate glutin; - use cgmath::conv::array4x4; use cgmath::{Euler, Matrix4, Rad, SquareMatrix, Vector3, Vector4, Zero}; use glium::glutin::VirtualKeyCode; use glium::glutin::WindowEvent::KeyboardInput; -use glium::Surface; +use glium::{Surface, uniform}; use mandelwow_lib::*; use std::f32::consts::PI; -use timer::Timer; +use crate::timer::Timer; #[cfg(target_os = "emscripten")] use std::os::raw::{c_int, c_void}; @@ -120,8 +113,8 @@ fn main() { let mut timer = Timer::new(); let mut camera = support::camera::CameraState::new(); - let mut bounding_box_enabled = true; - let mut fullscreen = true; + let bounding_box_enabled = true; + let _fullscreen = true; // These are the bounds of the 3D Mandelwow section which we render in 3-space. let bounds = Cube {