procedurals
Procedural generation building blocks
Loading...
Searching...
No Matches
Smoothing.hpp File Reference
#include "Deterministic.hpp"
Include dependency graph for Smoothing.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

float Lerp (float a, float b, float t) noexcept
 
float Clamp (float x, float minVal, float maxVal) noexcept
 
float EaseIn (float t) noexcept
 
float EaseOut (float t) noexcept
 
float EaseInOut (float t) noexcept
 
float InterpolateEaseInOut (float a, float b, float t) noexcept
 
template<int Levels = 10>
float Quantize (float v)
 Quantize a float value into discrete levels, useful for stylized effects.