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 gtc{
//! GLM_GTC_half_float extension: Add support for half precision floating-point types
namespace half_float
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;
/// @}

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,11 +20,9 @@
# pragma message("GLM: GLM_GTC_matrix_integer extension included")
#endif
namespace glm
{
namespace glm{
namespace gtc{
//! GLM_GTC_matrix_integer extension: Add integer matrices
namespace matrix_integer
namespace matrix_integer ///< GLM_GTC_matrix_integer extension: Add integer matrices
{
/// \addtogroup 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,11 +21,9 @@
# pragma message("GLM: GLM_GTC_matrix_transform extension included")
#endif
namespace glm
{
namespace glm{
namespace gtc{
//! GLM_GTC_matrix_transform extension: Add transformation matrices
namespace matrix_transform
namespace matrix_transform ///< GLM_GTC_matrix_transform extension: Add transformation matrices
{
/// \addtogroup gtc_matrix_transform
///@{

View File

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

View File

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

View File

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

View File

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