latest changes

This commit is contained in:
2023-01-29 15:02:32 +01:00
parent 52ea780ca7
commit a9badcdedd
4 changed files with 104 additions and 1 deletions

View File

@@ -1,12 +1,15 @@
pub mod vec3;
pub mod color;
pub mod ray;
pub mod sphere;
pub mod hittable;
pub mod hittable_list;
use std::{io::{BufWriter, Write}, fs::File};
use crate::{
vec3::*,
color::*,
ray::*
ray::*,
};
fn hit_sphere(center: &Point3, radius: f64, r: &Ray) -> f64 {