- Main Page
- Related Pages
- Modules
- Files

- File List

vector_access.hpp
Go to the documentation of this file.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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