Update README.md
Merge branch 'master' of github.com:sondrele/rust-raytracer
Removed last use of PolySet. This structure is completely replaced by the functionality in Poly. It might be possible to introduce polyset later, and let every Poly point to the Polyset in order to get the different materials. The downside with the current solution is that a lot of materials have to be cloned for each single Poly
Rename functions to Poly-convention
Ignore racertmp
Merge branch 'shape-cleanup'
Update README.md
Merge branch 'master' of github.com:sondrele/rust-raytracer
Update to new version of bmp
Merge branch 'master' into bvh-tree
Create Primitive-enum wrapping each of the Shapes and pass the Primitive around instead of a Boxed Shape
Fix failing tests
Implement Shape for Primitive, making it possible to abstract Poly and Sphere at a higher level
Remove Prim-prefix from Primitive-enums
Remove duplicate code in intersection-loop
Moved parser to a sub-module of scene
Update Rust-version
Update to latest version of rust.
- Copy trait have been derived throughout the structs that need ut
- intersects-method takes ray as a reference instead of cloning it
Update tests to take ray as a reference in intersects-method
Update branch to new version of Rust and to use Primitve instead of Boxed shape