FlukyEngine
Functions

Include <glm/gtx/range.hpp> to use the features of this extension. More...

Collaboration diagram for GLM_GTX_range:

Functions

template<typename T , qualifier Q>
length_t glm::components (vec< 1, T, Q > const &v)
 
template<typename T , qualifier Q>
length_t glm::components (vec< 2, T, Q > const &v)
 
template<typename T , qualifier Q>
length_t glm::components (vec< 3, T, Q > const &v)
 
template<typename T , qualifier Q>
length_t glm::components (vec< 4, T, Q > const &v)
 
template<typename genType >
length_t glm::components (genType const &m)
 
template<typename genType >
genType::value_type const * glm::begin (genType const &v)
 
template<typename genType >
genType::value_type const * glm::end (genType const &v)
 
template<typename genType >
genType::value_type * glm::begin (genType &v)
 
template<typename genType >
genType::value_type * glm::end (genType &v)
 

Detailed Description

Include <glm/gtx/range.hpp> to use the features of this extension.

Defines begin and end for vectors and matrices. Useful for range-based for loop. The range is defined over the elements, not over columns or rows (e.g. mat4 has 16 elements).