We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c32a481 commit ab913bbCopy full SHA for ab913bb
glm/gtc/type_ptr.inl
@@ -7,6 +7,18 @@ namespace glm
7
/// @addtogroup gtc_type_ptr
8
/// @{
9
10
+ template<typename T, qualifier Q>
11
+ GLM_FUNC_QUALIFIER T const* value_ptr(vec<1, T, Q> const& v)
12
+ {
13
+ return &(v.x);
14
+ }
15
+
16
17
+ GLM_FUNC_QUALIFIER T* value_ptr(vec<1, T, Q>& v)
18
19
20
21
22
template<typename T, qualifier Q>
23
GLM_FUNC_QUALIFIER T const* value_ptr(vec<2, T, Q> const& v)
24
{
0 commit comments