Skip to content

Commit

Permalink
chore: add todos for Sphere HitableTrait::random and ONB
Browse files Browse the repository at this point in the history
  • Loading branch information
Walther committed Jun 10, 2024
1 parent cf3e154 commit dc8a691
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion clovers/src/objects/sphere.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion clovers/src/onb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit dc8a691

Please sign in to comment.