euv_engine/raytracing/enum.rs
1use super::*;
2
3/// Identifies the geometric shape of a ray-tracing [`Occluder`].
4#[derive(Clone, Copy, Debug, Default, PartialEq)]
5pub enum OccluderKind {
6 /// A sphere centered at `center` with radius stored in `extent.x`.
7 #[default]
8 Sphere,
9 /// An axis-aligned bounding box with min corner `center` and max corner
10 /// `extent`.
11 Aabb,
12}