projects
/
mandelwow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Run 'cargo fix --edition'
[mandelwow.git]
/
main.rs
diff --git
a/main.rs
b/main.rs
index 11ded826284cc340aa462e7739f9b25eb3c56195..426bfb12ee398d4dce19ab227ddcc2810ae8c0dd 100644
(file)
--- a/
main.rs
+++ b/
main.rs
@@
-12,7
+12,7
@@
use glium::glutin::WindowEvent::KeyboardInput;
use glium::Surface;
use mandelwow_lib::*;
use std::f32::consts::PI;
use glium::Surface;
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};
#[cfg(target_os = "emscripten")]
use std::os::raw::{c_int, c_void};
@@
-120,8
+120,8
@@
fn main() {
let mut timer = Timer::new();
let mut camera = support::camera::CameraState::new();
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 {
// These are the bounds of the 3D Mandelwow section which we render in 3-space.
let bounds = Cube {