Remove unused imports.
This commit is contained in:
parent
b5bf580b96
commit
fc7b8da17d
|
@ -1,7 +1,5 @@
|
||||||
#![allow(dead_code)]
|
#![allow(dead_code)]
|
||||||
|
|
||||||
use kioku::Arena;
|
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
lerp::lerp_slice,
|
lerp::lerp_slice,
|
||||||
math::{Point, Vector, Xform},
|
math::{Point, Vector, Xform},
|
||||||
|
|
|
@ -253,7 +253,6 @@ impl<'a> Bucket<'a> {
|
||||||
where
|
where
|
||||||
F: Fn((f32, f32, f32)) -> (f32, f32, f32),
|
F: Fn((f32, f32, f32)) -> (f32, f32, f32),
|
||||||
{
|
{
|
||||||
use std::slice;
|
|
||||||
let mut data: Vec<u8> = Vec::with_capacity(
|
let mut data: Vec<u8> = Vec::with_capacity(
|
||||||
std::mem::size_of::<f32>()
|
std::mem::size_of::<f32>()
|
||||||
* (4 * (self.max.0 - self.min.0) * (self.max.1 - self.min.1)) as usize,
|
* (4 * (self.max.0 - self.min.0) * (self.max.1 - self.min.1)) as usize,
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
use crate::{
|
use crate::{
|
||||||
color::Color,
|
|
||||||
lerp::lerp_slice,
|
lerp::lerp_slice,
|
||||||
math::XformFull,
|
math::XformFull,
|
||||||
ray::{LocalRay, Ray},
|
ray::{LocalRay, Ray},
|
||||||
scene::{Assembly, InstanceType, Object},
|
scene::{Assembly, InstanceType, Object},
|
||||||
shading::{SimpleSurfaceShader, SurfaceShader},
|
shading::SurfaceShader,
|
||||||
surface::SurfaceIntersection,
|
surface::SurfaceIntersection,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user