Implement the color calculation
authorLukas Jiriste <ljiriste@student.42prague.com>
Thu, 21 Nov 2024 21:47:22 +0000 (22:47 +0100)
committerLukas Jiriste <ljiriste@student.42prague.com>
Sat, 23 Nov 2024 11:05:51 +0000 (12:05 +0100)
commitfb9aa1624c137b50a476a9ac236142469b516996
tree62761e1841e9f32275d02d8578b3b6ed4791881b
parentb24ac9a0cef1c10824061786f945db5f3246c9c7
Implement the color calculation

Also reimplement the t_color as typedef of t_vec3 so that I can use the
vec* operations on color. The t_color now signifies the linear RGB and
needs to be converted to (and from) sRGB upon printing (reading).
inc/miniRT.h
src/scene.c