Remove dead/commented code
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user