From a227d54705d68ef59c243c0e9f4e2ed742ad60c2 Mon Sep 17 00:00:00 2001 From: Bill Thiede Date: Mon, 23 Dec 2019 15:47:11 -0800 Subject: [PATCH] rtiow: fix unused-imports build errors. --- rtiow/noise_explorer_warp/src/main.rs | 2 -- rtiow/renderer/src/scenes/spheramid.rs | 3 --- 2 files changed, 5 deletions(-) diff --git a/rtiow/noise_explorer_warp/src/main.rs b/rtiow/noise_explorer_warp/src/main.rs index 5ca0d3f..e7a11a9 100644 --- a/rtiow/noise_explorer_warp/src/main.rs +++ b/rtiow/noise_explorer_warp/src/main.rs @@ -1,5 +1,3 @@ -use warp; - fn main() { println!("Hello, world!"); } diff --git a/rtiow/renderer/src/scenes/spheramid.rs b/rtiow/renderer/src/scenes/spheramid.rs index fafd542..4a8cb2d 100644 --- a/rtiow/renderer/src/scenes/spheramid.rs +++ b/rtiow/renderer/src/scenes/spheramid.rs @@ -1,20 +1,17 @@ use crate::camera::Camera; use crate::hitable::Hit; use crate::hitable_list::HitableList; -use crate::kdtree::KDTree; use crate::material::Dielectric; use crate::material::Lambertian; use crate::material::Metal; use crate::moving_sphere::MovingSphere; use crate::rect::XYRect; -use crate::rect::XZRect; use crate::renderer::Opt; use crate::renderer::Scene; use crate::sphere::Sphere; use crate::texture::CheckerTexture; use crate::texture::ConstantTexture; use crate::texture::EnvMap; -use crate::texture::Texture; use crate::vec3::Vec3; // Draws many spheres along each positive axis.