123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819 |
- #pragma once
- #include "detail/qualifier.hpp"
- namespace glm
- {
- #if GLM_HAS_EXTENDED_INTEGER_TYPE
- typedef std::int8_t int8;
- typedef std::int16_t int16;
- typedef std::int32_t int32;
- typedef std::int64_t int64;
- typedef std::uint8_t uint8;
- typedef std::uint16_t uint16;
- typedef std::uint32_t uint32;
- typedef std::uint64_t uint64;
- #else
- typedef char int8;
- typedef short int16;
- typedef int int32;
- typedef detail::int64 int64;
- typedef unsigned char uint8;
- typedef unsigned short uint16;
- typedef unsigned int uint32;
- typedef detail::uint64 uint64;
- #endif
- // Scalar int
- typedef int8 lowp_i8;
- typedef int8 mediump_i8;
- typedef int8 highp_i8;
- typedef int8 i8;
- typedef int8 lowp_int8;
- typedef int8 mediump_int8;
- typedef int8 highp_int8;
- typedef int8 lowp_int8_t;
- typedef int8 mediump_int8_t;
- typedef int8 highp_int8_t;
- typedef int8 int8_t;
- typedef int16 lowp_i16;
- typedef int16 mediump_i16;
- typedef int16 highp_i16;
- typedef int16 i16;
- typedef int16 lowp_int16;
- typedef int16 mediump_int16;
- typedef int16 highp_int16;
- typedef int16 lowp_int16_t;
- typedef int16 mediump_int16_t;
- typedef int16 highp_int16_t;
- typedef int16 int16_t;
- typedef int32 lowp_i32;
- typedef int32 mediump_i32;
- typedef int32 highp_i32;
- typedef int32 i32;
- typedef int32 lowp_int32;
- typedef int32 mediump_int32;
- typedef int32 highp_int32;
- typedef int32 lowp_int32_t;
- typedef int32 mediump_int32_t;
- typedef int32 highp_int32_t;
- typedef int32 int32_t;
- typedef int64 lowp_i64;
- typedef int64 mediump_i64;
- typedef int64 highp_i64;
- typedef int64 i64;
- typedef int64 lowp_int64;
- typedef int64 mediump_int64;
- typedef int64 highp_int64;
- typedef int64 lowp_int64_t;
- typedef int64 mediump_int64_t;
- typedef int64 highp_int64_t;
- typedef int64 int64_t;
- // Scalar uint
- typedef uint8 lowp_u8;
- typedef uint8 mediump_u8;
- typedef uint8 highp_u8;
- typedef uint8 u8;
- typedef uint8 lowp_uint8;
- typedef uint8 mediump_uint8;
- typedef uint8 highp_uint8;
- typedef uint8 lowp_uint8_t;
- typedef uint8 mediump_uint8_t;
- typedef uint8 highp_uint8_t;
- typedef uint8 uint8_t;
- typedef uint16 lowp_u16;
- typedef uint16 mediump_u16;
- typedef uint16 highp_u16;
- typedef uint16 u16;
- typedef uint16 lowp_uint16;
- typedef uint16 mediump_uint16;
- typedef uint16 highp_uint16;
- typedef uint16 lowp_uint16_t;
- typedef uint16 mediump_uint16_t;
- typedef uint16 highp_uint16_t;
- typedef uint16 uint16_t;
- typedef uint32 lowp_u32;
- typedef uint32 mediump_u32;
- typedef uint32 highp_u32;
- typedef uint32 u32;
- typedef uint32 lowp_uint32;
- typedef uint32 mediump_uint32;
- typedef uint32 highp_uint32;
- typedef uint32 lowp_uint32_t;
- typedef uint32 mediump_uint32_t;
- typedef uint32 highp_uint32_t;
- typedef uint32 uint32_t;
- typedef uint64 lowp_u64;
- typedef uint64 mediump_u64;
- typedef uint64 highp_u64;
- typedef uint64 u64;
- typedef uint64 lowp_uint64;
- typedef uint64 mediump_uint64;
- typedef uint64 highp_uint64;
- typedef uint64 lowp_uint64_t;
- typedef uint64 mediump_uint64_t;
- typedef uint64 highp_uint64_t;
- typedef uint64 uint64_t;
- // Scalar float
- typedef float lowp_f32;
- typedef float mediump_f32;
- typedef float highp_f32;
- typedef float f32;
- typedef float lowp_float32;
- typedef float mediump_float32;
- typedef float highp_float32;
- typedef float float32;
- typedef float lowp_float32_t;
- typedef float mediump_float32_t;
- typedef float highp_float32_t;
- typedef float float32_t;
- typedef double lowp_f64;
- typedef double mediump_f64;
- typedef double highp_f64;
- typedef double f64;
- typedef double lowp_float64;
- typedef double mediump_float64;
- typedef double highp_float64;
- typedef double float64;
- typedef double lowp_float64_t;
- typedef double mediump_float64_t;
- typedef double highp_float64_t;
- typedef double float64_t;
- // Vector bool
- typedef vec<1, bool, lowp> lowp_bvec1;
- typedef vec<2, bool, lowp> lowp_bvec2;
- typedef vec<3, bool, lowp> lowp_bvec3;
- typedef vec<4, bool, lowp> lowp_bvec4;
- typedef vec<1, bool, mediump> mediump_bvec1;
- typedef vec<2, bool, mediump> mediump_bvec2;
- typedef vec<3, bool, mediump> mediump_bvec3;
- typedef vec<4, bool, mediump> mediump_bvec4;
- typedef vec<1, bool, highp> highp_bvec1;
- typedef vec<2, bool, highp> highp_bvec2;
- typedef vec<3, bool, highp> highp_bvec3;
- typedef vec<4, bool, highp> highp_bvec4;
- typedef vec<1, bool, defaultp> bvec1;
- typedef vec<2, bool, defaultp> bvec2;
- typedef vec<3, bool, defaultp> bvec3;
- typedef vec<4, bool, defaultp> bvec4;
- // Vector int
- typedef vec<1, i32, lowp> lowp_ivec1;
- typedef vec<2, i32, lowp> lowp_ivec2;
- typedef vec<3, i32, lowp> lowp_ivec3;
- typedef vec<4, i32, lowp> lowp_ivec4;
- typedef vec<1, i32, mediump> mediump_ivec1;
- typedef vec<2, i32, mediump> mediump_ivec2;
- typedef vec<3, i32, mediump> mediump_ivec3;
- typedef vec<4, i32, mediump> mediump_ivec4;
- typedef vec<1, i32, highp> highp_ivec1;
- typedef vec<2, i32, highp> highp_ivec2;
- typedef vec<3, i32, highp> highp_ivec3;
- typedef vec<4, i32, highp> highp_ivec4;
- typedef vec<1, i32, defaultp> ivec1;
- typedef vec<2, i32, defaultp> ivec2;
- typedef vec<3, i32, defaultp> ivec3;
- typedef vec<4, i32, defaultp> ivec4;
- typedef vec<1, i8, lowp> lowp_i8vec1;
- typedef vec<2, i8, lowp> lowp_i8vec2;
- typedef vec<3, i8, lowp> lowp_i8vec3;
- typedef vec<4, i8, lowp> lowp_i8vec4;
- typedef vec<1, i8, mediump> mediump_i8vec1;
- typedef vec<2, i8, mediump> mediump_i8vec2;
- typedef vec<3, i8, mediump> mediump_i8vec3;
- typedef vec<4, i8, mediump> mediump_i8vec4;
- typedef vec<1, i8, highp> highp_i8vec1;
- typedef vec<2, i8, highp> highp_i8vec2;
- typedef vec<3, i8, highp> highp_i8vec3;
- typedef vec<4, i8, highp> highp_i8vec4;
- typedef vec<1, i8, defaultp> i8vec1;
- typedef vec<2, i8, defaultp> i8vec2;
- typedef vec<3, i8, defaultp> i8vec3;
- typedef vec<4, i8, defaultp> i8vec4;
- typedef vec<1, i16, lowp> lowp_i16vec1;
- typedef vec<2, i16, lowp> lowp_i16vec2;
- typedef vec<3, i16, lowp> lowp_i16vec3;
- typedef vec<4, i16, lowp> lowp_i16vec4;
- typedef vec<1, i16, mediump> mediump_i16vec1;
- typedef vec<2, i16, mediump> mediump_i16vec2;
- typedef vec<3, i16, mediump> mediump_i16vec3;
- typedef vec<4, i16, mediump> mediump_i16vec4;
- typedef vec<1, i16, highp> highp_i16vec1;
- typedef vec<2, i16, highp> highp_i16vec2;
- typedef vec<3, i16, highp> highp_i16vec3;
- typedef vec<4, i16, highp> highp_i16vec4;
- typedef vec<1, i16, defaultp> i16vec1;
- typedef vec<2, i16, defaultp> i16vec2;
- typedef vec<3, i16, defaultp> i16vec3;
- typedef vec<4, i16, defaultp> i16vec4;
- typedef vec<1, i32, lowp> lowp_i32vec1;
- typedef vec<2, i32, lowp> lowp_i32vec2;
- typedef vec<3, i32, lowp> lowp_i32vec3;
- typedef vec<4, i32, lowp> lowp_i32vec4;
- typedef vec<1, i32, mediump> mediump_i32vec1;
- typedef vec<2, i32, mediump> mediump_i32vec2;
- typedef vec<3, i32, mediump> mediump_i32vec3;
- typedef vec<4, i32, mediump> mediump_i32vec4;
- typedef vec<1, i32, highp> highp_i32vec1;
- typedef vec<2, i32, highp> highp_i32vec2;
- typedef vec<3, i32, highp> highp_i32vec3;
- typedef vec<4, i32, highp> highp_i32vec4;
- typedef vec<1, i32, defaultp> i32vec1;
- typedef vec<2, i32, defaultp> i32vec2;
- typedef vec<3, i32, defaultp> i32vec3;
- typedef vec<4, i32, defaultp> i32vec4;
- typedef vec<1, i64, lowp> lowp_i64vec1;
- typedef vec<2, i64, lowp> lowp_i64vec2;
- typedef vec<3, i64, lowp> lowp_i64vec3;
- typedef vec<4, i64, lowp> lowp_i64vec4;
- typedef vec<1, i64, mediump> mediump_i64vec1;
- typedef vec<2, i64, mediump> mediump_i64vec2;
- typedef vec<3, i64, mediump> mediump_i64vec3;
- typedef vec<4, i64, mediump> mediump_i64vec4;
- typedef vec<1, i64, highp> highp_i64vec1;
- typedef vec<2, i64, highp> highp_i64vec2;
- typedef vec<3, i64, highp> highp_i64vec3;
- typedef vec<4, i64, highp> highp_i64vec4;
- typedef vec<1, i64, defaultp> i64vec1;
- typedef vec<2, i64, defaultp> i64vec2;
- typedef vec<3, i64, defaultp> i64vec3;
- typedef vec<4, i64, defaultp> i64vec4;
- // Vector uint
- typedef vec<1, u32, lowp> lowp_uvec1;
- typedef vec<2, u32, lowp> lowp_uvec2;
- typedef vec<3, u32, lowp> lowp_uvec3;
- typedef vec<4, u32, lowp> lowp_uvec4;
- typedef vec<1, u32, mediump> mediump_uvec1;
- typedef vec<2, u32, mediump> mediump_uvec2;
- typedef vec<3, u32, mediump> mediump_uvec3;
- typedef vec<4, u32, mediump> mediump_uvec4;
- typedef vec<1, u32, highp> highp_uvec1;
- typedef vec<2, u32, highp> highp_uvec2;
- typedef vec<3, u32, highp> highp_uvec3;
- typedef vec<4, u32, highp> highp_uvec4;
- typedef vec<1, u32, defaultp> uvec1;
- typedef vec<2, u32, defaultp> uvec2;
- typedef vec<3, u32, defaultp> uvec3;
- typedef vec<4, u32, defaultp> uvec4;
- typedef vec<1, u8, lowp> lowp_u8vec1;
- typedef vec<2, u8, lowp> lowp_u8vec2;
- typedef vec<3, u8, lowp> lowp_u8vec3;
- typedef vec<4, u8, lowp> lowp_u8vec4;
- typedef vec<1, u8, mediump> mediump_u8vec1;
- typedef vec<2, u8, mediump> mediump_u8vec2;
- typedef vec<3, u8, mediump> mediump_u8vec3;
- typedef vec<4, u8, mediump> mediump_u8vec4;
- typedef vec<1, u8, highp> highp_u8vec1;
- typedef vec<2, u8, highp> highp_u8vec2;
- typedef vec<3, u8, highp> highp_u8vec3;
- typedef vec<4, u8, highp> highp_u8vec4;
- typedef vec<1, u8, defaultp> u8vec1;
- typedef vec<2, u8, defaultp> u8vec2;
- typedef vec<3, u8, defaultp> u8vec3;
- typedef vec<4, u8, defaultp> u8vec4;
- typedef vec<1, u16, lowp> lowp_u16vec1;
- typedef vec<2, u16, lowp> lowp_u16vec2;
- typedef vec<3, u16, lowp> lowp_u16vec3;
- typedef vec<4, u16, lowp> lowp_u16vec4;
- typedef vec<1, u16, mediump> mediump_u16vec1;
- typedef vec<2, u16, mediump> mediump_u16vec2;
- typedef vec<3, u16, mediump> mediump_u16vec3;
- typedef vec<4, u16, mediump> mediump_u16vec4;
- typedef vec<1, u16, highp> highp_u16vec1;
- typedef vec<2, u16, highp> highp_u16vec2;
- typedef vec<3, u16, highp> highp_u16vec3;
- typedef vec<4, u16, highp> highp_u16vec4;
- typedef vec<1, u16, defaultp> u16vec1;
- typedef vec<2, u16, defaultp> u16vec2;
- typedef vec<3, u16, defaultp> u16vec3;
- typedef vec<4, u16, defaultp> u16vec4;
- typedef vec<1, u32, lowp> lowp_u32vec1;
- typedef vec<2, u32, lowp> lowp_u32vec2;
- typedef vec<3, u32, lowp> lowp_u32vec3;
- typedef vec<4, u32, lowp> lowp_u32vec4;
- typedef vec<1, u32, mediump> mediump_u32vec1;
- typedef vec<2, u32, mediump> mediump_u32vec2;
- typedef vec<3, u32, mediump> mediump_u32vec3;
- typedef vec<4, u32, mediump> mediump_u32vec4;
- typedef vec<1, u32, highp> highp_u32vec1;
- typedef vec<2, u32, highp> highp_u32vec2;
- typedef vec<3, u32, highp> highp_u32vec3;
- typedef vec<4, u32, highp> highp_u32vec4;
- typedef vec<1, u32, defaultp> u32vec1;
- typedef vec<2, u32, defaultp> u32vec2;
- typedef vec<3, u32, defaultp> u32vec3;
- typedef vec<4, u32, defaultp> u32vec4;
- typedef vec<1, u64, lowp> lowp_u64vec1;
- typedef vec<2, u64, lowp> lowp_u64vec2;
- typedef vec<3, u64, lowp> lowp_u64vec3;
- typedef vec<4, u64, lowp> lowp_u64vec4;
- typedef vec<1, u64, mediump> mediump_u64vec1;
- typedef vec<2, u64, mediump> mediump_u64vec2;
- typedef vec<3, u64, mediump> mediump_u64vec3;
- typedef vec<4, u64, mediump> mediump_u64vec4;
- typedef vec<1, u64, highp> highp_u64vec1;
- typedef vec<2, u64, highp> highp_u64vec2;
- typedef vec<3, u64, highp> highp_u64vec3;
- typedef vec<4, u64, highp> highp_u64vec4;
- typedef vec<1, u64, defaultp> u64vec1;
- typedef vec<2, u64, defaultp> u64vec2;
- typedef vec<3, u64, defaultp> u64vec3;
- typedef vec<4, u64, defaultp> u64vec4;
- // Vector float
- typedef vec<1, float, lowp> lowp_vec1;
- typedef vec<2, float, lowp> lowp_vec2;
- typedef vec<3, float, lowp> lowp_vec3;
- typedef vec<4, float, lowp> lowp_vec4;
- typedef vec<1, float, mediump> mediump_vec1;
- typedef vec<2, float, mediump> mediump_vec2;
- typedef vec<3, float, mediump> mediump_vec3;
- typedef vec<4, float, mediump> mediump_vec4;
- typedef vec<1, float, highp> highp_vec1;
- typedef vec<2, float, highp> highp_vec2;
- typedef vec<3, float, highp> highp_vec3;
- typedef vec<4, float, highp> highp_vec4;
- typedef vec<1, float, defaultp> vec1;
- typedef vec<2, float, defaultp> vec2;
- typedef vec<3, float, defaultp> vec3;
- typedef vec<4, float, defaultp> vec4;
- typedef vec<1, float, lowp> lowp_fvec1;
- typedef vec<2, float, lowp> lowp_fvec2;
- typedef vec<3, float, lowp> lowp_fvec3;
- typedef vec<4, float, lowp> lowp_fvec4;
- typedef vec<1, float, mediump> mediump_fvec1;
- typedef vec<2, float, mediump> mediump_fvec2;
- typedef vec<3, float, mediump> mediump_fvec3;
- typedef vec<4, float, mediump> mediump_fvec4;
- typedef vec<1, float, highp> highp_fvec1;
- typedef vec<2, float, highp> highp_fvec2;
- typedef vec<3, float, highp> highp_fvec3;
- typedef vec<4, float, highp> highp_fvec4;
- typedef vec<1, f32, defaultp> fvec1;
- typedef vec<2, f32, defaultp> fvec2;
- typedef vec<3, f32, defaultp> fvec3;
- typedef vec<4, f32, defaultp> fvec4;
- typedef vec<1, f32, lowp> lowp_f32vec1;
- typedef vec<2, f32, lowp> lowp_f32vec2;
- typedef vec<3, f32, lowp> lowp_f32vec3;
- typedef vec<4, f32, lowp> lowp_f32vec4;
- typedef vec<1, f32, mediump> mediump_f32vec1;
- typedef vec<2, f32, mediump> mediump_f32vec2;
- typedef vec<3, f32, mediump> mediump_f32vec3;
- typedef vec<4, f32, mediump> mediump_f32vec4;
- typedef vec<1, f32, highp> highp_f32vec1;
- typedef vec<2, f32, highp> highp_f32vec2;
- typedef vec<3, f32, highp> highp_f32vec3;
- typedef vec<4, f32, highp> highp_f32vec4;
- typedef vec<1, f32, defaultp> f32vec1;
- typedef vec<2, f32, defaultp> f32vec2;
- typedef vec<3, f32, defaultp> f32vec3;
- typedef vec<4, f32, defaultp> f32vec4;
- typedef vec<1, f64, lowp> lowp_dvec1;
- typedef vec<2, f64, lowp> lowp_dvec2;
- typedef vec<3, f64, lowp> lowp_dvec3;
- typedef vec<4, f64, lowp> lowp_dvec4;
- typedef vec<1, f64, mediump> mediump_dvec1;
- typedef vec<2, f64, mediump> mediump_dvec2;
- typedef vec<3, f64, mediump> mediump_dvec3;
- typedef vec<4, f64, mediump> mediump_dvec4;
- typedef vec<1, f64, highp> highp_dvec1;
- typedef vec<2, f64, highp> highp_dvec2;
- typedef vec<3, f64, highp> highp_dvec3;
- typedef vec<4, f64, highp> highp_dvec4;
- typedef vec<1, f64, defaultp> dvec1;
- typedef vec<2, f64, defaultp> dvec2;
- typedef vec<3, f64, defaultp> dvec3;
- typedef vec<4, f64, defaultp> dvec4;
- typedef vec<1, f64, lowp> lowp_f64vec1;
- typedef vec<2, f64, lowp> lowp_f64vec2;
- typedef vec<3, f64, lowp> lowp_f64vec3;
- typedef vec<4, f64, lowp> lowp_f64vec4;
- typedef vec<1, f64, mediump> mediump_f64vec1;
- typedef vec<2, f64, mediump> mediump_f64vec2;
- typedef vec<3, f64, mediump> mediump_f64vec3;
- typedef vec<4, f64, mediump> mediump_f64vec4;
- typedef vec<1, f64, highp> highp_f64vec1;
- typedef vec<2, f64, highp> highp_f64vec2;
- typedef vec<3, f64, highp> highp_f64vec3;
- typedef vec<4, f64, highp> highp_f64vec4;
- typedef vec<1, f64, defaultp> f64vec1;
- typedef vec<2, f64, defaultp> f64vec2;
- typedef vec<3, f64, defaultp> f64vec3;
- typedef vec<4, f64, defaultp> f64vec4;
- // Matrix NxN
- typedef mat<2, 2, f32, lowp> lowp_mat2;
- typedef mat<3, 3, f32, lowp> lowp_mat3;
- typedef mat<4, 4, f32, lowp> lowp_mat4;
- typedef mat<2, 2, f32, mediump> mediump_mat2;
- typedef mat<3, 3, f32, mediump> mediump_mat3;
- typedef mat<4, 4, f32, mediump> mediump_mat4;
- typedef mat<2, 2, f32, highp> highp_mat2;
- typedef mat<3, 3, f32, highp> highp_mat3;
- typedef mat<4, 4, f32, highp> highp_mat4;
- typedef mat<2, 2, f32, defaultp> mat2;
- typedef mat<3, 3, f32, defaultp> mat3;
- typedef mat<4, 4, f32, defaultp> mat4;
- typedef mat<2, 2, f32, lowp> lowp_fmat2;
- typedef mat<3, 3, f32, lowp> lowp_fmat3;
- typedef mat<4, 4, f32, lowp> lowp_fmat4;
- typedef mat<2, 2, f32, mediump> mediump_fmat2;
- typedef mat<3, 3, f32, mediump> mediump_fmat3;
- typedef mat<4, 4, f32, mediump> mediump_fmat4;
- typedef mat<2, 2, f32, highp> highp_fmat2;
- typedef mat<3, 3, f32, highp> highp_fmat3;
- typedef mat<4, 4, f32, highp> highp_fmat4;
- typedef mat<2, 2, f32, defaultp> fmat2;
- typedef mat<3, 3, f32, defaultp> fmat3;
- typedef mat<4, 4, f32, defaultp> fmat4;
- typedef mat<2, 2, f32, lowp> lowp_f32mat2;
- typedef mat<3, 3, f32, lowp> lowp_f32mat3;
- typedef mat<4, 4, f32, lowp> lowp_f32mat4;
- typedef mat<2, 2, f32, mediump> mediump_f32mat2;
- typedef mat<3, 3, f32, mediump> mediump_f32mat3;
- typedef mat<4, 4, f32, mediump> mediump_f32mat4;
- typedef mat<2, 2, f32, highp> highp_f32mat2;
- typedef mat<3, 3, f32, highp> highp_f32mat3;
- typedef mat<4, 4, f32, highp> highp_f32mat4;
- typedef mat<2, 2, f32, defaultp> f32mat2;
- typedef mat<3, 3, f32, defaultp> f32mat3;
- typedef mat<4, 4, f32, defaultp> f32mat4;
- typedef mat<2, 2, f64, lowp> lowp_dmat2;
- typedef mat<3, 3, f64, lowp> lowp_dmat3;
- typedef mat<4, 4, f64, lowp> lowp_dmat4;
- typedef mat<2, 2, f64, mediump> mediump_dmat2;
- typedef mat<3, 3, f64, mediump> mediump_dmat3;
- typedef mat<4, 4, f64, mediump> mediump_dmat4;
- typedef mat<2, 2, f64, highp> highp_dmat2;
- typedef mat<3, 3, f64, highp> highp_dmat3;
- typedef mat<4, 4, f64, highp> highp_dmat4;
- typedef mat<2, 2, f64, defaultp> dmat2;
- typedef mat<3, 3, f64, defaultp> dmat3;
- typedef mat<4, 4, f64, defaultp> dmat4;
- typedef mat<2, 2, f64, lowp> lowp_f64mat2;
- typedef mat<3, 3, f64, lowp> lowp_f64mat3;
- typedef mat<4, 4, f64, lowp> lowp_f64mat4;
- typedef mat<2, 2, f64, mediump> mediump_f64mat2;
- typedef mat<3, 3, f64, mediump> mediump_f64mat3;
- typedef mat<4, 4, f64, mediump> mediump_f64mat4;
- typedef mat<2, 2, f64, highp> highp_f64mat2;
- typedef mat<3, 3, f64, highp> highp_f64mat3;
- typedef mat<4, 4, f64, highp> highp_f64mat4;
- typedef mat<2, 2, f64, defaultp> f64mat2;
- typedef mat<3, 3, f64, defaultp> f64mat3;
- typedef mat<4, 4, f64, defaultp> f64mat4;
- // Matrix MxN
- typedef mat<2, 2, f32, lowp> lowp_mat2x2;
- typedef mat<2, 3, f32, lowp> lowp_mat2x3;
- typedef mat<2, 4, f32, lowp> lowp_mat2x4;
- typedef mat<3, 2, f32, lowp> lowp_mat3x2;
- typedef mat<3, 3, f32, lowp> lowp_mat3x3;
- typedef mat<3, 4, f32, lowp> lowp_mat3x4;
- typedef mat<4, 2, f32, lowp> lowp_mat4x2;
- typedef mat<4, 3, f32, lowp> lowp_mat4x3;
- typedef mat<4, 4, f32, lowp> lowp_mat4x4;
- typedef mat<2, 2, f32, mediump> mediump_mat2x2;
- typedef mat<2, 3, f32, mediump> mediump_mat2x3;
- typedef mat<2, 4, f32, mediump> mediump_mat2x4;
- typedef mat<3, 2, f32, mediump> mediump_mat3x2;
- typedef mat<3, 3, f32, mediump> mediump_mat3x3;
- typedef mat<3, 4, f32, mediump> mediump_mat3x4;
- typedef mat<4, 2, f32, mediump> mediump_mat4x2;
- typedef mat<4, 3, f32, mediump> mediump_mat4x3;
- typedef mat<4, 4, f32, mediump> mediump_mat4x4;
- typedef mat<2, 2, f32, highp> highp_mat2x2;
- typedef mat<2, 3, f32, highp> highp_mat2x3;
- typedef mat<2, 4, f32, highp> highp_mat2x4;
- typedef mat<3, 2, f32, highp> highp_mat3x2;
- typedef mat<3, 3, f32, highp> highp_mat3x3;
- typedef mat<3, 4, f32, highp> highp_mat3x4;
- typedef mat<4, 2, f32, highp> highp_mat4x2;
- typedef mat<4, 3, f32, highp> highp_mat4x3;
- typedef mat<4, 4, f32, highp> highp_mat4x4;
- typedef mat<2, 2, f32, defaultp> mat2x2;
- typedef mat<3, 2, f32, defaultp> mat3x2;
- typedef mat<4, 2, f32, defaultp> mat4x2;
- typedef mat<2, 3, f32, defaultp> mat2x3;
- typedef mat<3, 3, f32, defaultp> mat3x3;
- typedef mat<4, 3, f32, defaultp> mat4x3;
- typedef mat<2, 4, f32, defaultp> mat2x4;
- typedef mat<3, 4, f32, defaultp> mat3x4;
- typedef mat<4, 4, f32, defaultp> mat4x4;
- typedef mat<2, 2, f32, lowp> lowp_fmat2x2;
- typedef mat<2, 3, f32, lowp> lowp_fmat2x3;
- typedef mat<2, 4, f32, lowp> lowp_fmat2x4;
- typedef mat<3, 2, f32, lowp> lowp_fmat3x2;
- typedef mat<3, 3, f32, lowp> lowp_fmat3x3;
- typedef mat<3, 4, f32, lowp> lowp_fmat3x4;
- typedef mat<4, 2, f32, lowp> lowp_fmat4x2;
- typedef mat<4, 3, f32, lowp> lowp_fmat4x3;
- typedef mat<4, 4, f32, lowp> lowp_fmat4x4;
- typedef mat<2, 2, f32, mediump> mediump_fmat2x2;
- typedef mat<2, 3, f32, mediump> mediump_fmat2x3;
- typedef mat<2, 4, f32, mediump> mediump_fmat2x4;
- typedef mat<3, 2, f32, mediump> mediump_fmat3x2;
- typedef mat<3, 3, f32, mediump> mediump_fmat3x3;
- typedef mat<3, 4, f32, mediump> mediump_fmat3x4;
- typedef mat<4, 2, f32, mediump> mediump_fmat4x2;
- typedef mat<4, 3, f32, mediump> mediump_fmat4x3;
- typedef mat<4, 4, f32, mediump> mediump_fmat4x4;
- typedef mat<2, 2, f32, highp> highp_fmat2x2;
- typedef mat<2, 3, f32, highp> highp_fmat2x3;
- typedef mat<2, 4, f32, highp> highp_fmat2x4;
- typedef mat<3, 2, f32, highp> highp_fmat3x2;
- typedef mat<3, 3, f32, highp> highp_fmat3x3;
- typedef mat<3, 4, f32, highp> highp_fmat3x4;
- typedef mat<4, 2, f32, highp> highp_fmat4x2;
- typedef mat<4, 3, f32, highp> highp_fmat4x3;
- typedef mat<4, 4, f32, highp> highp_fmat4x4;
- typedef mat<2, 2, f32, defaultp> fmat2x2;
- typedef mat<3, 2, f32, defaultp> fmat3x2;
- typedef mat<4, 2, f32, defaultp> fmat4x2;
- typedef mat<2, 3, f32, defaultp> fmat2x3;
- typedef mat<3, 3, f32, defaultp> fmat3x3;
- typedef mat<4, 3, f32, defaultp> fmat4x3;
- typedef mat<2, 4, f32, defaultp> fmat2x4;
- typedef mat<3, 4, f32, defaultp> fmat3x4;
- typedef mat<4, 4, f32, defaultp> fmat4x4;
- typedef mat<2, 2, f32, lowp> lowp_f32mat2x2;
- typedef mat<2, 3, f32, lowp> lowp_f32mat2x3;
- typedef mat<2, 4, f32, lowp> lowp_f32mat2x4;
- typedef mat<3, 2, f32, lowp> lowp_f32mat3x2;
- typedef mat<3, 3, f32, lowp> lowp_f32mat3x3;
- typedef mat<3, 4, f32, lowp> lowp_f32mat3x4;
- typedef mat<4, 2, f32, lowp> lowp_f32mat4x2;
- typedef mat<4, 3, f32, lowp> lowp_f32mat4x3;
- typedef mat<4, 4, f32, lowp> lowp_f32mat4x4;
-
- typedef mat<2, 2, f32, mediump> mediump_f32mat2x2;
- typedef mat<2, 3, f32, mediump> mediump_f32mat2x3;
- typedef mat<2, 4, f32, mediump> mediump_f32mat2x4;
- typedef mat<3, 2, f32, mediump> mediump_f32mat3x2;
- typedef mat<3, 3, f32, mediump> mediump_f32mat3x3;
- typedef mat<3, 4, f32, mediump> mediump_f32mat3x4;
- typedef mat<4, 2, f32, mediump> mediump_f32mat4x2;
- typedef mat<4, 3, f32, mediump> mediump_f32mat4x3;
- typedef mat<4, 4, f32, mediump> mediump_f32mat4x4;
- typedef mat<2, 2, f32, highp> highp_f32mat2x2;
- typedef mat<2, 3, f32, highp> highp_f32mat2x3;
- typedef mat<2, 4, f32, highp> highp_f32mat2x4;
- typedef mat<3, 2, f32, highp> highp_f32mat3x2;
- typedef mat<3, 3, f32, highp> highp_f32mat3x3;
- typedef mat<3, 4, f32, highp> highp_f32mat3x4;
- typedef mat<4, 2, f32, highp> highp_f32mat4x2;
- typedef mat<4, 3, f32, highp> highp_f32mat4x3;
- typedef mat<4, 4, f32, highp> highp_f32mat4x4;
- typedef mat<2, 2, f32, defaultp> f32mat2x2;
- typedef mat<3, 2, f32, defaultp> f32mat3x2;
- typedef mat<4, 2, f32, defaultp> f32mat4x2;
- typedef mat<2, 3, f32, defaultp> f32mat2x3;
- typedef mat<3, 3, f32, defaultp> f32mat3x3;
- typedef mat<4, 3, f32, defaultp> f32mat4x3;
- typedef mat<2, 4, f32, defaultp> f32mat2x4;
- typedef mat<3, 4, f32, defaultp> f32mat3x4;
- typedef mat<4, 4, f32, defaultp> f32mat4x4;
- typedef mat<2, 2, double, lowp> lowp_dmat2x2;
- typedef mat<2, 3, double, lowp> lowp_dmat2x3;
- typedef mat<2, 4, double, lowp> lowp_dmat2x4;
- typedef mat<3, 2, double, lowp> lowp_dmat3x2;
- typedef mat<3, 3, double, lowp> lowp_dmat3x3;
- typedef mat<3, 4, double, lowp> lowp_dmat3x4;
- typedef mat<4, 2, double, lowp> lowp_dmat4x2;
- typedef mat<4, 3, double, lowp> lowp_dmat4x3;
- typedef mat<4, 4, double, lowp> lowp_dmat4x4;
- typedef mat<2, 2, double, mediump> mediump_dmat2x2;
- typedef mat<2, 3, double, mediump> mediump_dmat2x3;
- typedef mat<2, 4, double, mediump> mediump_dmat2x4;
- typedef mat<3, 2, double, mediump> mediump_dmat3x2;
- typedef mat<3, 3, double, mediump> mediump_dmat3x3;
- typedef mat<3, 4, double, mediump> mediump_dmat3x4;
- typedef mat<4, 2, double, mediump> mediump_dmat4x2;
- typedef mat<4, 3, double, mediump> mediump_dmat4x3;
- typedef mat<4, 4, double, mediump> mediump_dmat4x4;
- typedef mat<2, 2, double, highp> highp_dmat2x2;
- typedef mat<2, 3, double, highp> highp_dmat2x3;
- typedef mat<2, 4, double, highp> highp_dmat2x4;
- typedef mat<3, 2, double, highp> highp_dmat3x2;
- typedef mat<3, 3, double, highp> highp_dmat3x3;
- typedef mat<3, 4, double, highp> highp_dmat3x4;
- typedef mat<4, 2, double, highp> highp_dmat4x2;
- typedef mat<4, 3, double, highp> highp_dmat4x3;
- typedef mat<4, 4, double, highp> highp_dmat4x4;
- typedef mat<2, 2, double, defaultp> dmat2x2;
- typedef mat<3, 2, double, defaultp> dmat3x2;
- typedef mat<4, 2, double, defaultp> dmat4x2;
- typedef mat<2, 3, double, defaultp> dmat2x3;
- typedef mat<3, 3, double, defaultp> dmat3x3;
- typedef mat<4, 3, double, defaultp> dmat4x3;
- typedef mat<2, 4, double, defaultp> dmat2x4;
- typedef mat<3, 4, double, defaultp> dmat3x4;
- typedef mat<4, 4, double, defaultp> dmat4x4;
- typedef mat<2, 2, f64, lowp> lowp_f64mat2x2;
- typedef mat<2, 3, f64, lowp> lowp_f64mat2x3;
- typedef mat<2, 4, f64, lowp> lowp_f64mat2x4;
- typedef mat<3, 2, f64, lowp> lowp_f64mat3x2;
- typedef mat<3, 3, f64, lowp> lowp_f64mat3x3;
- typedef mat<3, 4, f64, lowp> lowp_f64mat3x4;
- typedef mat<4, 2, f64, lowp> lowp_f64mat4x2;
- typedef mat<4, 3, f64, lowp> lowp_f64mat4x3;
- typedef mat<4, 4, f64, lowp> lowp_f64mat4x4;
- typedef mat<2, 2, f64, mediump> mediump_f64mat2x2;
- typedef mat<2, 3, f64, mediump> mediump_f64mat2x3;
- typedef mat<2, 4, f64, mediump> mediump_f64mat2x4;
- typedef mat<3, 2, f64, mediump> mediump_f64mat3x2;
- typedef mat<3, 3, f64, mediump> mediump_f64mat3x3;
- typedef mat<3, 4, f64, mediump> mediump_f64mat3x4;
- typedef mat<4, 2, f64, mediump> mediump_f64mat4x2;
- typedef mat<4, 3, f64, mediump> mediump_f64mat4x3;
- typedef mat<4, 4, f64, mediump> mediump_f64mat4x4;
- typedef mat<2, 2, f64, highp> highp_f64mat2x2;
- typedef mat<2, 3, f64, highp> highp_f64mat2x3;
- typedef mat<2, 4, f64, highp> highp_f64mat2x4;
- typedef mat<3, 2, f64, highp> highp_f64mat3x2;
- typedef mat<3, 3, f64, highp> highp_f64mat3x3;
- typedef mat<3, 4, f64, highp> highp_f64mat3x4;
- typedef mat<4, 2, f64, highp> highp_f64mat4x2;
- typedef mat<4, 3, f64, highp> highp_f64mat4x3;
- typedef mat<4, 4, f64, highp> highp_f64mat4x4;
- typedef mat<2, 2, f64, defaultp> f64mat2x2;
- typedef mat<3, 2, f64, defaultp> f64mat3x2;
- typedef mat<4, 2, f64, defaultp> f64mat4x2;
- typedef mat<2, 3, f64, defaultp> f64mat2x3;
- typedef mat<3, 3, f64, defaultp> f64mat3x3;
- typedef mat<4, 3, f64, defaultp> f64mat4x3;
- typedef mat<2, 4, f64, defaultp> f64mat2x4;
- typedef mat<3, 4, f64, defaultp> f64mat3x4;
- typedef mat<4, 4, f64, defaultp> f64mat4x4;
- // Quaternion
- typedef qua<float, lowp> lowp_quat;
- typedef qua<float, mediump> mediump_quat;
- typedef qua<float, highp> highp_quat;
- typedef qua<float, defaultp> quat;
- typedef qua<float, lowp> lowp_fquat;
- typedef qua<float, mediump> mediump_fquat;
- typedef qua<float, highp> highp_fquat;
- typedef qua<float, defaultp> fquat;
- typedef qua<f32, lowp> lowp_f32quat;
- typedef qua<f32, mediump> mediump_f32quat;
- typedef qua<f32, highp> highp_f32quat;
- typedef qua<f32, defaultp> f32quat;
- typedef qua<double, lowp> lowp_dquat;
- typedef qua<double, mediump> mediump_dquat;
- typedef qua<double, highp> highp_dquat;
- typedef qua<double, defaultp> dquat;
- typedef qua<f64, lowp> lowp_f64quat;
- typedef qua<f64, mediump> mediump_f64quat;
- typedef qua<f64, highp> highp_f64quat;
- typedef qua<f64, defaultp> f64quat;
- }//namespace glm
|