euv-engine 0.18.18

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
13
14
15
16
17
use super::*;

/// The overshoot amplitude used by the `Back` easing family.
pub(crate) const BACK_OVERSHOOT: f64 = 1.70158;

/// The scaled overshoot used by `InOutBack` so both halves peak at the
/// same amplitude as the single-direction variants.
pub(crate) const BACK_OVERSHOOT_INOUT: f64 = BACK_OVERSHOOT * 1.525;

/// The number of bounce subdivisions used by the `Bounce` easing family.
pub(crate) const BOUNCE_DIVISIONS: f64 = 2.75;

/// The period base used by the `Elastic` easing family.
pub(crate) const ELASTIC_PERIOD: f64 = TWO_PI / 3.0;

/// The period base used by the `InOutElastic` easing variant.
pub(crate) const ELASTIC_PERIOD_INOUT: f64 = TWO_PI / 4.5;