Correct component amounts for simqQuat and simdVec4

This commit is contained in:
Jesse Talavera-Greenberg 2015-07-03 15:00:37 -04:00
parent a9c26d065b
commit 5d05c8c1f7
2 changed files with 99 additions and 99 deletions

View File

@ -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

View File

@ -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