used pixels instead of state

This commit is contained in:
STP
2023-11-12 20:21:47 -05:00
parent 83e45b6860
commit 15c39e3c05
8 changed files with 322 additions and 508 deletions

View File

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