pub fn cosine_interp(x: f32) -> f32
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.
CosineInterp
utility.h
third_party/md2
0.5 - 0.5 cos(pi x)