recp / cglm

📽 Highly Optimized 2D / 3D Graphics Math (glm) for C
MIT License
2.33k stars 231 forks source link

Some missing ray functions #399

Closed recp closed 7 months ago

recp commented 8 months ago

Some missing ray functions:

glm_ray_sphere():

PS: Since there are multiple FPUs on modern CPUs, I see no benefit to use SIMD for reflect() and refract() for now but it is in TODOs for future, not tested but may bring extra overhead, maybe!.