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 fquatSIMD type;
|
||||||
typedef tquat<bool, defaultp> bool_type;
|
typedef tquat<bool, defaultp> bool_type;
|
||||||
# if GLM_HAS_CONSTEXPR
|
# if GLM_HAS_CONSTEXPR
|
||||||
static GLM_CONSTEXPR length_t components = 1;
|
static GLM_CONSTEXPR length_t components = 4;
|
||||||
static GLM_CONSTEXPR precision prec = defaultp;
|
static GLM_CONSTEXPR precision prec = defaultp;
|
||||||
# else
|
# else
|
||||||
static const length_t components = 1;
|
static const length_t components = 4;
|
||||||
static const precision prec = defaultp;
|
static const precision prec = defaultp;
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
@ -99,10 +99,10 @@ namespace detail
|
|||||||
typedef fvec4SIMD type;
|
typedef fvec4SIMD type;
|
||||||
typedef tvec4<bool, highp> bool_type;
|
typedef tvec4<bool, highp> bool_type;
|
||||||
# if GLM_HAS_CONSTEXPR
|
# if GLM_HAS_CONSTEXPR
|
||||||
static GLM_CONSTEXPR length_t components = 1;
|
static GLM_CONSTEXPR length_t components = 4;
|
||||||
static GLM_CONSTEXPR precision prec = defaultp;
|
static GLM_CONSTEXPR precision prec = defaultp;
|
||||||
# else
|
# else
|
||||||
static const length_t components = 1;
|
static const length_t components = 4;
|
||||||
static const precision prec = defaultp;
|
static const precision prec = defaultp;
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user