ft: ran linter

This commit is contained in:
djaidjai committed 2026-04-29 02:11:41 +02:00
1 parent e88422cb2f
commit 388fbcbb8a
12 files changed
+80 -63

No files matched your search

+5 -5
View File
@@ -17,11 +17,11 @@ pub struct Hit {
impl Hit {
pub fn new(t: f32, p: Vec3, n: Vec3, mat: Arc<dyn Material>, front_face: bool) -> Self {
Self {
t: t,
p: p,
t,
p,
n: if front_face { n } else { -n },
mat: mat,
front_face: front_face,
mat,
front_face,
}
}
@@ -57,6 +57,6 @@ impl Hit {
}
}
}
return closest;
closest
}
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.