Functions | |
Matrix3x3 | lerp (const Matrix3x3 &v1, const Matrix3x3 &v2, const Matrix3x3 &phase) |
Linear interpolation between v1..v2 at phase[0..1]. | |
Matrix4x4 | lerp (const Matrix4x4 &v1, const Matrix4x4 &v2, const Matrix4x4 &phase) |
Linear interpolation between v1..v2 at phase[0..1]. | |
template<typename T , typename T2 > | |
constexpr T | lerp (const T &v1, const T &v2, const T2 &phase) |
Linear interpolation between v1..v2 at phase[0..1]. | |
constexpr float | lerp (float v1, float v2, float phase) |
Linear interpolation between v1..v2 at phase[0..1]. | |
constexpr int | lerp (int v1, int v2, float phase) |
Linear interpolation between v1..v2 at phase[0..1]. | |
template<typename T , typename T2 > | |
T | linearstep (const T &v1, const T &v2, const T2 &value) |
Linearstep remapping of value between [0..1]. | |
float | linearstep (float v1, float v2, float value) |
Linearstep remapping of value between [0..1]. | |
int | linearstep (int v1, int v2, float value) |
Linearstep remapping of value between [0..1]. | |
Matrix3x3 | linearstep (Matrix3x3 v1, Matrix3x3 v2, Matrix3x3 value) |
Component-wise linearstep remapping of value between [0..1]. | |
Matrix4x4 | linearstep (Matrix4x4 v1, Matrix4x4 v2, Matrix4x4 value) |
Component-wise linearstep remapping of value between [0..1]. | |
constexpr float | smootherstep (const float phase) |
Smootherstep phase between [0..1]. | |
Matrix3x3 | smootherstep (const Matrix3x3 &v1, const Matrix3x3 &v2, const Matrix3x3 &value) |
Smootherstep-clamped remapping of value between v1 and v2 to within [0..1]. | |
Matrix4x4 | smootherstep (const Matrix4x4 &v1, const Matrix4x4 &v2, const Matrix4x4 &value) |
Smootherstep-clamped remapping of value between v1 and v2 to within [0..1]. | |
template<typename T , typename T2 > | |
T | smootherstep (const T &v1, const T &v2, const T2 &value) |
Smootherstep-clamped remapping of value between v1 and v2 to within [0..1]. | |
float | smootherstep (float v1, float v2, float value) |
Smootherstep-clamped remapping of value between v1 and v2 to within [0..1]. | |
int | smootherstep (int v1, int v2, float value) |
Smootherstep-clamped remapping of value between v1 and v2 to within [0..1]. | |
constexpr float | smoothstep (const float phase) |
Smoothstep phase between [0..1]. | |
Matrix3x3 | smoothstep (const Matrix3x3 &v1, const Matrix3x3 &v2, const Matrix3x3 &value) |
Smoothstep-clamped remapping of value between v1 and v2 to within [0..1]. | |
Matrix4x4 | smoothstep (const Matrix4x4 &v1, const Matrix4x4 &v2, const Matrix4x4 &value) |
Smoothstep-clamped remapping of value between v1 and v2 to within [0..1]. | |
template<typename T , typename T2 > | |
T | smoothstep (const T &v1, const T &v2, const T2 &value) |
Smoothstep-clamped remapping of value between v1 and v2 to within [0..1]. | |
float | smoothstep (float v1, float v2, float value) |
Smoothstep-clamped remapping of value between v1 and v2 to within [0..1]. | |
int | smoothstep (int v1, int v2, float value) |
Smoothstep-clamped remapping of value between v1 and v2 to within [0..1]. | |
Smoothstep phase between [0..1].
phase | Linear phase value [0..1]. |
Smootherstep phase between [0..1].
phase | Linear phase value [0..1]. |
Linear interpolation between v1..v2 at phase[0..1].
v1 | Start value. |
v2 | End value. |
phase | Interpolation phase between [0..1]. |
Linear interpolation between v1..v2 at phase[0..1].
v1 | Start value. |
v2 | End value. |
phase | Interpolation phase between [0..1]. |
Linear interpolation between v1..v2 at phase[0..1].
v1 | Start value. |
v2 | End value. |
phase | Interpolation phase between [0..1]. |
|
inline |
Linear interpolation between v1..v2 at phase[0..1].
v1 | Start value. |
v2 | End value. |
phase | Interpolation phase between [0..1]. |
|
inline |
Linear interpolation between v1..v2 at phase[0..1].
v1 | Start value. |
v2 | End value. |
phase | Interpolation phase between [0..1]. |
Linearstep remapping of value between [0..1].
v1 | Minimum value. |
v2 | Maximum value. |
value | Input value between [v1..v2]. |
Linearstep remapping of value between [0..1].
v1 | Minimum value. |
v2 | Maximum value. |
value | Input value between [v1..v2]. |
Linearstep remapping of value between [0..1].
v1 | Minimum value. |
v2 | Maximum value. |
value | Input value between [v1..v2]. |
Component-wise linearstep remapping of value between [0..1].
v1 | Minimum values. |
v2 | Maximum values. |
value | Input values between [v1..v2]. |
Component-wise linearstep remapping of value between [0..1].
v1 | Minimum values. |
v2 | Maximum values. |
value | Input values between [v1..v2]. |
Smoothstep-clamped remapping of value between v1 and v2 to within [0..1].
v1 | Minimum value. |
v2 | Maximum value. |
value | Input value between [v1..v2]. |
Smoothstep-clamped remapping of value between v1 and v2 to within [0..1].
v1 | Minimum value. |
v2 | Maximum value. |
value | Input value between [v1..v2]. |
|
inline |
Smoothstep-clamped remapping of value between v1 and v2 to within [0..1].
v1 | Minimum value. |
v2 | Maximum value. |
value | Input value between [v1..v2]. |
|
inline |
Smoothstep-clamped remapping of value between v1 and v2 to within [0..1].
v1 | Minimum value. |
v2 | Maximum value. |
value | Input value between [v1..v2]. |
Smoothstep-clamped remapping of value between v1 and v2 to within [0..1].
v1 | Minimum value. |
v2 | Maximum value. |
value | Input value between [v1..v2]. |
Smootherstep-clamped remapping of value between v1 and v2 to within [0..1].
v1 | Minimum value. |
v2 | Maximum value. |
value | Input value between [v1..v2]. |
Smootherstep-clamped remapping of value between v1 and v2 to within [0..1].
v1 | Minimum value. |
v2 | Maximum value. |
value | Input value between [v1..v2]. |
Smootherstep-clamped remapping of value between v1 and v2 to within [0..1].
v1 | Minimum value. |
v2 | Maximum value. |
value | Input value between [v1..v2]. |
|
inline |
Smootherstep-clamped remapping of value between v1 and v2 to within [0..1].
v1 | Minimum value. |
v2 | Maximum value. |
value | Input value between [v1..v2]. |
|
inline |
Smootherstep-clamped remapping of value between v1 and v2 to within [0..1].
v1 | Minimum value. |
v2 | Maximum value. |
value | Input value between [v1..v2]. |