Correct component amounts for simqQuat and simdVec4
This commit is contained in:
parent
a9c26d065b
commit
5d05c8c1f7
@ -76,10 +76,10 @@ namespace detail
|
||||
typedef fquatSIMD type;
|
||||
typedef tquat<bool, defaultp> bool_type;
|
||||
# if GLM_HAS_CONSTEXPR
|
||||
static GLM_CONSTEXPR length_t components = 1;
|
||||
static GLM_CONSTEXPR length_t components = 4;
|
||||
static GLM_CONSTEXPR precision prec = defaultp;
|
||||
# else
|
||||
static const length_t components = 1;
|
||||
static const length_t components = 4;
|
||||
static const precision prec = defaultp;
|
||||
# endif
|
||||
|
||||
|
@ -99,10 +99,10 @@ namespace detail
|
||||
typedef fvec4SIMD type;
|
||||
typedef tvec4<bool, highp> bool_type;
|
||||
# if GLM_HAS_CONSTEXPR
|
||||
static GLM_CONSTEXPR length_t components = 1;
|
||||
static GLM_CONSTEXPR length_t components = 4;
|
||||
static GLM_CONSTEXPR precision prec = defaultp;
|
||||
# else
|
||||
static const length_t components = 1;
|
||||
static const length_t components = 4;
|
||||
static const precision prec = defaultp;
|
||||
# endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user