used pixels instead of state
This commit is contained in:
13
src/main.rs
13
src/main.rs
@@ -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("");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user