Skip to content

Commit

Permalink
SDF internals, robust containment checks, benches
Browse files Browse the repository at this point in the history
- private method _sdf_intersections, which casts rays and returns the
  distance to a mesh and the dot product of the ray and the face normal
- containment checks now may use signed distance, which is slower in
  real-world meshes but more robust
- ray-based containment checks now may use consensus of a number of rays
- different containment check strategies are benchmarked
  • Loading branch information
clbarnes committed Jan 10, 2024
1 parent 1b31ca1 commit 2e6ef5e
Show file tree
Hide file tree
Showing 13 changed files with 1,040 additions and 151 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,5 @@ ENV/
.mypy_cache/

.benchmarks/

tmp/
Loading

0 comments on commit 2e6ef5e

Please sign in to comment.