19 #include "../gtc/type_precision.hpp" 20 #include "../gtc/quaternion.hpp" 22 #ifndef GLM_ENABLE_EXPERIMENTAL 23 # error "GLM: GLM_GTX_type_aligned is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." 26 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED) 27 # pragma message("GLM: GLM_GTX_type_aligned extension included") 634 # ifndef GLM_FORCE_SINGLE_ONLY 648 # endif//GLM_FORCE_SINGLE_ONLY 719 # ifndef GLM_FORCE_SINGLE_ONLY 737 # endif//GLM_FORCE_SINGLE_ONLY 892 # ifndef GLM_FORCE_SINGLE_ONLY 951 # endif//GLM_FORCE_SINGLE_ONLY 973 # ifndef GLM_FORCE_SINGLE_ONLY 979 # endif//GLM_FORCE_SINGLE_ONLY 984 #include "type_aligned.inl" vec< 1, u64, defaultp > u64vec1
Default qualifier 64 bit unsigned integer scalar type.
uint16 highp_u16
High qualifier 16 bit unsigned integer type.
vec< 4, f32, defaultp > fvec4
Single-qualifier floating-point vector of 4 components.
vec< 4, double, defaultp > dvec4
4 components vector of double-precision floating-point numbers.
qua< float, defaultp > quat
Quaternion of single-precision floating-point numbers.
mat< 3, 4, f32, defaultp > fmat3x4
Single-qualifier floating-point 3x4 matrix.
mat< 4, 4, f64, defaultp > f64mat4x4
Double-qualifier floating-point 4x4 matrix.
int32 lowp_int32
Low qualifier 32 bit signed integer type.
vec< 3, double, defaultp > dvec3
3 components vector of double-precision floating-point numbers.
mat< 4, 4, f32, defaultp > f32mat4x4
Single-qualifier floating-point 4x4 matrix.
vec< 3, float, defaultp > vec3
3 components vector of single-precision floating-point numbers.
detail::uint64 uint64
64 bit unsigned integer type.
uint8 lowp_uint8_t
Low qualifier 8 bit unsigned integer type.
mat< 3, 3, float, defaultp > mat3
3 columns of 3 components matrix of single-precision floating-point numbers.
vec< 2, f32, defaultp > f32vec2
Single-qualifier floating-point vector of 2 components.
int8 int8_t
8 bit signed integer type.
mat< 4, 2, f32, defaultp > fmat4x2
Single-qualifier floating-point 4x2 matrix.
vec< 4, i32, defaultp > i32vec4
32 bit signed integer vector of 4 components type.
uint32 uint32_t
Default qualifier 32 bit unsigned integer type.
vec< 1, u8, defaultp > u8vec1
Default qualifier 8 bit unsigned integer scalar type.
mat< 2, 3, f32, defaultp > fmat2x3
Single-qualifier floating-point 2x3 matrix.
uint64 mediump_uint64_t
Medium qualifier 64 bit unsigned integer type.
aligned_highp_uvec1 aligned_uvec1
1 component vector aligned in memory of unsigned integer numbers.
vec< 4, unsigned int, defaultp > uvec4
4 components vector of unsigned integer numbers.
uint64 u64
Default qualifier 64 bit unsigned integer type.
int32 i32
32 bit signed integer type.
int16 lowp_int16
Low qualifier 16 bit signed integer type.
vec< 4, f64, defaultp > f64vec4
Double-qualifier floating-point vector of 4 components.
uint64 highp_uint64_t
High qualifier 64 bit unsigned integer type.
vec< 1, u32, defaultp > u32vec1
Default qualifier 32 bit unsigned integer scalar type.
qua< f64, defaultp > f64quat
Double-qualifier floating-point quaternion.
vec< 3, f64, defaultp > f64vec3
Double-qualifier floating-point vector of 3 components.
mat< 2, 3, f64, defaultp > f64mat2x3
Double-qualifier floating-point 2x3 matrix.
int64 highp_int64
High qualifier 64 bit signed integer type.
vec< 2, f64, defaultp > f64vec2
Double-qualifier floating-point vector of 2 components.
mat< 3, 2, f64, defaultp > f64mat3x2
Double-qualifier floating-point 3x2 matrix.
vec< 1, u16, defaultp > u16vec1
Default qualifier 16 bit unsigned integer scalar type.
int16 highp_i16
High qualifier 16 bit signed integer type.
mat< 4, 4, float, defaultp > mat4
4 columns of 4 components matrix of single-precision floating-point numbers.
uint8 u8
Default qualifier 8 bit unsigned integer type.
uint32 mediump_u32
Medium qualifier 32 bit unsigned integer type.
aligned_highp_vec3 aligned_vec3
3 components vector aligned in memory of single-precision floating-point numbers. ...
aligned_highp_ivec2 aligned_ivec2
2 components vector aligned in memory of signed integer numbers.
mat< 3, 3, f64, defaultp > f64mat3x3
Double-qualifier floating-point 3x3 matrix.
int64 mediump_i64
Medium qualifier 64 bit signed integer type.
vec< 4, u8, defaultp > u8vec4
Default qualifier 8 bit unsigned integer vector of 4 components type.
uint8 lowp_uint8
Low qualifier 8 bit unsigned integer type.
uint16 uint16_t
Default qualifier 16 bit unsigned integer type.
vec< 2, float, defaultp > vec2
2 components vector of single-precision floating-point numbers.
uint32 highp_u32
High qualifier 32 bit unsigned integer type.
aligned_highp_ivec4 aligned_ivec4
4 components vector aligned in memory of signed integer numbers.
vec< 2, int, defaultp > ivec2
2 components vector of signed integer numbers.
uint32 highp_uint32
High qualifier 32 bit unsigned integer type.
aligned_highp_ivec3 aligned_ivec3
3 components vector aligned in memory of signed integer numbers.
vec< 3, f32, defaultp > f32vec3
Single-qualifier floating-point vector of 3 components.
int64 lowp_i64
Low qualifier 64 bit signed integer type.
uint16 lowp_u16
Low qualifier 16 bit unsigned integer type.
uint8 highp_uint8
High qualifier 8 bit unsigned integer type.
vec< 1, i8, defaultp > i8vec1
8 bit signed integer scalar type.
mat< 2, 4, f32, defaultp > fmat2x4
Single-qualifier floating-point 2x4 matrix.
vec< 3, f32, defaultp > fvec3
Single-qualifier floating-point vector of 3 components.
vec< 4, i64, defaultp > i64vec4
64 bit signed integer vector of 4 components type.
vec< 3, i64, defaultp > i64vec3
64 bit signed integer vector of 3 components type.
vec< 1, f32, defaultp > fvec1
Single-qualifier floating-point vector of 1 component.
mat< 2, 2, f32, defaultp > f32mat2x2
Single-qualifier floating-point 1x1 matrix.
int8 mediump_int8
Medium qualifier 8 bit signed integer type.
mat< 2, 4, f64, defaultp > f64mat2x4
Double-qualifier floating-point 2x4 matrix.
mat< 4, 4, f32, defaultp > fmat4x4
Single-qualifier floating-point 4x4 matrix.
uint16 u16
Default qualifier 16 bit unsigned integer type.
int64 int64_t
64 bit signed integer type.
int16 lowp_int16_t
Low qualifier 16 bit signed integer type.
mat< 3, 4, f32, defaultp > f32mat3x4
Single-qualifier floating-point 3x4 matrix.
uint8 mediump_uint8_t
Medium qualifier 8 bit unsigned integer type.
int32 int32_t
32 bit signed integer type.
int16 lowp_i16
Low qualifier 16 bit signed integer type.
GLM_ALIGNED_TYPEDEF(f64quat, aligned_f64quat, 32)
Double-qualifier floating-point aligned quaternion.
vec< 1, i16, defaultp > i16vec1
16 bit signed integer scalar type.
aligned_highp_mat3 aligned_mat3
3 by 3 matrix tightly aligned in memory of single-precision floating-point numbers.
uint8 uint8_t
Default qualifier 8 bit unsigned integer type.
mat< 3, 2, f32, defaultp > fmat3x2
Single-qualifier floating-point 3x2 matrix.
int16 highp_int16
High qualifier 16 bit signed integer type.
vec< 2, unsigned int, defaultp > uvec2
2 components vector of unsigned integer numbers.
mat< 4, 3, f32, defaultp > fmat4x3
Single-qualifier floating-point 4x3 matrix.
int16 int16_t
16 bit signed integer type.
int64 i64
64 bit signed integer type.
int64 mediump_int64_t
Medium qualifier 64 bit signed integer type.
aligned_highp_dvec4 aligned_dvec4
4 components vector aligned in memory of double-precision floating-point numbers. ...
vec< 2, i64, defaultp > i64vec2
64 bit signed integer vector of 2 components type.
int32 mediump_int32
Medium qualifier 32 bit signed integer type.
vec< 4, u64, defaultp > u64vec4
Default qualifier 64 bit unsigned integer vector of 4 components type.
vec< 3, u8, defaultp > u8vec3
Default qualifier 8 bit unsigned integer vector of 3 components type.
int64 lowp_int64_t
Low qualifier 64 bit signed integer type.
int8 mediump_int8_t
Medium qualifier 8 bit signed integer type.
uint16 highp_uint16
High qualifier 16 bit unsigned integer type.
int8 mediump_i8
Medium qualifier 8 bit signed integer type.
aligned_highp_uvec3 aligned_uvec3
3 components vector aligned in memory of unsigned integer numbers.
aligned_highp_vec2 aligned_vec2
2 components vector aligned in memory of single-precision floating-point numbers. ...
int32 highp_int32_t
32 bit signed integer type.
mat< 4, 3, f32, defaultp > f32mat4x3
Single-qualifier floating-point 4x3 matrix.
uint16 lowp_uint16_t
Low qualifier 16 bit unsigned integer type.
vec< 2, double, defaultp > dvec2
2 components vector of double-precision floating-point numbers.
vec< 3, u16, defaultp > u16vec3
Default qualifier 16 bit unsigned integer vector of 3 components type.
uint8 lowp_u8
Low qualifier 8 bit unsigned integer type.
aligned_highp_vec1 aligned_vec1
1 component vector aligned in memory of single-precision floating-point numbers.
vec< 1, i64, defaultp > i64vec1
64 bit signed integer scalar type.
uint64 lowp_uint64
Low qualifier 64 bit unsigned integer type.
uint16 mediump_uint16
Medium qualifier 16 bit unsigned integer type.
vec< 3, i8, defaultp > i8vec3
8 bit signed integer vector of 3 components type.
mat< 2, 4, f32, defaultp > f32mat2x4
Single-qualifier floating-point 2x4 matrix.
aligned_highp_mat4 aligned_mat4
4 by 4 matrix tightly aligned in memory of single-precision floating-point numbers.
aligned_highp_uvec2 aligned_uvec2
2 components vector aligned in memory of unsigned integer numbers.
uint16 highp_uint16_t
High qualifier 16 bit unsigned integer type.
aligned_highp_mat2 aligned_mat2
2 by 2 matrix tightly aligned in memory of single-precision floating-point numbers.
aligned_highp_dvec1 aligned_dvec1
1 component vector aligned in memory of double-precision floating-point numbers.
vec< 2, i8, defaultp > i8vec2
8 bit signed integer vector of 2 components type.
vec< 1, f32, defaultp > f32vec1
Single-qualifier floating-point vector of 1 component.
mat< 3, 2, f32, defaultp > f32mat3x2
Single-qualifier floating-point 3x2 matrix.
aligned_highp_vec4 aligned_vec4
4 components vector aligned in memory of single-precision floating-point numbers. ...
mat< 3, 3, float, defaultp > mat3x3
3 columns of 3 components matrix of single-precision floating-point numbers.
vec< 3, i32, defaultp > i32vec3
32 bit signed integer vector of 3 components type.
uint8 mediump_uint8
Medium qualifier 8 bit unsigned integer type.
aligned_highp_uvec4 aligned_uvec4
4 components vector aligned in memory of unsigned integer numbers.
vec< 3, int, defaultp > ivec3
3 components vector of signed integer numbers.
uint32 lowp_u32
Low qualifier 32 bit unsigned integer type.
int8 highp_int8_t
High qualifier 8 bit signed integer type.
vec< 4, i8, defaultp > i8vec4
8 bit signed integer vector of 4 components type.
aligned_highp_ivec1 aligned_ivec1
1 component vector aligned in memory of signed integer numbers.
uint64 highp_uint64
High qualifier 64 bit unsigned integer type.
aligned_highp_mat3x3 aligned_mat3x3
3 by 3 matrix tightly aligned in memory of single-precision floating-point numbers.
uint32 lowp_uint32
Low qualifier 32 bit unsigned integer type.
vec< 2, i16, defaultp > i16vec2
16 bit signed integer vector of 2 components type.
uint32 mediump_uint32_t
Medium qualifier 32 bit unsigned integer type.
uint16 mediump_u16
Medium qualifier 16 bit unsigned integer type.
mat< 3, 3, f32, defaultp > f32mat3x3
Single-qualifier floating-point 3x3 matrix.
vec< 1, float, defaultp > vec1
1 components vector of single-precision floating-point numbers.
uint32 u32
Default qualifier 32 bit unsigned integer type.
vec< 2, u16, defaultp > u16vec2
Default qualifier 16 bit unsigned integer vector of 2 components type.
vec< 4, i16, defaultp > i16vec4
16 bit signed integer vector of 4 components type.
vec< 3, u32, defaultp > u32vec3
Default qualifier 32 bit unsigned integer vector of 3 components type.
aligned_highp_dvec3 aligned_dvec3
3 components vector aligned in memory of double-precision floating-point numbers. ...
int64 highp_i64
High qualifier 64 bit signed integer type.
int64 lowp_int64
Low qualifier 64 bit signed integer type.
int64 highp_int64_t
High qualifier 64 bit signed integer type.
mat< 3, 3, f32, defaultp > fmat3x3
Single-qualifier floating-point 3x3 matrix.
vec< 2, u32, defaultp > u32vec2
Default qualifier 32 bit unsigned integer vector of 2 components type.
int8 i8
8 bit signed integer type.
vec< 4, u32, defaultp > u32vec4
Default qualifier 32 bit unsigned integer vector of 4 components type.
uint16 lowp_uint16
Low qualifier 16 bit unsigned integer type.
uint8 highp_uint8_t
High qualifier 8 bit unsigned integer type.
mat< 2, 2, f32, defaultp > fmat2x2
Single-qualifier floating-point 1x1 matrix.
int8 highp_i8
High qualifier 8 bit signed integer type.
vec< 1, int, defaultp > ivec1
1 component vector of signed integer numbers.
mat< 2, 2, f64, defaultp > f64mat2x2
Double-qualifier floating-point 1x1 matrix.
uint32 lowp_uint32_t
Low qualifier 32 bit unsigned integer type.
int8 lowp_i8
Low qualifier 8 bit signed integer type.
mat< 4, 2, f32, defaultp > f32mat4x2
Single-qualifier floating-point 4x2 matrix.
int32 lowp_i32
Low qualifier 32 bit signed integer type.
vec< 2, u8, defaultp > u8vec2
Default qualifier 8 bit unsigned integer vector of 2 components type.
mat< 2, 2, float, defaultp > mat2x2
2 columns of 2 components matrix of single-precision floating-point numbers.
vec< 1, double, defaultp > dvec1
1 components vector of double-precision floating-point numbers.
int16 highp_int16_t
High qualifier 16 bit signed integer type.
int8 lowp_int8_t
Low qualifier 8 bit signed integer type.
uint16 mediump_uint16_t
Medium qualifier 16 bit unsigned integer type.
aligned_highp_dvec2 aligned_dvec2
2 components vector aligned in memory of double-precision floating-point numbers. ...
vec< 1, i32, defaultp > i32vec1
32 bit signed integer scalar type.
int16 mediump_i16
Medium qualifier 16 bit signed integer type.
vec< 1, f64, defaultp > f64vec1
Double-qualifier floating-point vector of 1 component.
mat< 2, 3, f32, defaultp > f32mat2x3
Single-qualifier floating-point 2x3 matrix.
uint64 lowp_uint64_t
Low qualifier 64 bit unsigned integer type.
int32 highp_int32
High qualifier 32 bit signed integer type.
int8 highp_int8
High qualifier 8 bit signed integer type.
double float64_t
Default 64 bit double-qualifier floating-point scalar.
vec< 3, i16, defaultp > i16vec3
16 bit signed integer vector of 3 components type.
uint32 mediump_uint32
Medium qualifier 32 bit unsigned integer type.
uint8 highp_u8
High qualifier 8 bit unsigned integer type.
qua< double, defaultp > dquat
Quaternion of double-precision floating-point numbers.
int32 mediump_int32_t
Medium qualifier 32 bit signed integer type.
int64 mediump_int64
Medium qualifier 64 bit signed integer type.
mat< 4, 3, f64, defaultp > f64mat4x3
Double-qualifier floating-point 4x3 matrix.
detail::int64 int64
64 bit signed integer type.
vec< 4, u16, defaultp > u16vec4
Default qualifier 16 bit unsigned integer vector of 4 components type.
mat< 4, 4, float, defaultp > mat4x4
4 columns of 4 components matrix of single-precision floating-point numbers.
mat< 3, 4, f64, defaultp > f64mat3x4
Double-qualifier floating-point 3x4 matrix.
float float32_t
Default 32 bit single-qualifier floating-point scalar.
vec< 4, float, defaultp > vec4
4 components vector of single-precision floating-point numbers.
vec< 2, i32, defaultp > i32vec2
32 bit signed integer vector of 2 components type.
uint32 highp_uint32_t
High qualifier 32 bit unsigned integer type.
aligned_highp_mat4x4 aligned_mat4x4
4 by 4 matrix tightly aligned in memory of single-precision floating-point numbers.
int16 mediump_int16
Medium qualifier 16 bit signed integer type.
int32 mediump_i32
Medium qualifier 32 bit signed integer type.
uint64 lowp_u64
Low qualifier 64 bit unsigned integer type.
aligned_highp_mat2x2 aligned_mat2x2
2 by 2 matrix tightly aligned in memory of single-precision floating-point numbers.
uint64 highp_u64
High qualifier 64 bit unsigned integer type.
vec< 4, int, defaultp > ivec4
4 components vector of signed integer numbers.
uint64 mediump_uint64
Medium qualifier 64 bit unsigned integer type.
mat< 4, 2, f64, defaultp > f64mat4x2
Double-qualifier floating-point 4x2 matrix.
vec< 3, unsigned int, defaultp > uvec3
3 components vector of unsigned integer numbers.
uint64 uint64_t
Default qualifier 64 bit unsigned integer type.
mat< 2, 2, float, defaultp > mat2
2 columns of 2 components matrix of single-precision floating-point numbers.
int16 mediump_int16_t
Medium qualifier 16 bit signed integer type.
int32 lowp_int32_t
Low qualifier 32 bit signed integer type.
qua< f32, defaultp > f32quat
Single-qualifier floating-point quaternion.
vec< 2, u64, defaultp > u64vec2
Default qualifier 64 bit unsigned integer vector of 2 components type.
int32 highp_i32
High qualifier 32 bit signed integer type.
uint8 mediump_u8
Medium qualifier 8 bit unsigned integer type.
vec< 3, u64, defaultp > u64vec3
Default qualifier 64 bit unsigned integer vector of 3 components type.
int16 i16
16 bit signed integer type.
vec< 4, f32, defaultp > f32vec4
Single-qualifier floating-point vector of 4 components.
uint64 mediump_u64
Medium qualifier 64 bit unsigned integer type.
vec< 2, f32, defaultp > fvec2
Single-qualifier floating-point vector of 2 components.
vec< 1, unsigned int, defaultp > uvec1
1 component vector of unsigned integer numbers.
int8 lowp_int8
Low qualifier 8 bit signed integer type.