Added comment on implementation details

master
Christophe Riccio ago%!(EXTRA string=12 years)
parent 1a7dfa03ea
commit 741756f17d
  1. 6
      glm/core/type_vec1.hpp
  2. 6
      glm/core/type_vec2.hpp
  3. 6
      glm/core/type_vec3.hpp
  4. 6
      glm/core/type_vec4.hpp

@ -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;
////////////////////////////////////// //////////////////////////////////////

@ -39,12 +39,18 @@ namespace detail
template <typename T, precision P> template <typename T, precision P>
struct tvec2 struct tvec2
{ {
//////////////////////////////////////
// Implementation detail
enum ctor{_null}; enum ctor{_null};
typedef tvec2<T, P> type; typedef tvec2<T, P> type;
typedef tvec2<bool, P> bool_type; typedef tvec2<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;
////////////////////////////////////// //////////////////////////////////////

@ -39,12 +39,18 @@ namespace detail
template <typename T, precision P> template <typename T, precision P>
struct tvec3 struct tvec3
{ {
//////////////////////////////////////
// Implementation detail
enum ctor{_null}; enum ctor{_null};
typedef tvec3<T, P> type; typedef tvec3<T, P> type;
typedef tvec3<bool, P> bool_type; typedef tvec3<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;
////////////////////////////////////// //////////////////////////////////////

@ -39,12 +39,18 @@ namespace detail
template <typename T, precision P> template <typename T, precision P>
struct tvec4 struct tvec4
{ {
//////////////////////////////////////
// Implementation detail
enum ctor{_null}; enum ctor{_null};
typedef tvec4<T, P> type; typedef tvec4<T, P> type;
typedef tvec4<bool, P> bool_type; typedef tvec4<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;
////////////////////////////////////// //////////////////////////////////////

Loading…
Cancel
Save