123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682 |
- #pragma once
- #define GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, CONST, A, B) \
- vec<2, T, Q> A ## B() CONST \
- { \
- return vec<2, T, Q>(this->A, this->B); \
- }
- #define GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, CONST, A, B, C) \
- vec<3, T, Q> A ## B ## C() CONST \
- { \
- return vec<3, T, Q>(this->A, this->B, this->C); \
- }
- #define GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, CONST, A, B, C, D) \
- vec<4, T, Q> A ## B ## C ## D() CONST \
- { \
- return vec<4, T, Q>(this->A, this->B, this->C, this->D); \
- }
- #define GLM_SWIZZLE_GEN_VEC2_ENTRY_DEF(T, P, L, CONST, A, B) \
- template<typename T> \
- vec<L, T, Q> vec<L, T, Q>::A ## B() CONST \
- { \
- return vec<2, T, Q>(this->A, this->B); \
- }
- #define GLM_SWIZZLE_GEN_VEC3_ENTRY_DEF(T, P, L, CONST, A, B, C) \
- template<typename T> \
- vec<3, T, Q> vec<L, T, Q>::A ## B ## C() CONST \
- { \
- return vec<3, T, Q>(this->A, this->B, this->C); \
- }
- #define GLM_SWIZZLE_GEN_VEC4_ENTRY_DEF(T, P, L, CONST, A, B, C, D) \
- template<typename T> \
- vec<4, T, Q> vec<L, T, Q>::A ## B ## C ## D() CONST \
- { \
- return vec<4, T, Q>(this->A, this->B, this->C, this->D); \
- }
- #define GLM_MUTABLE
- #define GLM_SWIZZLE_GEN_REF2_FROM_VEC2_SWIZZLE(T, P, A, B) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, 2, GLM_MUTABLE, A, B) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, 2, GLM_MUTABLE, B, A)
- #define GLM_SWIZZLE_GEN_REF_FROM_VEC2(T, P) \
- GLM_SWIZZLE_GEN_REF2_FROM_VEC2_SWIZZLE(T, P, x, y) \
- GLM_SWIZZLE_GEN_REF2_FROM_VEC2_SWIZZLE(T, P, r, g) \
- GLM_SWIZZLE_GEN_REF2_FROM_VEC2_SWIZZLE(T, P, s, t)
- #define GLM_SWIZZLE_GEN_REF2_FROM_VEC3_SWIZZLE(T, P, A, B, C) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, A, B) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, A, C) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, B, A) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, B, C) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, C, A) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, C, B)
- #define GLM_SWIZZLE_GEN_REF3_FROM_VEC3_SWIZZLE(T, P, A, B, C) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, GLM_MUTABLE, A, B, C) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, GLM_MUTABLE, A, C, B) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, GLM_MUTABLE, B, A, C) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, GLM_MUTABLE, B, C, A) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, GLM_MUTABLE, C, A, B) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, GLM_MUTABLE, C, B, A)
- #define GLM_SWIZZLE_GEN_REF_FROM_VEC3_COMP(T, P, A, B, C) \
- GLM_SWIZZLE_GEN_REF3_FROM_VEC3_SWIZZLE(T, P, A, B, C) \
- GLM_SWIZZLE_GEN_REF2_FROM_VEC3_SWIZZLE(T, P, A, B, C)
- #define GLM_SWIZZLE_GEN_REF_FROM_VEC3(T, P) \
- GLM_SWIZZLE_GEN_REF_FROM_VEC3_COMP(T, P, x, y, z) \
- GLM_SWIZZLE_GEN_REF_FROM_VEC3_COMP(T, P, r, g, b) \
- GLM_SWIZZLE_GEN_REF_FROM_VEC3_COMP(T, P, s, t, p)
- #define GLM_SWIZZLE_GEN_REF2_FROM_VEC4_SWIZZLE(T, P, A, B, C, D) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, A, B) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, A, C) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, A, D) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, B, A) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, B, C) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, B, D) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, C, A) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, C, B) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, C, D) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, D, A) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, D, B) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, D, C)
- #define GLM_SWIZZLE_GEN_REF3_FROM_VEC4_SWIZZLE(T, P, A, B, C, D) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , A, B, C) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , A, B, D) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , A, C, B) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , A, C, D) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , A, D, B) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , A, D, C) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , B, A, C) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , B, A, D) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , B, C, A) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , B, C, D) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , B, D, A) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , B, D, C) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , C, A, B) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , C, A, D) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , C, B, A) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , C, B, D) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , C, D, A) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , C, D, B) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , D, A, B) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , D, A, C) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , D, B, A) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , D, B, C) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , D, C, A) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , D, C, B)
- #define GLM_SWIZZLE_GEN_REF4_FROM_VEC4_SWIZZLE(T, P, A, B, C, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , A, C, B, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , A, C, D, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , A, D, B, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , A, D, C, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , A, B, D, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , A, B, C, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , B, C, A, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , B, C, D, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , B, D, A, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , B, D, C, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , B, A, D, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , B, A, C, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , C, B, A, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , C, B, D, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , C, D, A, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , C, D, B, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , C, A, D, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , C, A, B, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , D, C, B, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , D, C, A, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , D, A, B, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , D, A, C, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , D, B, A, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , D, B, C, A)
- #define GLM_SWIZZLE_GEN_REF_FROM_VEC4_COMP(T, P, A, B, C, D) \
- GLM_SWIZZLE_GEN_REF2_FROM_VEC4_SWIZZLE(T, P, A, B, C, D) \
- GLM_SWIZZLE_GEN_REF3_FROM_VEC4_SWIZZLE(T, P, A, B, C, D) \
- GLM_SWIZZLE_GEN_REF4_FROM_VEC4_SWIZZLE(T, P, A, B, C, D)
- #define GLM_SWIZZLE_GEN_REF_FROM_VEC4(T, P) \
- GLM_SWIZZLE_GEN_REF_FROM_VEC4_COMP(T, P, x, y, z, w) \
- GLM_SWIZZLE_GEN_REF_FROM_VEC4_COMP(T, P, r, g, b, a) \
- GLM_SWIZZLE_GEN_REF_FROM_VEC4_COMP(T, P, s, t, p, q)
- #define GLM_SWIZZLE_GEN_VEC2_FROM_VEC2_SWIZZLE(T, P, A, B) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, A, A) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, A, B) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, B, A) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, B, B)
- #define GLM_SWIZZLE_GEN_VEC3_FROM_VEC2_SWIZZLE(T, P, A, B) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, A, A) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, A, B) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, B, A) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, B, B) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, A, A) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, A, B) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, B, A) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, B, B)
- #define GLM_SWIZZLE_GEN_VEC4_FROM_VEC2_SWIZZLE(T, P, A, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, A, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, A, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, B, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, B, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, A, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, A, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, B, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, B, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, A, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, A, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, B, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, B, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, A, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, A, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, B, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, B, B)
- #define GLM_SWIZZLE_GEN_VEC_FROM_VEC2_COMP(T, P, A, B) \
- GLM_SWIZZLE_GEN_VEC2_FROM_VEC2_SWIZZLE(T, P, A, B) \
- GLM_SWIZZLE_GEN_VEC3_FROM_VEC2_SWIZZLE(T, P, A, B) \
- GLM_SWIZZLE_GEN_VEC4_FROM_VEC2_SWIZZLE(T, P, A, B)
- #define GLM_SWIZZLE_GEN_VEC_FROM_VEC2(T, P) \
- GLM_SWIZZLE_GEN_VEC_FROM_VEC2_COMP(T, P, x, y) \
- GLM_SWIZZLE_GEN_VEC_FROM_VEC2_COMP(T, P, r, g) \
- GLM_SWIZZLE_GEN_VEC_FROM_VEC2_COMP(T, P, s, t)
- #define GLM_SWIZZLE_GEN_VEC2_FROM_VEC3_SWIZZLE(T, P, A, B, C) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, A, A) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, A, B) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, A, C) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, B, A) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, B, B) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, B, C) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, C, A) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, C, B) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, C, C)
- #define GLM_SWIZZLE_GEN_VEC3_FROM_VEC3_SWIZZLE(T, P, A, B, C) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, A, A) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, A, B) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, A, C) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, B, A) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, B, B) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, B, C) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, C, A) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, C, B) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, C, C) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, A, A) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, A, B) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, A, C) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, B, A) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, B, B) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, B, C) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, C, A) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, C, B) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, C, C) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, A, A) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, A, B) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, A, C) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, B, A) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, B, B) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, B, C) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, C, A) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, C, B) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, C, C)
- #define GLM_SWIZZLE_GEN_VEC4_FROM_VEC3_SWIZZLE(T, P, A, B, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, A, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, A, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, A, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, B, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, B, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, B, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, C, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, C, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, C, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, A, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, A, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, A, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, B, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, B, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, B, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, C, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, C, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, C, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, A, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, A, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, A, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, B, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, B, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, B, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, C, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, C, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, C, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, A, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, A, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, A, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, B, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, B, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, B, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, C, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, C, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, C, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, A, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, A, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, A, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, B, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, B, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, B, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, C, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, C, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, C, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, A, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, A, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, A, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, B, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, B, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, B, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, C, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, C, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, C, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, A, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, A, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, A, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, B, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, B, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, B, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, C, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, C, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, C, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, A, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, A, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, A, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, B, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, B, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, B, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, C, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, C, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, C, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, A, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, A, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, A, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, B, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, B, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, B, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, C, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, C, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, C, C)
- #define GLM_SWIZZLE_GEN_VEC_FROM_VEC3_COMP(T, P, A, B, C) \
- GLM_SWIZZLE_GEN_VEC2_FROM_VEC3_SWIZZLE(T, P, A, B, C) \
- GLM_SWIZZLE_GEN_VEC3_FROM_VEC3_SWIZZLE(T, P, A, B, C) \
- GLM_SWIZZLE_GEN_VEC4_FROM_VEC3_SWIZZLE(T, P, A, B, C)
- #define GLM_SWIZZLE_GEN_VEC_FROM_VEC3(T, P) \
- GLM_SWIZZLE_GEN_VEC_FROM_VEC3_COMP(T, P, x, y, z) \
- GLM_SWIZZLE_GEN_VEC_FROM_VEC3_COMP(T, P, r, g, b) \
- GLM_SWIZZLE_GEN_VEC_FROM_VEC3_COMP(T, P, s, t, p)
- #define GLM_SWIZZLE_GEN_VEC2_FROM_VEC4_SWIZZLE(T, P, A, B, C, D) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, A, A) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, A, B) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, A, C) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, A, D) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, B, A) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, B, B) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, B, C) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, B, D) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, C, A) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, C, B) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, C, C) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, C, D) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, D, A) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, D, B) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, D, C) \
- GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, D, D)
- #define GLM_SWIZZLE_GEN_VEC3_FROM_VEC4_SWIZZLE(T, P, A, B, C, D) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, A, A) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, A, B) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, A, C) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, A, D) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, B, A) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, B, B) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, B, C) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, B, D) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, C, A) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, C, B) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, C, C) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, C, D) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, D, A) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, D, B) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, D, C) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, D, D) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, A, A) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, A, B) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, A, C) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, A, D) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, B, A) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, B, B) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, B, C) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, B, D) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, C, A) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, C, B) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, C, C) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, C, D) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, D, A) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, D, B) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, D, C) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, D, D) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, A, A) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, A, B) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, A, C) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, A, D) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, B, A) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, B, B) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, B, C) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, B, D) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, C, A) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, C, B) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, C, C) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, C, D) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, D, A) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, D, B) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, D, C) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, D, D) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, A, A) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, A, B) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, A, C) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, A, D) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, B, A) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, B, B) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, B, C) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, B, D) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, C, A) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, C, B) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, C, C) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, C, D) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, D, A) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, D, B) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, D, C) \
- GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, D, D)
- #define GLM_SWIZZLE_GEN_VEC4_FROM_VEC4_SWIZZLE(T, P, A, B, C, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, A, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, A, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, A, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, A, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, B, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, B, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, B, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, B, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, C, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, C, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, C, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, C, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, D, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, D, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, D, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, D, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, A, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, A, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, A, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, A, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, B, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, B, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, B, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, B, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, C, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, C, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, C, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, C, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, D, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, D, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, D, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, D, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, A, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, A, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, A, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, A, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, B, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, B, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, B, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, B, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, C, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, C, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, C, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, C, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, D, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, D, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, D, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, D, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, A, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, A, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, A, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, A, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, B, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, B, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, B, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, B, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, C, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, C, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, C, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, C, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, D, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, D, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, D, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, D, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, A, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, A, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, A, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, A, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, B, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, B, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, B, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, B, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, C, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, C, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, C, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, C, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, D, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, D, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, D, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, D, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, A, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, A, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, A, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, A, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, B, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, B, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, B, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, B, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, C, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, C, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, C, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, C, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, D, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, D, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, D, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, D, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, A, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, A, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, A, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, A, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, B, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, B, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, B, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, B, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, C, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, C, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, C, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, C, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, D, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, D, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, D, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, D, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, A, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, A, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, A, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, A, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, B, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, B, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, B, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, B, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, C, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, C, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, C, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, C, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, D, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, D, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, D, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, D, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, A, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, A, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, A, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, A, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, B, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, B, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, B, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, B, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, C, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, C, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, C, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, C, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, D, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, D, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, D, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, D, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, A, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, A, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, A, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, A, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, B, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, B, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, B, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, B, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, C, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, C, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, C, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, C, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, D, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, D, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, D, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, D, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, A, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, A, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, A, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, A, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, B, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, B, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, B, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, B, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, C, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, C, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, C, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, C, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, D, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, D, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, D, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, D, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, A, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, A, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, A, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, A, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, B, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, B, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, B, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, B, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, C, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, C, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, C, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, C, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, D, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, D, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, D, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, D, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, A, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, A, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, A, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, A, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, B, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, B, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, B, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, B, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, C, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, C, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, C, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, C, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, D, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, D, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, D, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, D, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, A, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, A, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, A, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, A, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, B, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, B, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, B, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, B, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, C, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, C, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, C, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, C, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, D, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, D, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, D, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, D, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, A, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, A, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, A, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, A, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, B, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, B, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, B, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, B, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, C, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, C, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, C, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, C, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, D, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, D, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, D, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, D, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, A, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, A, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, A, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, A, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, B, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, B, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, B, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, B, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, C, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, C, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, C, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, C, D) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, D, A) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, D, B) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, D, C) \
- GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, D, D)
- #define GLM_SWIZZLE_GEN_VEC_FROM_VEC4_COMP(T, P, A, B, C, D) \
- GLM_SWIZZLE_GEN_VEC2_FROM_VEC4_SWIZZLE(T, P, A, B, C, D) \
- GLM_SWIZZLE_GEN_VEC3_FROM_VEC4_SWIZZLE(T, P, A, B, C, D) \
- GLM_SWIZZLE_GEN_VEC4_FROM_VEC4_SWIZZLE(T, P, A, B, C, D)
- #define GLM_SWIZZLE_GEN_VEC_FROM_VEC4(T, P) \
- GLM_SWIZZLE_GEN_VEC_FROM_VEC4_COMP(T, P, x, y, z, w) \
- GLM_SWIZZLE_GEN_VEC_FROM_VEC4_COMP(T, P, r, g, b, a) \
- GLM_SWIZZLE_GEN_VEC_FROM_VEC4_COMP(T, P, s, t, p, q)
|