-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add support for self-intersecting torus.
this extends support for defining and editing torus so that the minor radius (r_h aka r2) can be bigger than the major radius (r_a aka r1). intersection logic is updated to report hits correctly (i.e., only one segment through the overlapped interior). leaving plotting as-is since it is useful for the user to have some visual cue. this helps improve usability a smidge so objects can be edited through a larger spectrum of valid values, and supports definition of some shapes that are otherwise impossible with the implicits.
- Loading branch information
Showing
1 changed file
with
47 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters