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;
|
||||
|
||||
Self {
|
||||
lens_radius,
|
||||
lower_left_corner,
|
||||
origin,
|
||||
horizontal,
|
||||
vertical,
|
||||
origin,
|
||||
lower_left_corner,
|
||||
lens_radius,
|
||||
u,
|
||||
v,
|
||||
w,
|
||||
|
|
|
@ -23,11 +23,11 @@ impl<T: Material + Sized> MovingSphere<T> {
|
|||
material: T,
|
||||
) -> Self {
|
||||
Self {
|
||||
radius,
|
||||
center_start,
|
||||
center_end,
|
||||
time_start,
|
||||
time_end,
|
||||
radius,
|
||||
material,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user