1 2 3 4 5 6 7 8 9 10 11
mod base; mod from; use crate::geometry::{Coordinate, Direction}; #[derive(Clone, Debug, PartialEq)] pub struct Ray<const D: usize> { origin: Coordinate<D>, direction: Direction<D>, inverse_direction: Direction<D>, }