cargo fmt.

This commit is contained in:
2022-07-28 21:39:00 -07:00
parent 51185e9e84
commit 78f7ca8956
41 changed files with 329 additions and 406 deletions

View File

@@ -1,12 +1,12 @@
use std::f32::consts::PI;
use crate::aabb::AABB;
use crate::hitable::Hit;
use crate::hitable::HitRecord;
use crate::material::Material;
use crate::ray::Ray;
use crate::vec3::dot;
use crate::vec3::Vec3;
use crate::{
aabb::AABB,
hitable::{Hit, HitRecord},
material::Material,
ray::Ray,
vec3::{dot, Vec3},
};
pub struct Sphere<M>
where