Skip to content

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