mirror of
https://github.com/recp/cglm.git
synced 2026-11-17 10:17:13 -06:00
docs: ray sphere docs improvements
This commit is contained in:
1 parent
55521ecd61
commit
9df36ce005
3 files changed
+10
-1
No files matched your search
@@ -36,6 +36,8 @@ Functions documentation
|
||||
|
||||
ray sphere intersection
|
||||
|
||||
returns false if there is no intersection if true:
|
||||
|
||||
- t1 > 0, t2 > 0: ray intersects the sphere at t1 and t2 both ahead of the origin
|
||||
- t1 < 0, t2 > 0: ray starts inside the sphere, exits at t2
|
||||
- t1 < 0, t2 < 0: no intersection ahead of the ray
|
||||
|
||||
Reference in new issue
Block a user