-impl<'a> World<'a> {
- pub fn new(display: glium::Display) -> World<'a> {
- let mandelwow_program = Rc::new(mandelwow::program(&display));
- let bounding_box_program = Rc::new(bounding_box::solid_fill_program(&display));
- let shaded_program = Rc::new(shaded_cube::shaded_program(&display));
+impl World {
+ pub fn new(display: &glium::Display) -> World {
+ let mandelwow_program = Rc::new(mandelwow::program(display));
+ let bounding_box_program = Rc::new(bounding_box::solid_fill_program(display));
+ let shaded_program = Rc::new(shaded_cube::shaded_program(display));