Added primitives
This commit is contained in:
12
src/main.rs
12
src/main.rs
@@ -2,10 +2,18 @@
|
||||
#![allow(unused_imports)]
|
||||
#![allow(unused_variables)]
|
||||
//Use linear algebra module
|
||||
|
||||
pub mod state;
|
||||
use state::run;
|
||||
|
||||
//Cameras
|
||||
mod camera;
|
||||
mod primitive;
|
||||
mod ray;
|
||||
mod state;
|
||||
mod texture;
|
||||
mod vertex;
|
||||
|
||||
const EPSILON: f32 = 1e-7;
|
||||
|
||||
fn main() {
|
||||
pollster::block_on(run());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user