Add pure typedefs to the SIMD types

master
Jesse Talavera-Greenberg ago%!(EXTRA string=10 years)
parent a8659bb767
commit f46249620a
  1. 5
      glm/gtx/simd_mat4.hpp
  2. 1
      glm/gtx/simd_quat.hpp
  3. 1
      glm/gtx/simd_vec4.hpp

@ -71,6 +71,11 @@ namespace detail
typedef fmat4x4SIMD type; typedef fmat4x4SIMD type;
typedef fmat4x4SIMD transpose_type; typedef fmat4x4SIMD transpose_type;
typedef tmat4x4<float, defaultp> pure_type;
typedef tvec4<float, defaultp> pure_row_type;
typedef tvec4<float, defaultp> pure_col_type;
typedef tmat4x4<float, defaultp> pure_transpose_type;
# 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 = 4; static GLM_RELAXED_CONSTEXPR length_t cols = 4;

@ -74,6 +74,7 @@ namespace detail
typedef fquatSIMD type; typedef fquatSIMD type;
typedef tquat<bool, defaultp> bool_type; typedef tquat<bool, defaultp> bool_type;
typedef tquat<float, defaultp> pure_type;
# 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;

@ -96,6 +96,7 @@ namespace detail
typedef std::size_t size_type; typedef std::size_t size_type;
typedef fvec4SIMD type; typedef fvec4SIMD type;
typedef tvec4<float, defaultp> pure_type;
typedef tvec4<bool, highp> bool_type; typedef tvec4<bool, highp> bool_type;
# ifdef GLM_META_PROG_HELPERS # ifdef GLM_META_PROG_HELPERS

Loading…
Cancel
Save