From dc8a69103a9ddc0f74403742ba6cb0ba170ecb1d Mon Sep 17 00:00:00 2001 From: Walther Date: Mon, 10 Jun 2024 23:06:42 +0200 Subject: [PATCH] chore: add todos for Sphere HitableTrait::random and ONB --- clovers/src/objects/sphere.rs | 1 - clovers/src/onb.rs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/clovers/src/objects/sphere.rs b/clovers/src/objects/sphere.rs index df75bbe2..3d6e00ba 100644 --- a/clovers/src/objects/sphere.rs +++ b/clovers/src/objects/sphere.rs @@ -160,7 +160,6 @@ impl<'scene> HitableTrait for Sphere<'scene> { } } - // TODO: understand, document // TODO: improve correctness & optimization! /// Utility function from Ray Tracing: The Rest of Your Life. #[must_use] diff --git a/clovers/src/onb.rs b/clovers/src/onb.rs index 55ce5dd1..eaa6ea9c 100644 --- a/clovers/src/onb.rs +++ b/clovers/src/onb.rs @@ -15,7 +15,7 @@ pub struct ONB { pub w: Direction, } -// TODO: understand, explain +// TODO: improve correctness & optimization! impl ONB { /// Builds a new [ONB] structure given a normal vector.