|
|
@ -39,12 +39,18 @@ namespace detail |
|
|
|
template <typename T, precision P> |
|
|
|
template <typename T, precision P> |
|
|
|
struct tvec1 |
|
|
|
struct tvec1 |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
//////////////////////////////////////
|
|
|
|
|
|
|
|
// Implementation detail
|
|
|
|
|
|
|
|
|
|
|
|
enum ctor{_null}; |
|
|
|
enum ctor{_null}; |
|
|
|
|
|
|
|
|
|
|
|
typedef tvec1<T, P> type; |
|
|
|
typedef tvec1<T, P> type; |
|
|
|
typedef tvec1<bool, P> bool_type; |
|
|
|
typedef tvec1<bool, P> bool_type; |
|
|
|
typedef T value_type; |
|
|
|
typedef T value_type; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//////////////////////////////////////
|
|
|
|
|
|
|
|
// Helper
|
|
|
|
|
|
|
|
|
|
|
|
GLM_FUNC_DECL GLM_CONSTEXPR int length() const; |
|
|
|
GLM_FUNC_DECL GLM_CONSTEXPR int length() const; |
|
|
|
|
|
|
|
|
|
|
|
//////////////////////////////////////
|
|
|
|
//////////////////////////////////////
|
|
|
|