14 #if !GLM_HAS_ALIGNED_TYPE
15 # error "GLM: Aligned types are not supported on this platform"
17 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
18 # pragma message("GLM: GLM_GTC_type_aligned extension included")
21 #include "../vec2.hpp"
22 #include "../vec3.hpp"
23 #include "../vec4.hpp"
24 #include "../gtc/vec1.hpp"
33 typedef vec<1, float, aligned_highp> aligned_highp_vec1;
34 typedef vec<1, float, aligned_mediump> aligned_mediump_vec1;
35 typedef vec<1, float, aligned_lowp> aligned_lowp_vec1;
36 typedef vec<1, double, aligned_highp> aligned_highp_dvec1;
37 typedef vec<1, double, aligned_mediump> aligned_mediump_dvec1;
38 typedef vec<1, double, aligned_lowp> aligned_lowp_dvec1;
39 typedef vec<1, int, aligned_highp> aligned_highp_ivec1;
40 typedef vec<1, int, aligned_mediump> aligned_mediump_ivec1;
41 typedef vec<1, int, aligned_lowp> aligned_lowp_ivec1;
42 typedef vec<1, uint, aligned_highp> aligned_highp_uvec1;
43 typedef vec<1, uint, aligned_mediump> aligned_mediump_uvec1;
44 typedef vec<1, uint, aligned_lowp> aligned_lowp_uvec1;
45 typedef vec<1, bool, aligned_highp> aligned_highp_bvec1;
46 typedef vec<1, bool, aligned_mediump> aligned_mediump_bvec1;
47 typedef vec<1, bool, aligned_lowp> aligned_lowp_bvec1;
49 typedef vec<1, float, packed_highp> packed_highp_vec1;
50 typedef vec<1, float, packed_mediump> packed_mediump_vec1;
51 typedef vec<1, float, packed_lowp> packed_lowp_vec1;
52 typedef vec<1, double, packed_highp> packed_highp_dvec1;
53 typedef vec<1, double, packed_mediump> packed_mediump_dvec1;
54 typedef vec<1, double, packed_lowp> packed_lowp_dvec1;
55 typedef vec<1, int, packed_highp> packed_highp_ivec1;
56 typedef vec<1, int, packed_mediump> packed_mediump_ivec1;
57 typedef vec<1, int, packed_lowp> packed_lowp_ivec1;
58 typedef vec<1, uint, packed_highp> packed_highp_uvec1;
59 typedef vec<1, uint, packed_mediump> packed_mediump_uvec1;
60 typedef vec<1, uint, packed_lowp> packed_lowp_uvec1;
61 typedef vec<1, bool, packed_highp> packed_highp_bvec1;
62 typedef vec<1, bool, packed_mediump> packed_mediump_bvec1;
63 typedef vec<1, bool, packed_lowp> packed_lowp_bvec1;
235 #if(defined(GLM_PRECISION_LOWP_FLOAT))
240 #elif(defined(GLM_PRECISION_MEDIUMP_FLOAT))
245 #else //defined(GLM_PRECISION_HIGHP_FLOAT)
257 #endif//GLM_PRECISION
259 #if(defined(GLM_PRECISION_LOWP_DOUBLE))
264 #elif(defined(GLM_PRECISION_MEDIUMP_DOUBLE))
269 #else //defined(GLM_PRECISION_HIGHP_DOUBLE)
281 #endif//GLM_PRECISION
283 #if(defined(GLM_PRECISION_LOWP_INT))
288 #elif(defined(GLM_PRECISION_MEDIUMP_INT))
293 #else //defined(GLM_PRECISION_HIGHP_INT)
305 #endif//GLM_PRECISION
309 #if(defined(GLM_PRECISION_LOWP_UINT))
314 #elif(defined(GLM_PRECISION_MEDIUMP_UINT))
319 #else //defined(GLM_PRECISION_HIGHP_UINT)
331 #endif//GLM_PRECISION
333 #if(defined(GLM_PRECISION_LOWP_BOOL))
338 #elif(defined(GLM_PRECISION_MEDIUMP_BOOL))
343 #else //defined(GLM_PRECISION_HIGHP_BOOL)
355 #endif//GLM_PRECISION
vec< 2, double, aligned_mediump > aligned_mediump_dvec2
2 components vector of medium double-qualifier floating-point numbers.
vec< 2, float, aligned_lowp > aligned_lowp_vec2
2 components vector of low single-qualifier floating-point numbers.
aligned_highp_ivec3 aligned_ivec3
3 components vector of signed integer numbers.
vec< 2, bool, aligned_highp > aligned_highp_bvec2
2 components vector of high qualifier bool numbers.
aligned_highp_dvec1 aligned_dvec1
1 component vector of double-qualifier floating-point numbers.
vec< 4, float, aligned_lowp > aligned_lowp_vec4
4 components vector of low single-qualifier floating-point numbers.
vec< 3, int, aligned_mediump > aligned_mediump_ivec3
3 components vector of medium qualifier signed integer numbers.
vec< 4, float, aligned_mediump > aligned_mediump_vec4
4 components vector of medium single-qualifier floating-point numbers.
vec< 3, uint, aligned_lowp > aligned_lowp_uvec3
3 components vector of low qualifier unsigned integer numbers.
vec< 3, double, aligned_lowp > aligned_lowp_dvec3
3 components vector of low double-qualifier floating-point numbers.
vec< 4, int, aligned_highp > aligned_highp_ivec4
4 components vector of high qualifier signed integer numbers.
vec< 2, int, aligned_mediump > aligned_mediump_ivec2
2 components vector of medium qualifier signed integer numbers.
vec< 4, double, aligned_lowp > aligned_lowp_dvec4
4 components vector of low double-qualifier floating-point numbers.
aligned_highp_dvec4 aligned_dvec4
4 components vector of double-qualifier floating-point numbers.
vec< 2, bool, aligned_lowp > aligned_lowp_bvec2
2 components vector of low qualifier bool numbers.
vec< 4, double, aligned_highp > aligned_highp_dvec4
4 components vector of high double-qualifier floating-point numbers.
aligned_highp_bvec4 aligned_bvec4
4 components vector of boolean.
vec< 4, float, aligned_highp > aligned_highp_vec4
4 components vector of high single-qualifier floating-point numbers.
aligned_highp_vec2 aligned_vec2
2 components vector of floating-point numbers.
vec< 3, int, aligned_highp > aligned_highp_ivec3
3 components vector of high qualifier signed integer numbers.
vec< 3, bool, aligned_mediump > aligned_mediump_bvec3
3 components vector of medium qualifier bool numbers.
vec< 4, bool, aligned_lowp > aligned_lowp_bvec4
4 components vector of low qualifier bool numbers.
vec< 4, int, aligned_mediump > aligned_mediump_ivec4
4 components vector of medium qualifier signed integer numbers.
vec< 4, uint, aligned_mediump > aligned_mediump_uvec4
4 components vector of medium qualifier unsigned integer numbers.
vec< 3, int, aligned_lowp > aligned_lowp_ivec3
3 components vector of low qualifier signed integer numbers.
vec< 2, float, aligned_mediump > aligned_mediump_vec2
2 components vector of medium single-qualifier floating-point numbers.
aligned_highp_ivec1 aligned_ivec1
1 component vector of signed integer numbers.
vec< 2, double, aligned_lowp > aligned_lowp_dvec2
2 components vector of low double-qualifier floating-point numbers.
vec< 3, bool, aligned_highp > aligned_highp_bvec3
3 components vector of high qualifier bool numbers.
aligned_highp_dvec3 aligned_dvec3
3 components vector of double-qualifier floating-point numbers.
aligned_highp_bvec1 aligned_bvec1
1 component vector of boolean.
vec< 4, bool, aligned_highp > aligned_highp_bvec4
4 components vector of high qualifier bool numbers.
vec< 4, uint, aligned_lowp > aligned_lowp_uvec4
4 components vector of low qualifier unsigned integer numbers.
vec< 4, int, aligned_lowp > aligned_lowp_ivec4
4 components vector of low qualifier signed integer numbers.
aligned_highp_bvec3 aligned_bvec3
3 components vector of boolean.
vec< 2, uint, aligned_lowp > aligned_lowp_uvec2
2 components vector of low qualifier unsigned integer numbers.
vec< 3, double, aligned_highp > aligned_highp_dvec3
3 components vector of high double-qualifier floating-point numbers.
vec< 2, double, aligned_highp > aligned_highp_dvec2
2 components vector of high double-qualifier floating-point numbers.
vec< 2, int, aligned_lowp > aligned_lowp_ivec2
2 components vector of low qualifier signed integer numbers.
aligned_highp_uvec4 aligned_uvec4
4 components vector of unsigned integer numbers.
vec< 3, float, aligned_lowp > aligned_lowp_vec3
3 components vector of low single-qualifier floating-point numbers.
vec< 2, float, aligned_highp > aligned_highp_vec2
2 components vector of high single-qualifier floating-point numbers.
aligned_highp_vec4 aligned_vec4
4 components vector of floating-point numbers.
vec< 2, bool, aligned_mediump > aligned_mediump_bvec2
2 components vector of medium qualifier bool numbers.
vec< 3, bool, aligned_lowp > aligned_lowp_bvec3
3 components vector of low qualifier bool numbers.
aligned_highp_uvec3 aligned_uvec3
3 components vector of unsigned integer numbers.
vec< 2, uint, aligned_mediump > aligned_mediump_uvec2
2 components vector of medium qualifier unsigned integer numbers.
vec< 3, float, aligned_mediump > aligned_mediump_vec3
3 components vector of medium single-qualifier floating-point numbers.
vec< 2, uint, aligned_highp > aligned_highp_uvec2
2 components vector of high qualifier unsigned integer numbers.
vec< 4, double, aligned_mediump > aligned_mediump_dvec4
4 components vector of medium double-qualifier floating-point numbers.
aligned_highp_vec1 aligned_vec1
1 component vector of floating-point numbers.
aligned_highp_uvec1 aligned_uvec1
1 component vector of unsigned integer numbers.
aligned_highp_ivec2 aligned_ivec2
2 components vector of signed integer numbers.
vec< 2, int, aligned_highp > aligned_highp_ivec2
2 components vector of high qualifier signed integer numbers.
vec< 3, uint, aligned_mediump > aligned_mediump_uvec3
3 components vector of medium qualifier unsigned integer numbers.
vec< 4, uint, aligned_highp > aligned_highp_uvec4
4 components vector of high qualifier unsigned integer numbers.
vec< 3, double, aligned_mediump > aligned_mediump_dvec3
3 components vector of medium double-qualifier floating-point numbers.
aligned_highp_vec3 aligned_vec3
3 components vector of floating-point numbers.
aligned_highp_bvec2 aligned_bvec2
2 components vector of boolean.
aligned_highp_ivec4 aligned_ivec4
4 components vector of signed integer numbers.
vec< 3, float, aligned_highp > aligned_highp_vec3
3 components vector of high single-qualifier floating-point numbers.
vec< 3, uint, aligned_highp > aligned_highp_uvec3
3 components vector of high qualifier unsigned integer numbers.
aligned_highp_dvec2 aligned_dvec2
2 components vector of double-qualifier floating-point numbers.
aligned_highp_uvec2 aligned_uvec2
2 components vector of unsigned integer numbers.
vec< 4, bool, aligned_mediump > aligned_mediump_bvec4
4 components vector of medium qualifier bool numbers.