X-Git-Url: https://codewiz.org/gitweb?p=mandelwow.git;a=blobdiff_plain;f=main.rs;h=c673e020c0108e9b0670063bf5b488eded231190;hp=d4e38b79198cc34d079a0e2622232da8815263f3;hb=70c8f16193bd0b77a59cddc76c700b9d7f43b37c;hpb=cb9417c29f520264b1d6395216e2dcf624eebd04 diff --git a/main.rs b/main.rs index d4e38b7..c673e02 100644 --- a/main.rs +++ b/main.rs @@ -98,7 +98,7 @@ fn main() { zmax: 1.1, }; let mandelwow_bbox = bounding_box::BoundingBox::new(&display, &bounds, &bounding_box_program); - let shaded_cube = ShadedCube::new(&display, &Cube::default(), &shaded_program); + let shaded_cube = ShadedCube::new(&display, &shaded_program); const SEA_XSIZE: usize = 24; const SEA_ZSIZE: usize = 20; @@ -226,8 +226,8 @@ fn main() { .with_depth_buffer(24) .rebuild_glium(&display).unwrap(); } else { - //glutin::WindowBuilder::new() - // .rebuild_glium(&display).unwrap(); + glutin::WindowBuilder::new() + .rebuild_glium(&display).unwrap(); } }, ev => camera.process_input(&ev),