aboutsummaryrefslogtreecommitdiff
path: root/src/core/ray.rs
blob: 2368315781c1f1faf434b20ad4dc6581efb7fea9 (plain)
1
2
3
4
5
6
7
8
//! The ray class used when probing the 3d scene
use crate::core::Vector3f;

pub struct Ray {
    pub origin: Vector3f,
    pub direction: Vector3f,
}