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

@@ -319,38 +319,37 @@ namespace glm{
//namespace detail //namespace detail
namespace gtc{ namespace gtc{
//! GLM_GTC_half_float extension: Add support for half precision floating-point types namespace half_float ///< GLM_GTC_half_float extension: Add support for half precision floating-point types
namespace half_float
{ {
/// \addtogroup gtc_half_float /// \addtogroup gtc_half_float
///@{ ///@{
//! Type for half-precision floating-point numbers. /// Type for half-precision floating-point numbers.
//! From GLM_GTC_half_float extension. /// From GLM_GTC_half_float extension.
typedef detail::thalf half; typedef detail::thalf half;
//! Vector of 2 half-precision floating-point numbers. /// Vector of 2 half-precision floating-point numbers.
//! From GLM_GTC_half_float extension. /// From GLM_GTC_half_float extension.
typedef detail::tvec2<detail::thalf> hvec2; typedef detail::tvec2<detail::thalf> hvec2;
//! Vector of 3 half-precision floating-point numbers. /// Vector of 3 half-precision floating-point numbers.
//! From GLM_GTC_half_float extension. /// From GLM_GTC_half_float extension.
typedef detail::tvec3<detail::thalf> hvec3; typedef detail::tvec3<detail::thalf> hvec3;
//! Vector of 4 half-precision floating-point numbers. /// Vector of 4 half-precision floating-point numbers.
//! From GLM_GTC_half_float extension. /// From GLM_GTC_half_float extension.
typedef detail::tvec4<detail::thalf> hvec4; typedef detail::tvec4<detail::thalf> hvec4;
//! 2 * 2 matrix of half-precision floating-point numbers. /// 2 * 2 matrix of half-precision floating-point numbers.
//! From GLM_GTC_half_float extension. /// From GLM_GTC_half_float extension.
typedef detail::tmat2x2<detail::thalf> hmat2; typedef detail::tmat2x2<detail::thalf> hmat2;
//! 3 * 3 matrix of half-precision floating-point numbers. /// 3 * 3 matrix of half-precision floating-point numbers.
//! From GLM_GTC_half_float extension. /// From GLM_GTC_half_float extension.
typedef detail::tmat3x3<detail::thalf> hmat3; typedef detail::tmat3x3<detail::thalf> hmat3;
//! 4 * 4 matrix of half-precision floating-point numbers. /// 4 * 4 matrix of half-precision floating-point numbers.
//! From GLM_GTC_half_float extension. /// From GLM_GTC_half_float extension.
typedef detail::tmat4x4<detail::thalf> hmat4; typedef detail::tmat4x4<detail::thalf> hmat4;
/// @} /// @}

View File

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

View File

@@ -20,11 +20,9 @@
# pragma message("GLM: GLM_GTC_matrix_integer extension included") # pragma message("GLM: GLM_GTC_matrix_integer extension included")
#endif #endif
namespace glm namespace glm{
{
namespace gtc{ namespace gtc{
//! GLM_GTC_matrix_integer extension: Add integer matrices namespace matrix_integer ///< GLM_GTC_matrix_integer extension: Add integer matrices
namespace matrix_integer
{ {
/// \addtogroup gtc_matrix_integer /// \addtogroup gtc_matrix_integer
///@{ ///@{

View File

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

View File

@@ -21,11 +21,9 @@
# pragma message("GLM: GLM_GTC_matrix_transform extension included") # pragma message("GLM: GLM_GTC_matrix_transform extension included")
#endif #endif
namespace glm namespace glm{
{
namespace gtc{ namespace gtc{
//! GLM_GTC_matrix_transform extension: Add transformation matrices namespace matrix_transform ///< GLM_GTC_matrix_transform extension: Add transformation matrices
namespace matrix_transform
{ {
/// \addtogroup gtc_matrix_transform /// \addtogroup gtc_matrix_transform
///@{ ///@{

View File

@@ -26,8 +26,7 @@
# pragma message("GLM: GLM_GTC_quaternion extension included") # pragma message("GLM: GLM_GTC_quaternion extension included")
#endif #endif
namespace glm namespace glm{
{
namespace detail namespace detail
{ {
//! \brief Template for quaternion. //! \brief Template for quaternion.
@@ -118,8 +117,7 @@ namespace glm
} //namespace detail } //namespace detail
namespace gtc{ namespace gtc{
//! GLM_GTC_quaternion extension: Quaternion types and functions namespace quaternion ///< GLM_GTC_quaternion extension: Quaternion types and functions
namespace quaternion
{ {
/// \addtogroup gtc_quaternion /// \addtogroup gtc_quaternion
///@{ ///@{

View File

@@ -21,11 +21,9 @@
# pragma message("GLM: GLM_GTC_swizzle extension included") # pragma message("GLM: GLM_GTC_swizzle extension included")
#endif #endif
namespace glm namespace glm{
{
namespace gtc{ namespace gtc{
//! GLM_GTC_swizzle extension namespace swizzle ///< GLM_GTC_swizzle extension
namespace swizzle
{ {
using namespace gtc::half_float; using namespace gtc::half_float;

View File

@@ -24,11 +24,9 @@
# pragma message("GLM: GLM_GTC_type_precision extension included") # pragma message("GLM: GLM_GTC_type_precision extension included")
#endif #endif
namespace glm namespace glm{
{
namespace gtc{ namespace gtc{
//! GLM_GTC_type_precision extension: Defined types with specific size. namespace type_precision ///< GLM_GTC_type_precision extension: Defined types with specific size.
namespace type_precision
{ {
/////////////////////////// ///////////////////////////
// Dependences // Dependences

View File

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