ziotom78 / pytracer

A simple raytracer in pure Python
MIT License
9 stars 4 forks source link

Properly compute normals when transformations are involved #9

Closed ziotom78 closed 3 years ago

ziotom78 commented 3 years ago

This PR corrects the way normals are computed in sphere-ray intersections. It should fix bug #6.