Skip to content

Commit

Permalink
chore: add todo note for Boxy HitableTrait::pdf_value
Browse files Browse the repository at this point in the history
  • Loading branch information
Walther committed Jun 10, 2024
1 parent 0f911ea commit cf3e154
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion clovers/src/objects/boxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ impl<'scene> HitableTrait for Boxy<'scene> {
Some(&self.aabb)
}

/// Returns a probability density function value? // TODO: understand & explain
// TODO: improve correctness & optimization!
/// Returns a probability density function value?
#[must_use]
fn pdf_value(
&self,
Expand Down

0 comments on commit cf3e154

Please sign in to comment.