aboutsummaryrefslogtreecommitdiff
path: root/src/scene/shapes/mod.rs
blob: 76fb6f2df8582592234e3b5e0735007394b6c4ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
mod sphere;

pub use sphere::Sphere;

use crate::core::Ray;
use crate::Float;

trait Shape {
    // 
    fn intersect(ray: Ray) -> Float;
    fn intersect_
}