Skip to main content

cosine_interp

Function cosine_interp 

Source
pub fn cosine_interp(x: f32) -> f32
Expand description

CosineInterp (vis_milk2 utility.h, not part of third_party/md2): 0.5 - 0.5 cos(pi x). Used for the blend of the per-frame variables, the wave blend and the video-echo flip.