Namespaces | |
| namespace | PWToolBox |
| namespace | PWToolBox::Math |
Functions | |
| template<typename T> | |
| T const | PWToolBox::Math::Lerp (T const &a, T const &b, float const s) |
Interpolates between a and b based on s. | |
| template<typename T> | |
| T const | PWToolBox::Math::Clamp (T const &value, T const &low, T const &high) |
Clamps a value to the range [low,high]. | |
| template<typename T> | |
| T const | PWToolBox::Math::Saturate (T const &value) |
| A specialized case of the Clamp function with a range [0,1]. | |
1.5.1