glm::gtx::flexible_mix Namespace Reference
GLM_GTX_flexible_mix extension: More flexible functions for linear interpolations.
More...
|
Functions |
|
template<typename T, typename U> |
| T | mix (T x, T y, U a) |
| | Returns the component-wise result of x * (1.0 - a) + y * a, i.e., the linear blend of x and y using a values. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_flexible_mix extension).
|
Detailed Description
GLM_GTX_flexible_mix extension: More flexible functions for linear interpolations.