Added GLM_META_PROG_HELPERS #350
This commit is contained in:
@@ -64,13 +64,16 @@ namespace glm
|
||||
{
|
||||
typedef tquat<T, P> type;
|
||||
typedef T value_type;
|
||||
# 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
|
||||
|
||||
# if 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
|
||||
# endif//GLM_META_PROG_HELPERS
|
||||
|
||||
public:
|
||||
T x, y, z, w;
|
||||
|
||||
Reference in New Issue
Block a user