vkoskiv / c-ray

c-ray is a small, simple path tracer written in C
MIT License
802 stars 43 forks source link

Fix the octant computation during BVH traversal to work with -0.0 #87

Closed madmann91 closed 3 years ago

madmann91 commented 3 years ago

This is a small bug fix to support rays that contain -0.0 for one direction component.