glm::gtx::flexible_mix Namespace Reference

GLM_GTX_flexible_mix extension: More flexible functions for linear interpolations. More...


Functions

template<typename T, typename U>
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.

Generated on Sat Aug 9 15:48:37 2008 for OpenGL Mathematics by  doxygen 1.5.5