mirror of
https://github.com/g-truc/glm.git
synced 2024-11-26 18:24:35 +00:00
Reverse the mat::rows and mat::cols fields
- Oops, I mixed up the row_type and col_type typedefs
This commit is contained in:
parent
25bad4c78e
commit
3400352e81
@ -52,8 +52,8 @@ namespace glm
|
|||||||
|
|
||||||
# ifdef GLM_META_PROG_HELPERS
|
# ifdef GLM_META_PROG_HELPERS
|
||||||
static GLM_RELAXED_CONSTEXPR length_t components = 2;
|
static GLM_RELAXED_CONSTEXPR length_t components = 2;
|
||||||
static GLM_RELAXED_CONSTEXPR length_t cols = 3;
|
static GLM_RELAXED_CONSTEXPR length_t cols = 2;
|
||||||
static GLM_RELAXED_CONSTEXPR length_t rows = 2;
|
static GLM_RELAXED_CONSTEXPR length_t rows = 3;
|
||||||
static GLM_RELAXED_CONSTEXPR precision prec = P;
|
static GLM_RELAXED_CONSTEXPR precision prec = P;
|
||||||
# endif//GLM_META_PROG_HELPERS
|
# endif//GLM_META_PROG_HELPERS
|
||||||
|
|
||||||
|
@ -52,8 +52,8 @@ namespace glm
|
|||||||
|
|
||||||
# ifdef GLM_META_PROG_HELPERS
|
# ifdef GLM_META_PROG_HELPERS
|
||||||
static GLM_RELAXED_CONSTEXPR length_t components = 2;
|
static GLM_RELAXED_CONSTEXPR length_t components = 2;
|
||||||
static GLM_RELAXED_CONSTEXPR length_t cols = 4;
|
static GLM_RELAXED_CONSTEXPR length_t cols = 2;
|
||||||
static GLM_RELAXED_CONSTEXPR length_t rows = 2;
|
static GLM_RELAXED_CONSTEXPR length_t rows = 4;
|
||||||
static GLM_RELAXED_CONSTEXPR precision prec = P;
|
static GLM_RELAXED_CONSTEXPR precision prec = P;
|
||||||
# endif//GLM_META_PROG_HELPERS
|
# endif//GLM_META_PROG_HELPERS
|
||||||
|
|
||||||
|
@ -52,8 +52,8 @@ namespace glm
|
|||||||
|
|
||||||
# ifdef GLM_META_PROG_HELPERS
|
# ifdef GLM_META_PROG_HELPERS
|
||||||
static GLM_RELAXED_CONSTEXPR length_t components = 3;
|
static GLM_RELAXED_CONSTEXPR length_t components = 3;
|
||||||
static GLM_RELAXED_CONSTEXPR length_t cols = 2;
|
static GLM_RELAXED_CONSTEXPR length_t cols = 3;
|
||||||
static GLM_RELAXED_CONSTEXPR length_t rows = 3;
|
static GLM_RELAXED_CONSTEXPR length_t rows = 2;
|
||||||
static GLM_RELAXED_CONSTEXPR precision prec = P;
|
static GLM_RELAXED_CONSTEXPR precision prec = P;
|
||||||
# endif//GLM_META_PROG_HELPERS
|
# endif//GLM_META_PROG_HELPERS
|
||||||
|
|
||||||
|
@ -52,8 +52,8 @@ namespace glm
|
|||||||
|
|
||||||
# ifdef GLM_META_PROG_HELPERS
|
# ifdef GLM_META_PROG_HELPERS
|
||||||
static GLM_RELAXED_CONSTEXPR length_t components = 3;
|
static GLM_RELAXED_CONSTEXPR length_t components = 3;
|
||||||
static GLM_RELAXED_CONSTEXPR length_t cols = 4;
|
static GLM_RELAXED_CONSTEXPR length_t cols = 3;
|
||||||
static GLM_RELAXED_CONSTEXPR length_t rows = 3;
|
static GLM_RELAXED_CONSTEXPR length_t rows = 4;
|
||||||
static GLM_RELAXED_CONSTEXPR precision prec = P;
|
static GLM_RELAXED_CONSTEXPR precision prec = P;
|
||||||
# endif//GLM_META_PROG_HELPERS
|
# endif//GLM_META_PROG_HELPERS
|
||||||
|
|
||||||
|
@ -52,8 +52,8 @@ namespace glm
|
|||||||
|
|
||||||
# ifdef GLM_META_PROG_HELPERS
|
# ifdef GLM_META_PROG_HELPERS
|
||||||
static GLM_RELAXED_CONSTEXPR length_t components = 4;
|
static GLM_RELAXED_CONSTEXPR length_t components = 4;
|
||||||
static GLM_RELAXED_CONSTEXPR length_t cols = 2;
|
static GLM_RELAXED_CONSTEXPR length_t cols = 4;
|
||||||
static GLM_RELAXED_CONSTEXPR length_t rows = 4;
|
static GLM_RELAXED_CONSTEXPR length_t rows = 2;
|
||||||
static GLM_RELAXED_CONSTEXPR precision prec = P;
|
static GLM_RELAXED_CONSTEXPR precision prec = P;
|
||||||
# endif//GLM_META_PROG_HELPERS
|
# endif//GLM_META_PROG_HELPERS
|
||||||
|
|
||||||
|
@ -52,8 +52,8 @@ namespace glm
|
|||||||
|
|
||||||
# ifdef GLM_META_PROG_HELPERS
|
# ifdef GLM_META_PROG_HELPERS
|
||||||
static GLM_RELAXED_CONSTEXPR length_t components = 4;
|
static GLM_RELAXED_CONSTEXPR length_t components = 4;
|
||||||
static GLM_RELAXED_CONSTEXPR length_t cols = 3;
|
static GLM_RELAXED_CONSTEXPR length_t cols = 4;
|
||||||
static GLM_RELAXED_CONSTEXPR length_t rows = 4;
|
static GLM_RELAXED_CONSTEXPR length_t rows = 3;
|
||||||
static GLM_RELAXED_CONSTEXPR precision prec = P;
|
static GLM_RELAXED_CONSTEXPR precision prec = P;
|
||||||
# endif//GLM_META_PROG_HELPERS
|
# endif//GLM_META_PROG_HELPERS
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user