|
|
|
@ -49,17 +49,19 @@ namespace glm |
|
|
|
|
typedef tmat4x4<T, P> transpose_type; |
|
|
|
|
typedef T value_type; |
|
|
|
|
|
|
|
|
|
# if GLM_HAS_CONSTEXPR |
|
|
|
|
static GLM_CONSTEXPR length_t components = 4; |
|
|
|
|
static GLM_CONSTEXPR length_t cols = 4; |
|
|
|
|
static GLM_CONSTEXPR length_t rows = 4; |
|
|
|
|
static GLM_CONSTEXPR precision prec = P; |
|
|
|
|
# else |
|
|
|
|
static const length_t components = 4; |
|
|
|
|
static const length_t cols = 4; |
|
|
|
|
static const length_t rows = 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 length_t cols = 4; |
|
|
|
|
static GLM_CONSTEXPR length_t rows = 4; |
|
|
|
|
static GLM_CONSTEXPR precision prec = P; |
|
|
|
|
# else |
|
|
|
|
static const length_t components = 4; |
|
|
|
|
static const length_t cols = 4; |
|
|
|
|
static const length_t rows = 4; |
|
|
|
|
static const precision prec = P; |
|
|
|
|
# endif//GLM_HAS_CONSTEXPR
|
|
|
|
|
# endif//GLM_META_PROG_HELPERS
|
|
|
|
|
|
|
|
|
|
template <typename U, precision Q> |
|
|
|
|
friend tvec4<U, Q> operator/(tmat4x4<U, Q> const & m, tvec4<U, Q> const & v); |
|
|
|
|