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

View File

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