#include <algorithm>
#include <cmath>
#include <concepts>
#include <cstdlib>
Go to the source code of this file.
|
| constexpr int | round_to_int (float f) |
| |
| constexpr int | round_truncate (float f) |
| |
| template<typename T , typename TB > |
| constexpr T | mix (const T a, const T b, TB amount) |
| |
| template<typename T , typename TB > |
| constexpr T | bezier (const T p0, const T p1, const T p2, const T p3, TB amount) |
| |
| template<typename T , typename TB > |
| constexpr T | mix_polynomial (const TB time[], const T data[], int samples, TB amount, T init) |
| |
| float | random_float () |
| |
| float | random_float (float min, float max) |
| |
| float | random_float (float max) |
| |
| float | random_angle () |
| |
| constexpr int | f2fx (float v) |
| |
| constexpr float | fx2f (int v) |
| |
| constexpr int | i2fx (int v) |
| |
| constexpr int | fx2i (int v) |
| |
| template<Numeric T> |
| constexpr T | minimum (T a, T b) |
| |
| template<Numeric T> |
| constexpr T | minimum (T a, T b, T c) |
| |
| template<Numeric T> |
| constexpr T | maximum (T a, T b) |
| |
| template<Numeric T> |
| constexpr T | maximum (T a, T b, T c) |
| |
| template<typename T > |
| constexpr T | absolute (T a) |
| |
| template<Numeric T> |
| constexpr bool | in_range (T a, T lower, T upper) |
| |
| template<Numeric T> |
| constexpr bool | in_range (T a, T upper) |
| |
◆ absolute()
◆ bezier()
◆ f2fx()
◆ fx2f()
◆ fx2i()
◆ i2fx()
◆ in_range() [1/2]
◆ in_range() [2/2]
◆ maximum() [1/2]
◆ maximum() [2/2]
◆ minimum() [1/2]
◆ minimum() [2/2]
◆ mix()
◆ mix_polynomial()
◆ random_angle()
◆ random_float() [1/3]
◆ random_float() [2/3]
◆ random_float() [3/3]
◆ round_to_int()
◆ round_truncate()
◆ fxpscale
◆ pi