euv-engine 0.18.62

A high-performance 2D game engine built on the euv framework, featuring ECS, fixed-timestep game loop, canvas rendering, physics, collision detection, sprite animation, and audio.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use super::*;

/// Identifies the geometric shape of a ray-tracing [`Occluder`].
#[derive(Clone, Copy, Debug, Default, PartialEq)]
pub enum OccluderKind {
    /// A sphere centered at `center` with radius stored in `extent.x`.
    #[default]
    Sphere,
    /// An axis-aligned bounding box with min corner `center` and max corner
    /// `extent`.
    Aabb,
}