Flow Visualisation
GLM_GTX_vector_access

Function to set values to vectors. More...

Collaboration diagram for GLM_GTX_vector_access:

Functions

template<typename valType >
void glm::set (detail::tvec2< valType > &v, valType const &x, valType const &y)
 
template<typename valType >
void glm::set (detail::tvec3< valType > &v, valType const &x, valType const &y, valType const &z)
 
template<typename valType >
void glm::set (detail::tvec4< valType > &v, valType const &x, valType const &y, valType const &z, valType const &w)
 

Detailed Description

Function to set values to vectors.

<glm/gtx/vector_access.hpp> need to be included to use these functionalities.

Function Documentation

template<typename valType >
void glm::set ( detail::tvec2< valType > &  v,
valType const &  x,
valType const &  y 
)

Set values to a 2 components vector. From GLM_GTX_vector_access extension.

template<typename valType >
void glm::set ( detail::tvec3< valType > &  v,
valType const &  x,
valType const &  y,
valType const &  z 
)

Set values to a 3 components vector. From GLM_GTX_vector_access extension.

template<typename valType >
void glm::set ( detail::tvec4< valType > &  v,
valType const &  x,
valType const &  y,
valType const &  z,
valType const &  w 
)

Set values to a 4 components vector. From GLM_GTX_vector_access extension.