csci5607/assignment-1d/src/lib.rs

23 lines
439 B
Rust
Raw Normal View History

2023-03-20 21:10:01 +00:00
use nalgebra::{Vector2, Vector3};
#[macro_use]
extern crate anyhow;
#[macro_use]
2023-03-25 10:05:53 +00:00
extern crate contracts;
#[macro_use]
2023-03-20 21:10:01 +00:00
extern crate derivative;
#[macro_use]
extern crate tracing;
pub mod image;
pub mod ray;
pub mod scene;
pub mod utils;
2023-03-25 05:55:56 +00:00
// Creating a bunch of aliases here to make it more obvious which one I'm
// expecting a variable to be
2023-03-20 21:10:01 +00:00
pub type Point2 = Vector2<f64>;
pub type Point = Vector3<f64>;
pub type Vector = Vector3<f64>;