Module smoothing
Expand description
See smoothing for the system contract and examples.
Frame-independent scalar and angular presentation smoothing.
ExponentialSmoother retains its scalar interpolation and permissive update
behavior. AngularSmoother adds checked, shortest-arc interpolation in
radians using the same exponential response. Both use platform exp, so they
are intended for cameras/UI/audio controls, not cross-platform lockstep state.
Time comes entirely from the caller; no wall clock or pending time is stored.
Structs§
- Angular
Smoother - Allocation-free shortest-arc smoothing backed by
ExponentialSmoother. - Exponential
Smoother - Scalar exponential smoothing with a positive half-life in seconds.
Enums§
- Angular
Smoothing Error - Invalid angular smoothing input. Rejected operations leave state unchanged.