15 Commits

Author SHA1 Message Date
5debb16d10 intersections: move tests from doctest to unit. 2021-07-27 21:51:26 -07:00
42e8ebe3bd Implement transparency, reflections and refraction. 2021-07-26 21:46:04 -07:00
7f36aecf5e world: add reflection to ray tracer. 2021-07-25 16:28:34 -07:00
952ed8bf81 intersections: implement a PartialEq that handles floats. 2021-07-21 19:41:14 -07:00
c0e422a7eb shapes: create generic Shape object with Sphere implementation.
All checks were successful
continuous-integration/drone/push Build is passing
2021-07-20 22:17:50 -07:00
95de5863cc all: s/f32/Float/g now using customer Float alias. 2021-07-18 17:18:08 -07:00
19b2ef6ded intersections: derive Debug for PrecomputedData. 2021-07-18 16:29:21 -07:00
7e450d664e world & intersections: handle shadows. 2021-07-18 13:08:03 -07:00
9924330f98 intersections: add inside/outside to prepare_computations. 2021-07-17 15:46:02 -07:00
2316df896a intersections: implement basic prepare_computations. 2021-07-17 15:37:46 -07:00
e9f2ef0118 world: implement World::intersect. 2021-07-17 15:26:18 -07:00
cb1b3ec801 sphere: use Intersections as the return type from intersect. 2021-07-16 22:25:26 -07:00
324a26212a intersections: implement Intersections::hit 2021-07-16 21:28:28 -07:00
c9b42d94b3 intersections: now store object in Intersection. 2021-07-16 21:14:23 -07:00
0ce1e8f7af intersections: create inters module and initial functionality. 2021-07-16 21:06:57 -07:00