mirror of
https://github.com/g-truc/glm.git
synced 2025-04-13 08:43:00 +00:00
Add pure typedefs to the SIMD types
This commit is contained in:
parent
a8659bb767
commit
f46249620a
3 changed files with 7 additions and 0 deletions
|
@ -71,6 +71,11 @@ namespace detail
|
|||
typedef fmat4x4SIMD 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
|
||||
static GLM_RELAXED_CONSTEXPR length_t components = 4;
|
||||
static GLM_RELAXED_CONSTEXPR length_t cols = 4;
|
||||
|
|
|
@ -74,6 +74,7 @@ namespace detail
|
|||
|
||||
typedef fquatSIMD type;
|
||||
typedef tquat<bool, defaultp> bool_type;
|
||||
typedef tquat<float, defaultp> pure_type;
|
||||
|
||||
# ifdef GLM_META_PROG_HELPERS
|
||||
static GLM_RELAXED_CONSTEXPR length_t components = 4;
|
||||
|
|
|
@ -96,6 +96,7 @@ namespace detail
|
|||
typedef std::size_t size_type;
|
||||
|
||||
typedef fvec4SIMD type;
|
||||
typedef tvec4<float, defaultp> pure_type;
|
||||
typedef tvec4<bool, highp> bool_type;
|
||||
|
||||
# ifdef GLM_META_PROG_HELPERS
|
||||
|
|
Loading…
Add table
Reference in a new issue