7 Commits

Author SHA1 Message Date
b342e00d4c Implement dielectrics (glassy) materials.
Add Neg to Vec3.
2018-09-09 20:23:28 -07:00
7c213e3a2b Implement Lambertian and Metal materials.
Fixed bug with Vec3::unit_vector().
Had to remove old example programs because Sphere::new() API changed to
allow materials.
2018-09-09 17:01:52 -07:00
73ca5c8454 Implement diffuse lighting, and gamma correction. 2018-09-09 14:49:21 -07:00
20c79a655b Implement Vec3 + f32 2018-09-08 21:52:49 -07:00
cdd2d585a7 Clippy cleanup and module visibility cleanup. 2018-09-08 20:19:46 -07:00
e1199611f0 Visibility cleanups. 2018-09-08 19:58:12 -07:00
7f7b1d6d34 Implement Vec3 library. Lacks most inplace operators. 2018-09-08 19:42:31 -07:00