Utils: CosineInterpolation

This commit is contained in:
2021-10-03 13:58:20 +02:00
parent 9a1a23c73d
commit 354521ec51
2 changed files with 6 additions and 0 deletions

View File

@@ -8,6 +8,8 @@
#include "Util.h"
float CosineInterpolation(float f) { return (1.0f - cos(f * Pi)) * 0.5f; }
/////////////////////////////
// SolveQuadratic
//