Godzil
a8194169c5
Add function to calculate sphere normal vector on given point on the sphere.
2020-02-17 15:39:14 +00:00
Godzil
00b283053e
Add transformation to objects.
2020-02-17 14:15:55 +00:00
Godzil
1900d1f45d
Change the Intersection to a class, and stop using memory allocation for it (and pointer)
...
A bit more clean (on the code side)
2020-02-17 11:48:29 +00:00
Godzil
01a0de09ab
Add 3 new type of object: Sphere, Object and Intersect.
...
Add Intersect object as a way to report where a ray intersect another object and which one it is.
Add an Object base class for all object that can be rendered.
Add the Sphere object.
2020-02-17 11:16:20 +00:00
Godzil
1e2588441f
Rename tuple file to remove the plural.
...
Also add empty shell ray.
2020-02-15 23:18:04 +00:00