Detect inside of sphere
authorLukas Jiriste <ljiriste@student.42prague.com>
Fri, 3 Jan 2025 13:13:33 +0000 (14:13 +0100)
committerLukas Jiriste <ljiriste@student.42prague.com>
Fri, 3 Jan 2025 13:13:33 +0000 (14:13 +0100)
commit03863d7a713c845ff23b750268ddd105b46fdc93
treea65890ad2374f45f73aa1ac4c12d9ccc2b8539a3
parent75f0c35f1528b4290be0020ef7c0264b55214821
Detect inside of sphere

The sphere detection only ever considered the "closer" intersection
point. This only works for ray that originate outside the sphere.
src/scene.c