Add .gitignore file

This commit is contained in:
bijan2005 2020-11-29 15:39:36 -05:00
parent 7c7118665a
commit 6a37feeacb
3 changed files with 16 additions and 300 deletions

View file

@ -55,8 +55,8 @@ fn main() -> std::io::Result<()> {
let camera = Camera::new(Point3::new(0.0,0.0,0.0), Vector3::new(0.0,0.0,-1.0), 1.0, 2.0, 2.0, 400, 400);
let scene = vec![
Object::Sphere(Sphere::new(0.0,0.0,-5.0,2.0, |_, _| Color::white())),
Object::Sphere(Sphere::new(-3.0,0.0,-8.0,2.5, |_, _| Color::white()))
Object::Sphere(Sphere::new_solid(0.0,0.0,-5.0,2.0, Color::white())),
Object::Sphere(Sphere::new_solid(-3.0,0.0,-8.0,2.5, Color::white()))
];
render(&camera, &scene, "out.ppm")