Simplify the constexpr declarations of the GLM_META_PROG_HELPERS
- No repetition - Half the size
This commit is contained in:
@@ -66,13 +66,8 @@ namespace glm
|
||||
typedef T value_type;
|
||||
|
||||
# ifdef GLM_META_PROG_HELPERS
|
||||
# if GLM_HAS_CONSTEXPR
|
||||
static GLM_CONSTEXPR length_t components = 4;
|
||||
static GLM_CONSTEXPR precision prec = P;
|
||||
# else
|
||||
static const length_t components = 4;
|
||||
static const precision prec = P;
|
||||
# endif//GLM_HAS_CONSTEXPR
|
||||
static GLM_CONSTEXPR_MAYBE length_t components = 4;
|
||||
static GLM_CONSTEXPR_MAYBE precision prec = P;
|
||||
# endif//GLM_META_PROG_HELPERS
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user