Skip to content

Add method for sphere intersections#2

Open
rpsirois wants to merge 1 commit intoimbcmdth:masterfrom
rpsirois:master
Open

Add method for sphere intersections#2
rpsirois wants to merge 1 commit intoimbcmdth:masterfrom
rpsirois:master

Conversation

@rpsirois
Copy link

Added method for sphere intersection.
Source: Arvo, James, A Simple Method for Box-Sphere Intersection
Testing, p. 335-339, code: p. 730-732
For code sample, see:
http://tog.acm.org/resources/GraphicsGems/gems/BoxSphere.c
This is currently the best generally accepted method for this type of
intersection. There is a version of this algorithm out there with early
rejection, but whatever. This one is pretty well known.

Added method for sphere intersection.
Source: Arvo, James, A Simple Method for Box-Sphere Intersection
Testing, p. 335-339, code: p. 730-732
For code sample, see:
http://tog.acm.org/resources/GraphicsGems/gems/BoxSphere.c
This is currently the best generally accepted method for this type of
intersection. There is a version of this algorithm out there with early
rejection, but whatever. This one is pretty well known.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant