1
0

Fixed issues reported by clippy

This commit is contained in:
Ishan Jain 2021-04-13 01:08:58 +05:30
parent 1e234756ef
commit 7b056d9987
2 changed files with 4 additions and 4 deletions

View File

@ -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,

View File

@ -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,
}
}