Fixed issues reported by clippy
This commit is contained in:
parent
1e234756ef
commit
7b056d9987
|
@ -55,11 +55,11 @@ impl Camera {
|
||||||
let lens_radius = aperture / 2.0;
|
let lens_radius = aperture / 2.0;
|
||||||
|
|
||||||
Self {
|
Self {
|
||||||
lens_radius,
|
origin,
|
||||||
lower_left_corner,
|
|
||||||
horizontal,
|
horizontal,
|
||||||
vertical,
|
vertical,
|
||||||
origin,
|
lower_left_corner,
|
||||||
|
lens_radius,
|
||||||
u,
|
u,
|
||||||
v,
|
v,
|
||||||
w,
|
w,
|
||||||
|
|
|
@ -23,11 +23,11 @@ impl<T: Material + Sized> MovingSphere<T> {
|
||||||
material: T,
|
material: T,
|
||||||
) -> Self {
|
) -> Self {
|
||||||
Self {
|
Self {
|
||||||
|
radius,
|
||||||
center_start,
|
center_start,
|
||||||
center_end,
|
center_end,
|
||||||
time_start,
|
time_start,
|
||||||
time_end,
|
time_end,
|
||||||
radius,
|
|
||||||
material,
|
material,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user