|  | 
| Functions | |
| template<typename T , template< typename > class vecType> | |
| detail::tvec2< T > const & | swizzle (vecType< T > const &v, comp x, comp y) | 
Provide functions to emulate GLSL swizzle operator fonctionalities.
<glm/gtc/swizzle.hpp> need to be included to use these functionalities.
| detail::tvec2<T> const& glm::swizzle | ( | vecType< T > const & | v, | 
| comp | x, | ||
| comp | y | ||
| ) | 
| v | Vector source | 
| x | 
| T | |
| vecType | 
 1.7.5.1
 1.7.5.1