From 672ff1adc64a0ad1847eb095d652b46d8048d683 Mon Sep 17 00:00:00 2001 From: maddiebaka Date: Thu, 15 Jun 2023 14:53:11 -0400 Subject: [PATCH] Remove dead/commented code --- src/main.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/main.rs b/src/main.rs index 4c1b01e..03e8a93 100644 --- a/src/main.rs +++ b/src/main.rs @@ -62,14 +62,6 @@ fn initialize_scene(camera: &mut PerspectiveCamera) { }; camera.elements.push(Element::Plane(back_plane)); -// let bottom_plane = Plane { -// pos: Vec3::new(2500.0, 0.0, 1500.0), -// //color: Coloration::Texture(texture), -// //material: Material::new(Coloration::Texture(dummy_texture.clone()), 2.0, SurfaceType::Diffuse), -// normal: Vec3::new(0.0, 0.2, 1.0), -// }; - //camera.elements.push(Element::Plane(bottom_plane)); - let path = Path::new("texture/granite_base.png"); let texture_image = image::open(&path).unwrap();