Files
rust-raytracer/src/main.rs
2023-11-13 00:41:49 -05:00

25 lines
355 B
Rust

#![allow(dead_code)]
#![allow(unused_imports)]
#![allow(unused_variables)]
//Use linear algebra module
use display::run;
//Cameras
mod camera;
mod display;
mod light;
mod primitive;
mod ray;
mod raytracer;
mod scene;
// mod state;
// mod texture;
// mod vertex;
const EPSILON: f32 = 1e-7;
const INFINITY: f32 = 1e7;
fn main() {
run().expect("");
}