Updated header files formatting

This commit is contained in:
Christophe Riccio
2011-05-18 15:38:26 +01:00
parent 14760e9770
commit d7510204c1
9 changed files with 1547 additions and 1561 deletions

View File

@@ -18,8 +18,8 @@
#endif
namespace glm{
namespace detail
{
namespace detail
{
#ifndef _MSC_EXTENSIONS
template <>
struct tvec2<thalf>
@@ -315,49 +315,48 @@ namespace glm{
tref4<thalf> swizzle(comp X, comp Y, comp Z, comp W);
};
#endif//_MSC_EXTENSIONS
}
//namespace detail
}
//namespace detail
namespace gtc{
//! GLM_GTC_half_float extension: Add support for half precision floating-point types
namespace half_float
{
namespace gtc{
namespace half_float ///< GLM_GTC_half_float extension: Add support for half precision floating-point types
{
/// \addtogroup gtc_half_float
///@{
//! Type for half-precision floating-point numbers.
//! From GLM_GTC_half_float extension.
/// Type for half-precision floating-point numbers.
/// From GLM_GTC_half_float extension.
typedef detail::thalf half;
//! Vector of 2 half-precision floating-point numbers.
//! From GLM_GTC_half_float extension.
/// Vector of 2 half-precision floating-point numbers.
/// From GLM_GTC_half_float extension.
typedef detail::tvec2<detail::thalf> hvec2;
//! Vector of 3 half-precision floating-point numbers.
//! From GLM_GTC_half_float extension.
/// Vector of 3 half-precision floating-point numbers.
/// From GLM_GTC_half_float extension.
typedef detail::tvec3<detail::thalf> hvec3;
//! Vector of 4 half-precision floating-point numbers.
//! From GLM_GTC_half_float extension.
/// Vector of 4 half-precision floating-point numbers.
/// From GLM_GTC_half_float extension.
typedef detail::tvec4<detail::thalf> hvec4;
//! 2 * 2 matrix of half-precision floating-point numbers.
//! From GLM_GTC_half_float extension.
/// 2 * 2 matrix of half-precision floating-point numbers.
/// From GLM_GTC_half_float extension.
typedef detail::tmat2x2<detail::thalf> hmat2;
//! 3 * 3 matrix of half-precision floating-point numbers.
//! From GLM_GTC_half_float extension.
/// 3 * 3 matrix of half-precision floating-point numbers.
/// From GLM_GTC_half_float extension.
typedef detail::tmat3x3<detail::thalf> hmat3;
//! 4 * 4 matrix of half-precision floating-point numbers.
//! From GLM_GTC_half_float extension.
/// 4 * 4 matrix of half-precision floating-point numbers.
/// From GLM_GTC_half_float extension.
typedef detail::tmat4x4<detail::thalf> hmat4;
///@}
/// @}
}//namespace half_float
}//namespace gtc
}//namespace glm
}// namespace half_float
}// namespace gtc
}// namespace glm
#include "half_float.inl"

View File

@@ -22,8 +22,7 @@
namespace glm{
namespace gtc{
//! GLM_GTC_matrix_access extension: Set a column or a row of a matrix
namespace matrix_access
namespace matrix_access ///< GLM_GTC_matrix_access extension: Set a column or a row of a matrix
{
/// \addtogroup gtc_matrix_access
///@{

View File

@@ -20,12 +20,10 @@
# pragma message("GLM: GLM_GTC_matrix_integer extension included")
#endif
namespace glm
namespace glm{
namespace gtc{
namespace matrix_integer ///< GLM_GTC_matrix_integer extension: Add integer matrices
{
namespace gtc{
//! GLM_GTC_matrix_integer extension: Add integer matrices
namespace matrix_integer
{
/// \addtogroup gtc_matrix_integer
///@{
@@ -197,8 +195,8 @@ namespace glm
///@}
}//namespace matrix_integer
}//namespace gtc
}//namespace matrix_integer
}//namespace gtc
}//namespace glm
namespace glm{using namespace gtc::matrix_integer;}

View File

@@ -22,8 +22,7 @@
namespace glm{
namespace gtc{
//! GLM_GTC_matrix_inverse extension: Inverse matrix functions
namespace matrix_inverse
namespace matrix_inverse ///< GLM_GTC_matrix_inverse extension: Inverse matrix functions
{
/// \addtogroup gtc_matrix_inverse
///@{

View File

@@ -21,12 +21,10 @@
# pragma message("GLM: GLM_GTC_matrix_transform extension included")
#endif
namespace glm
namespace glm{
namespace gtc{
namespace matrix_transform ///< GLM_GTC_matrix_transform extension: Add transformation matrices
{
namespace gtc{
//! GLM_GTC_matrix_transform extension: Add transformation matrices
namespace matrix_transform
{
/// \addtogroup gtc_matrix_transform
///@{
@@ -149,8 +147,8 @@ namespace glm
detail::tvec3<T> const & up);
///@}
}//namespace matrix_transform
}//namespace gtc
}//namespace matrix_transform
}//namespace gtc
}//namespace glm
#include "matrix_transform.inl"

View File

@@ -26,10 +26,9 @@
# pragma message("GLM: GLM_GTC_quaternion extension included")
#endif
namespace glm
namespace glm{
namespace detail
{
namespace detail
{
//! \brief Template for quaternion.
//! From GLM_GTC_quaternion extension.
/// \ingroup gtc_quaternion
@@ -115,12 +114,11 @@ namespace glm
detail::tquat<T> const & q,
typename detail::tquat<T>::value_type const & s);
} //namespace detail
} //namespace detail
namespace gtc{
//! GLM_GTC_quaternion extension: Quaternion types and functions
namespace quaternion
{
namespace gtc{
namespace quaternion ///< GLM_GTC_quaternion extension: Quaternion types and functions
{
/// \addtogroup gtc_quaternion
///@{
@@ -220,8 +218,8 @@ namespace glm
///@}
}//namespace quaternion
}//namespace gtc
} //namespace quaternion
} //namespace gtc
} //namespace glm
#include "quaternion.inl"

View File

@@ -21,12 +21,10 @@
# pragma message("GLM: GLM_GTC_swizzle extension included")
#endif
namespace glm
namespace glm{
namespace gtc{
namespace swizzle ///< GLM_GTC_swizzle extension
{
namespace gtc{
//! GLM_GTC_swizzle extension
namespace swizzle
{
using namespace gtc::half_float;
template <typename T, template <typename> class vecType>
@@ -342,8 +340,8 @@ namespace glm
static_swizzle4_ref(glm::u32vec4)
static_swizzle4_ref(glm::u64vec4)
}//namespace swizzle
}//namespace gtc
}//namespace swizzle
}//namespace gtc
}//namespace glm
#include "swizzle.inl"

View File

@@ -24,12 +24,10 @@
# pragma message("GLM: GLM_GTC_type_precision extension included")
#endif
namespace glm
namespace glm{
namespace gtc{
namespace type_precision ///< GLM_GTC_type_precision extension: Defined types with specific size.
{
namespace gtc{
//! GLM_GTC_type_precision extension: Defined types with specific size.
namespace type_precision
{
///////////////////////////
// Dependences
@@ -211,8 +209,8 @@ namespace glm
///@}
}//namespace type_precision
}//namespace gtc
}//namespace type_precision
}//namespace gtc
}//namespace glm
#include "type_precision.inl"

View File

@@ -21,11 +21,10 @@
# pragma message("GLM: GLM_GTC_type_ptr extension included")
#endif
namespace glm
namespace glm{
namespace gtc{
namespace type_ptr ///< GLM_GTC_type_ptr extension: Get access to vectors & matrices value type address.
{
namespace gtc{
//! GLM_GTC_type_ptr extension: Get access to vectors & matrices value type address.
namespace type_ptr{
/// \addtogroup gtc_type_ptr
///@{
@@ -438,8 +437,8 @@ namespace glm
///@}
}//namespace type_ptr
}//namespace gtc
}//namespace type_ptr
}//namespace gtc
}//namespace glm
#include "type_ptr.inl"