Flow Visualisation
vector_access.hpp
Go to the documentation of this file.
1 
38 #ifndef GLM_GTX_vector_access
39 #define GLM_GTX_vector_access GLM_VERSION
40 
41 // Dependency:
42 #include "../glm.hpp"
43 
44 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
45 # pragma message("GLM: GLM_GTX_vector_access extension included")
46 #endif
47 
48 namespace glm
49 {
52 
55  template <typename valType>
56  void set(
57  detail::tvec2<valType> & v,
58  valType const & x,
59  valType const & y);
60 
63  template <typename valType>
64  void set(
65  detail::tvec3<valType> & v,
66  valType const & x,
67  valType const & y,
68  valType const & z);
69 
72  template <typename valType>
73  void set(
74  detail::tvec4<valType> & v,
75  valType const & x,
76  valType const & y,
77  valType const & z,
78  valType const & w);
79 
81 }//namespace glm
82 
83 #include "vector_access.inl"
84 
85 #endif//GLM_GTX_vector_access
Definition: _detail.hpp:38
void set(detail::tvec2< valType > &v, valType const &x, valType const &y)
Definition: vector_access.inl:14