| 0.9.9 API documenation

- Main Page
- Modules
- Files

- File List

vec1.hpp
Go to the documentation of this file.
1
13 #pragma once
14
15 // Dependency:
16 #include "../glm.hpp"
17 #include "../detail/type_vec1.hpp"
18
19 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
20 # pragma message("GLM: GLM_GTC_vec1 extension included")
21 #endif
22
23 namespace glm
24 {
28 typedef highp_vec1_t highp_vec1;
29
33 typedef mediump_vec1_t mediump_vec1;
34
38 typedef lowp_vec1_t lowp_vec1;
39
43 typedef highp_dvec1_t highp_dvec1;
44
48 typedef mediump_dvec1_t mediump_dvec1;
49
53 typedef lowp_dvec1_t lowp_dvec1;
54
58 typedef highp_ivec1_t highp_ivec1;
59
63 typedef mediump_ivec1_t mediump_ivec1;
64
68 typedef lowp_ivec1_t lowp_ivec1;
69
73 typedef highp_uvec1_t highp_uvec1;
74
78 typedef mediump_uvec1_t mediump_uvec1;
79
83 typedef lowp_uvec1_t lowp_uvec1;
84
88 typedef highp_bvec1_t highp_bvec1;
89
93 typedef mediump_bvec1_t mediump_bvec1;
94
98 typedef lowp_bvec1_t lowp_bvec1;
99
101 // vec1 definition
102
103 #if(defined(GLM_PRECISION_HIGHP_BOOL))
104 typedef highp_bvec1 bvec1;
105 #elif(defined(GLM_PRECISION_MEDIUMP_BOOL))
106 typedef mediump_bvec1 bvec1;
107 #elif(defined(GLM_PRECISION_LOWP_BOOL))
108 typedef lowp_bvec1 bvec1;
109 #else
110 typedef highp_bvec1 bvec1;
113 #endif//GLM_PRECISION
114
115 #if(defined(GLM_PRECISION_HIGHP_FLOAT))
116 typedef highp_vec1 vec1;
117 #elif(defined(GLM_PRECISION_MEDIUMP_FLOAT))
118 typedef mediump_vec1 vec1;
119 #elif(defined(GLM_PRECISION_LOWP_FLOAT))
120 typedef lowp_vec1 vec1;
121 #else
122 typedef highp_vec1 vec1;
125 #endif//GLM_PRECISION
126
127 #if(defined(GLM_PRECISION_HIGHP_DOUBLE))
128 typedef highp_dvec1 dvec1;
129 #elif(defined(GLM_PRECISION_MEDIUMP_DOUBLE))
130 typedef mediump_dvec1 dvec1;
131 #elif(defined(GLM_PRECISION_LOWP_DOUBLE))
132 typedef lowp_dvec1 dvec1;
133 #else
134 typedef highp_dvec1 dvec1;
137 #endif//GLM_PRECISION
138
139 #if(defined(GLM_PRECISION_HIGHP_INT))
140 typedef highp_ivec1 ivec1;
141 #elif(defined(GLM_PRECISION_MEDIUMP_INT))
142 typedef mediump_ivec1 ivec1;
143 #elif(defined(GLM_PRECISION_LOWP_INT))
144 typedef lowp_ivec1 ivec1;
145 #else
146 typedef highp_ivec1 ivec1;
149 #endif//GLM_PRECISION
150
151 #if(defined(GLM_PRECISION_HIGHP_UINT))
152 typedef highp_uvec1 uvec1;
153 #elif(defined(GLM_PRECISION_MEDIUMP_UINT))
154 typedef mediump_uvec1 uvec1;
155 #elif(defined(GLM_PRECISION_LOWP_UINT))
156 typedef lowp_uvec1 uvec1;
157 #else
158 typedef highp_uvec1 uvec1;
161 #endif//GLM_PRECISION
162
163 }// namespace glm
164
165 #include "vec1.inl"
glm
Definition: common.hpp:20