Added comment on implementation details

This commit is contained in:
Christophe Riccio 2013-09-15 12:44:11 +02:00
parent 1a7dfa03ea
commit 741756f17d
4 changed files with 24 additions and 0 deletions

View File

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

View File

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

View File

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

View File

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