aboutsummaryrefslogtreecommitdiff
path: root/src/world/shapes/mod.rs
blob: d15840c8013923dfb8e6cab9e09bef0a850dacc1 (plain)
1
2
3
4
5
6
7
8
9
10
mod sphere;
mod rectangle;
mod r#box;

pub use sphere::Sphere;
pub use rectangle::{Rect, Plane};
pub use r#box::BoxShp;

use crate::world::{Hittable, Intersection};
use crate::core::{Bound3f, Ray};