usecrate::Vec3;/// A ray is an infinite line starting at `origin`, going in `direction`.
#[derive(Default, Clone, Copy, Debug, PartialEq)]#[cfg_attr(feature ="serialize",derive(serde::Serialize, serde::Deserialize))]pubstructRay{/// The origin of the ray.
puborigin: Vec3,
/// The direction of the ray.
pubdirection: Vec3,
}