Correct component amounts for simqQuat and simdVec4

master
Jesse Talavera-Greenberg ago%!(EXTRA string=10 years)
parent a9c26d065b
commit 5d05c8c1f7
  1. 4
      glm/gtx/simd_quat.hpp
  2. 4
      glm/gtx/simd_vec4.hpp

@ -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…
Cancel
Save