-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};
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 {