Implement most of ray intersection detection
authorLukas Jiriste <ljiriste@student.42prague.com>
Thu, 21 Nov 2024 16:00:49 +0000 (17:00 +0100)
committerLukas Jiriste <ljiriste@student.42prague.com>
Sat, 23 Nov 2024 11:05:51 +0000 (12:05 +0100)
commitb24ac9a0cef1c10824061786f945db5f3246c9c7
tree3c3b91bdef2db6a8ff42cc604b537178a0a0e769
parent3983e00240009981a432a9d62ced1b8d694cc41a
Implement most of ray intersection detection

Implement finding the intersection of ray with plane and sphere and use
the intersection closest intersection to camera for color finding.
Cylinder will be implemented at another time.
Also change what qualifies as an object; Now objects have to interact
with light. Light sources and cameras are not objects anymore.
Makefile
inc/miniRT.h
src/main.c
src/scene.c [new file with mode: 0644]