mirror of
https://github.com/g-truc/glm.git
synced 2024-11-27 02:34:35 +00:00
Updated header files formatting
This commit is contained in:
parent
9ecdd379e4
commit
14760e9770
@ -21,12 +21,9 @@
|
||||
# pragma message("GLM: GLM_GTX_associated_min_max extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace gtx
|
||||
{
|
||||
//! GLM_GTX_associated_min_max extension: Min and max functions that return associated values not the compared onces.
|
||||
namespace associated_min_max
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
namespace associated_min_max ///< GLM_GTX_associated_min_max extension: Min and max functions that return associated values not the compared onces.
|
||||
{
|
||||
/// \addtogroup gtx_associated_min_max
|
||||
///@{
|
||||
@ -72,11 +69,9 @@ namespace glm
|
||||
const genTypeT& y, const genTypeU& b,
|
||||
const genTypeT& z, const genTypeU& c,
|
||||
const genTypeT& w, const genTypeU& d);
|
||||
|
||||
///@}
|
||||
|
||||
} //namespace associated_min_max
|
||||
|
||||
bool test();
|
||||
} //namespace gtx
|
||||
} //namespace glm
|
||||
|
||||
|
@ -22,11 +22,9 @@
|
||||
# pragma message("GLM: GLM_GTX_bit extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_bit extension: Allow to perform bit operations on integer values
|
||||
namespace bit
|
||||
namespace bit ///< GLM_GTX_bit extension: Allow to perform bit operations on integer values
|
||||
{
|
||||
using namespace gtc::half_float;
|
||||
|
||||
@ -98,7 +96,6 @@ namespace glm
|
||||
genType bitRotateLeft(genType const & In, std::size_t Shift);
|
||||
|
||||
///@}
|
||||
|
||||
}//namespace bit
|
||||
}//namespace gtx
|
||||
}//namespace glm
|
||||
|
@ -20,24 +20,22 @@
|
||||
# pragma message("GLM: GLM_GTX_closest_point extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_closest_point extension: Find the point on a straight line which is the closet of a point.
|
||||
namespace closest_point{
|
||||
|
||||
namespace closest_point ///< GLM_GTX_closest_point extension: Find the point on a straight line which is the closet of a point.
|
||||
{
|
||||
/// \addtogroup gtx_closest_point
|
||||
/// @{
|
||||
|
||||
//! Find the point on a straight line which is the closet of a point.
|
||||
//! From GLM_GTX_closest_point extension.
|
||||
/// Find the point on a straight line which is the closet of a point.
|
||||
/// From GLM_GTX_closest_point extension.
|
||||
template <typename T>
|
||||
detail::tvec3<T> closestPointOnLine(
|
||||
detail::tvec3<T> const & point,
|
||||
detail::tvec3<T> const & a,
|
||||
detail::tvec3<T> const & b);
|
||||
///@}
|
||||
|
||||
/// @}
|
||||
}// namespace closest_point
|
||||
}// namespace gtx
|
||||
}// namespace glm
|
||||
|
@ -22,11 +22,9 @@
|
||||
# pragma message("GLM: GLM_GTX_color_cast extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_color_cast extension: Conversion between two color types
|
||||
namespace color_cast
|
||||
namespace color_cast ///< GLM_GTX_color_cast extension: Conversion between two color types
|
||||
{
|
||||
using namespace gtx::number_precision;
|
||||
|
||||
|
@ -20,11 +20,9 @@
|
||||
# pragma message("GLM: GLM_GTX_color_space extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_color_space extension: Related to RGB to HSV conversions and operations
|
||||
namespace color_space
|
||||
namespace color_space ///< GLM_GTX_color_space extension: Related to RGB to HSV conversions and operations
|
||||
{
|
||||
/// \addtogroup gtx_color_space
|
||||
/// @{
|
||||
@ -68,7 +66,6 @@ namespace glm
|
||||
detail::tvec3<valType> const & color);
|
||||
|
||||
/// @}
|
||||
|
||||
}//namespace color_space
|
||||
}//namespace gtx
|
||||
}//namespace glm
|
||||
|
@ -20,11 +20,9 @@
|
||||
# pragma message("GLM: GLM_GTX_color_space_YCoCg extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_color_space_YCoCg extension: RGB to YCoCg conversions and operations
|
||||
namespace color_space_YCoCg
|
||||
namespace color_space_YCoCg ///< GLM_GTX_color_space_YCoCg extension: RGB to YCoCg conversions and operations
|
||||
{
|
||||
/// \addtogroup gtx_color_space_YCoCg
|
||||
///@{
|
||||
|
@ -28,11 +28,9 @@
|
||||
#include <cmath>
|
||||
#endif//GLM_COMPILER
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_compatibility extension: Provide functions to increase the compatibility with Cg and HLSL languages
|
||||
namespace compatibility
|
||||
namespace compatibility ///< GLM_GTX_compatibility extension: Provide functions to increase the compatibility with Cg and HLSL languages
|
||||
{
|
||||
/// \addtogroup gtx_compatibility
|
||||
///@{
|
||||
@ -151,7 +149,6 @@ namespace glm
|
||||
typedef detail::tmat4x4<double> double4x4; //!< \brief double-precision floating-point matrix with 4 x 4 components. (From GLM_GTX_compatibility extension)
|
||||
|
||||
/// @}
|
||||
|
||||
}//namespace compatibility
|
||||
}//namespace gtx
|
||||
}//namespace glm
|
||||
|
@ -20,11 +20,9 @@
|
||||
# pragma message("GLM: GLM_GTX_component_wise extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_component_wise extension: Operations between components of a type
|
||||
namespace component_wise
|
||||
namespace component_wise ///< GLM_GTX_component_wise extension: Operations between components of a type
|
||||
{
|
||||
/// \addtogroup gtx_component_wise
|
||||
/// @{
|
||||
@ -54,7 +52,6 @@ namespace glm
|
||||
genType const & v);
|
||||
|
||||
/// @}
|
||||
|
||||
}//namespace component_wise
|
||||
}//namespace gtx
|
||||
}//namespace glm
|
||||
|
@ -22,11 +22,9 @@
|
||||
# pragma message("GLM: GLM_GTX_epsilon extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_epsilon extension: Comparison functions for a user defined epsilon values.
|
||||
namespace epsilon
|
||||
namespace epsilon ///< GLM_GTX_epsilon extension: Comparison functions for a user defined epsilon values.
|
||||
{
|
||||
/// \addtogroup gtx_epsilon
|
||||
///@{
|
||||
@ -48,7 +46,6 @@ namespace glm
|
||||
genTypeU const & epsilon);
|
||||
|
||||
///@}
|
||||
|
||||
}//namespace epsilon
|
||||
}//namespace gtx
|
||||
}//namespace glm
|
||||
|
@ -26,11 +26,9 @@
|
||||
# pragma message("GLM: GLM_GTX_euler_angles extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_euler_angles extension: Build matrices from Euler angles.
|
||||
namespace euler_angles
|
||||
namespace euler_angles ///< GLM_GTX_euler_angles extension: Build matrices from Euler angles.
|
||||
{
|
||||
/// \addtogroup gtx_euler_angles
|
||||
/// @{
|
||||
|
@ -20,11 +20,9 @@
|
||||
# pragma message("GLM: GLM_GTX_extend extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_extend extension: Extend a position from a source to a position at a defined length.
|
||||
namespace extend
|
||||
namespace extend ///< GLM_GTX_extend extension: Extend a position from a source to a position at a defined length.
|
||||
{
|
||||
/// \addtogroup gtx_extend
|
||||
/// @{
|
||||
@ -38,7 +36,6 @@ namespace glm
|
||||
typename genType::value_type const Length);
|
||||
|
||||
/// @}
|
||||
|
||||
}//namespace extend
|
||||
}//namespace gtx
|
||||
}//namespace glm
|
||||
|
@ -22,11 +22,9 @@
|
||||
# pragma message("GLM: GLM_GTX_extented_min_max extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_extented_min_max extension: Min and max functions for 3 to 4 parameters.
|
||||
namespace extented_min_max
|
||||
namespace extented_min_max ///< GLM_GTX_extented_min_max extension: Min and max functions for 3 to 4 parameters.
|
||||
{
|
||||
/// \addtogroup gtx_extented_min_max
|
||||
///@{
|
||||
@ -166,7 +164,6 @@ namespace glm
|
||||
C<T> const & w);
|
||||
|
||||
/// @}
|
||||
|
||||
}//namespace extented_min_max
|
||||
}//namespace gtx
|
||||
}//namespace glm
|
||||
|
@ -22,11 +22,9 @@
|
||||
# pragma message("GLM: GLM_GTX_fast_exponential extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_fast_exponential extension: Fast but less accurate implementations of exponential based functions.
|
||||
namespace fast_exponential
|
||||
namespace fast_exponential ///< GLM_GTX_fast_exponential extension: Fast but less accurate implementations of exponential based functions.
|
||||
{
|
||||
using namespace gtc::half_float;
|
||||
/// \addtogroup gtx_fast_exponential
|
||||
@ -72,7 +70,6 @@ namespace glm
|
||||
T fastLn(const T& x);
|
||||
|
||||
/// @}
|
||||
|
||||
}//namespace fast_exponential
|
||||
}//namespace gtx
|
||||
}//namespace glm
|
||||
|
@ -24,11 +24,9 @@
|
||||
# pragma message("GLM: GLM_GTX_fast_square_root extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_fast_square_root extension: Fast but less accurate implementations of square root based functions.
|
||||
namespace fast_square_root
|
||||
namespace fast_square_root ///< GLM_GTX_fast_square_root extension: Fast but less accurate implementations of square root based functions.
|
||||
{
|
||||
/// \addtogroup gtx_fast_square_root
|
||||
/// @{
|
||||
@ -59,7 +57,6 @@ namespace glm
|
||||
genType fastNormalize(genType const & x);
|
||||
|
||||
/// @}
|
||||
|
||||
}// namespace fast_square_root
|
||||
}// namespace gtx
|
||||
}// namespace glm
|
||||
|
@ -20,11 +20,9 @@
|
||||
# pragma message("GLM: GLM_GTX_fast_trigonometry extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_fast_trigonometry extension: Fast but less accurate implementations of trigonometric functions.
|
||||
namespace fast_trigonometry
|
||||
namespace fast_trigonometry ///< GLM_GTX_fast_trigonometry extension: Fast but less accurate implementations of trigonometric functions.
|
||||
{
|
||||
/// \addtogroup gtx_fast_trigonometry
|
||||
/// @{
|
||||
@ -72,7 +70,6 @@ namespace glm
|
||||
T fastAtan(const T& angle);
|
||||
|
||||
/// @}
|
||||
|
||||
}//namespace fast_trigonometry
|
||||
}//namespace gtx
|
||||
}//namespace glm
|
||||
|
@ -21,14 +21,15 @@
|
||||
# pragma message("GLM: GLM_GTX_gradient_paint extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_gradient_paint extension: Compute a radient gradient according section OpenVG 1.1 specifications, 9.3.2 Radial Gradients
|
||||
namespace gradient_paint
|
||||
namespace gradient_paint ///< GLM_GTX_gradient_paint extension: Compute a radient gradient according section OpenVG 1.1 specifications, 9.3.2 Radial Gradients
|
||||
{
|
||||
using namespace gtx::optimum_pow;
|
||||
|
||||
/// \addtogroup gtx_gradient_paint
|
||||
/// @{
|
||||
|
||||
template <typename valType>
|
||||
valType radialGradient(
|
||||
glm::detail::tvec2<valType> const & Center,
|
||||
@ -42,6 +43,7 @@ namespace glm
|
||||
glm::detail::tvec2<valType> const & Point1,
|
||||
glm::detail::tvec2<valType> const & Position);
|
||||
|
||||
/// @}
|
||||
}// namespace gradient_paint
|
||||
}// namespace gtx
|
||||
}// namespace glm
|
||||
|
@ -20,11 +20,9 @@
|
||||
# pragma message("GLM: GLM_GTX_handed_coordinate_space extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_handed_coordinate_space extension: To know if a set of three basis vectors defines a right or left-handed coordinate system.
|
||||
namespace handed_coordinate_space
|
||||
namespace handed_coordinate_space ///< GLM_GTX_handed_coordinate_space extension: To know if a set of three basis vectors defines a right or left-handed coordinate system.
|
||||
{
|
||||
/// \addtogroup gtx_handed_coordinate_space
|
||||
/// @{
|
||||
@ -46,7 +44,6 @@ namespace glm
|
||||
detail::tvec3<T> const & normal);
|
||||
|
||||
/// @}
|
||||
|
||||
}// namespace handed_coordinate_space
|
||||
}// namespace gtx
|
||||
}// namespace glm
|
||||
|
@ -20,11 +20,9 @@
|
||||
# pragma message("GLM: GLM_GTX_inertia extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_inertia extension: Create inertia matrices
|
||||
namespace inertia
|
||||
namespace inertia ///< GLM_GTX_inertia extension: Create inertia matrices
|
||||
{
|
||||
/// \addtogroup gtx_inertia
|
||||
/// @{
|
||||
@ -86,7 +84,6 @@ namespace glm
|
||||
const T Radius);
|
||||
|
||||
/// @}
|
||||
|
||||
}// namespace inertia
|
||||
}// namespace gtx
|
||||
}// namespace glm
|
||||
|
@ -21,11 +21,9 @@
|
||||
# pragma message("GLM: GLM_GTX_int_10_10_10_2 extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_int_10_10_10_2 extension: Add support for integer for core functions
|
||||
namespace int_10_10_10_2
|
||||
namespace int_10_10_10_2 ///< GLM_GTX_int_10_10_10_2 extension: Add support for integer for core functions
|
||||
{
|
||||
using namespace gtx::raw_data;
|
||||
|
||||
|
@ -20,11 +20,9 @@
|
||||
# pragma message("GLM: GLM_GTX_integer extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_integer extension: Add support for integer for core functions
|
||||
namespace integer
|
||||
namespace integer ///< GLM_GTX_integer extension: Add support for integer for core functions
|
||||
{
|
||||
/// \addtogroup gtx_integer
|
||||
/// @{
|
||||
@ -47,7 +45,6 @@ namespace glm
|
||||
genType factorial(genType const & x);
|
||||
|
||||
/// @}
|
||||
|
||||
}//namespace integer
|
||||
}//namespace gtx
|
||||
}//namespace glm
|
||||
|
@ -22,11 +22,9 @@
|
||||
# pragma message("GLM: GLM_GTX_closest_point extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_intersect extension: Add intersection functions
|
||||
namespace intersect
|
||||
namespace intersect ///< GLM_GTX_intersect extension: Add intersection functions
|
||||
{
|
||||
/// \addtogroup gtx_intersect
|
||||
/// @{
|
||||
@ -64,7 +62,6 @@ namespace glm
|
||||
genType & position, genType & normal);
|
||||
|
||||
/// @}
|
||||
|
||||
}//namespace intersect
|
||||
}//namespace gtx
|
||||
}//namespace glm
|
||||
|
@ -20,11 +20,9 @@
|
||||
# pragma message("GLM: GLM_GTX_log_base extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_log_base extension: Logarithm for any base. base can be a vector or a scalar.
|
||||
namespace log_base
|
||||
namespace log_base ///< GLM_GTX_log_base extension: Logarithm for any base. base can be a vector or a scalar.
|
||||
{
|
||||
/// \addtogroup gtx_log_base
|
||||
/// @{
|
||||
|
@ -20,11 +20,9 @@
|
||||
# pragma message("GLM: GLM_GTX_matrix_cross_product extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_matrix_cross_product: Build cross product matrices
|
||||
namespace matrix_cross_product
|
||||
namespace matrix_cross_product ///< GLM_GTX_matrix_cross_product: Build cross product matrices
|
||||
{
|
||||
/// \addtogroup gtx_matrix_cross_product
|
||||
/// @{
|
||||
@ -42,7 +40,6 @@ namespace glm
|
||||
detail::tvec3<T> const & x);
|
||||
|
||||
/// @}
|
||||
|
||||
}//namespace matrix_cross_product
|
||||
}//namespace gtx
|
||||
}//namespace glm
|
||||
|
@ -23,11 +23,9 @@
|
||||
# pragma message("GLM: GLM_GTX_matrix_interpolation extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_matrix_interpolation extension: Add transformation matrices
|
||||
namespace matrix_interpolation
|
||||
namespace matrix_interpolation ///< GLM_GTX_matrix_interpolation extension: Add transformation matrices
|
||||
{
|
||||
/// \addtogroup gtx_matrix_interpolation
|
||||
/// @{
|
||||
@ -57,7 +55,6 @@ namespace glm
|
||||
T const delta);
|
||||
|
||||
/// @}
|
||||
|
||||
}//namespace matrix_interpolation
|
||||
}//namespace gtx
|
||||
}//namespace glm
|
||||
|
@ -20,11 +20,9 @@
|
||||
# pragma message("GLM: GLM_GTX_matrix_major_storage extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_matrix_major_storage: Build matrices with specific matrix order, row or column
|
||||
namespace matrix_major_storage
|
||||
namespace matrix_major_storage ///< GLM_GTX_matrix_major_storage: Build matrices with specific matrix order, row or column
|
||||
{
|
||||
/// \addtogroup gtx_matrix_major_storage
|
||||
/// @{
|
||||
@ -114,7 +112,6 @@ namespace glm
|
||||
const detail::tmat4x4<T>& m);
|
||||
|
||||
/// @}
|
||||
|
||||
}//namespace matrix_major_storage
|
||||
}//namespace gtx
|
||||
}//namespace glm
|
||||
|
@ -20,11 +20,9 @@
|
||||
# pragma message("GLM: GLM_GTX_matrix_operation extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_matrix_operation: Build diagonal matrices
|
||||
namespace matrix_operation
|
||||
namespace matrix_operation ///< GLM_GTX_matrix_operation: Build diagonal matrices
|
||||
{
|
||||
/// \addtogroup gtx_matrix_operation
|
||||
/// @{
|
||||
@ -84,7 +82,6 @@ namespace glm
|
||||
detail::tvec4<valType> const & v);
|
||||
|
||||
/// @}
|
||||
|
||||
}//namespace matrix_operation
|
||||
}//namespace gtx
|
||||
}//namespace glm
|
||||
|
@ -20,11 +20,9 @@
|
||||
# pragma message("GLM: GLM_GTX_matrix_query extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_matrix_query: Query to evaluate matrix properties
|
||||
namespace matrix_query
|
||||
namespace matrix_query ///< GLM_GTX_matrix_query: Query to evaluate matrix properties
|
||||
{
|
||||
/// \addtogroup gtx_matrix_query
|
||||
/// @{
|
||||
|
@ -20,11 +20,9 @@
|
||||
# pragma message("GLM: GLM_GTX_mixed_product extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_mixed_product extension: Mixed product of 3 vectors.
|
||||
namespace mixed_product
|
||||
namespace mixed_product ///< GLM_GTX_mixed_product extension: Mixed product of 3 vectors.
|
||||
{
|
||||
/// \addtogroup gtx_mixed_product
|
||||
/// @{
|
||||
|
@ -20,11 +20,9 @@
|
||||
# pragma message("GLM: GLM_GTX_multiple extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_multiple: Find the closest number of a number multiple of other number.
|
||||
namespace multiple
|
||||
namespace multiple ///< GLM_GTX_multiple: Find the closest number of a number multiple of other number.
|
||||
{
|
||||
/// \addtogroup gtx_multiple
|
||||
/// @{
|
||||
@ -44,7 +42,6 @@ namespace glm
|
||||
genType const & Multiple);
|
||||
|
||||
/// @}
|
||||
|
||||
}//namespace multiple
|
||||
}//namespace gtx
|
||||
}//namespace glm
|
||||
|
@ -25,11 +25,9 @@
|
||||
# pragma message("GLM: GLM_GTX_noise extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_noise extension: Comparison functions for a user defined epsilon values.
|
||||
namespace noise
|
||||
namespace noise ///< GLM_GTX_noise extension: Comparison functions for a user defined epsilon values.
|
||||
{
|
||||
/// \addtogroup gtx_noise
|
||||
/// @{
|
||||
@ -54,7 +52,6 @@ namespace glm
|
||||
vecType<T> const & p);
|
||||
|
||||
/// @}
|
||||
|
||||
}//namespace noise
|
||||
}//namespace gtx
|
||||
}//namespace glm
|
||||
|
@ -25,11 +25,9 @@
|
||||
# pragma message("GLM: GLM_GTX_norm extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_norm extension: Various way to compute vector norms.
|
||||
namespace norm
|
||||
namespace norm ///< GLM_GTX_norm extension: Various way to compute vector norms.
|
||||
{
|
||||
/// \addtogroup gtx_norm
|
||||
/// @{
|
||||
@ -134,7 +132,6 @@ namespace glm
|
||||
unsigned int Depth);
|
||||
|
||||
/// @}
|
||||
|
||||
}//namespace norm
|
||||
}//namespace gtx
|
||||
}//namespace glm
|
||||
|
@ -20,11 +20,9 @@
|
||||
# pragma message("GLM: GLM_GTX_normal extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_normal extension: Compute the normal of a triangle.
|
||||
namespace normal
|
||||
namespace normal ///< GLM_GTX_normal extension: Compute the normal of a triangle.
|
||||
{
|
||||
/// \addtogroup gtx_normal
|
||||
/// @{
|
||||
@ -38,7 +36,6 @@ namespace glm
|
||||
detail::tvec3<T> const & p3);
|
||||
|
||||
/// @}
|
||||
|
||||
}//namespace normal
|
||||
}//namespace gtx
|
||||
}//namespace glm
|
||||
|
@ -22,11 +22,9 @@
|
||||
# pragma message("GLM: GLM_GTX_normalize_dot extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_normalize_dot extension: Dot product of vectors that need to be normalize with a single square root.
|
||||
namespace normalize_dot
|
||||
namespace normalize_dot ///< GLM_GTX_normalize_dot extension: Dot product of vectors that need to be normalize with a single square root.
|
||||
{
|
||||
using namespace gtx::fast_square_root;
|
||||
|
||||
@ -50,7 +48,6 @@ namespace glm
|
||||
genType const & y);
|
||||
|
||||
/// @}
|
||||
|
||||
}//namespace normalize_dot
|
||||
}//namespace gtx
|
||||
}//namespace glm
|
||||
|
@ -25,8 +25,7 @@
|
||||
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_number_precision extension: Defined size types.
|
||||
namespace number_precision
|
||||
namespace number_precision ///< GLM_GTX_number_precision extension: Defined size types.
|
||||
{
|
||||
using namespace gtc::type_precision;
|
||||
|
||||
|
@ -22,8 +22,7 @@
|
||||
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_ocl_type extension: OpenCL types.
|
||||
namespace ocl_type
|
||||
namespace ocl_type ///< GLM_GTX_ocl_type extension: OpenCL types.
|
||||
{
|
||||
///////////////////////////
|
||||
// Scalar types
|
||||
@ -100,7 +99,6 @@ namespace ocl_type
|
||||
typedef detail::tvec4<detail::float32> cl_float4; //!< \brief Single-precision floating-point scalar. (from GLM_GTX_ocl_type extension)
|
||||
|
||||
/// @}
|
||||
|
||||
}//namespace ocl_type
|
||||
}//namespace gtx
|
||||
}//namespace glm
|
||||
|
@ -20,11 +20,9 @@
|
||||
# pragma message("GLM: GLM_GTX_optimum_pow extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_optimum_pow extension: Integer exponentiation of power functions.
|
||||
namespace optimum_pow
|
||||
namespace optimum_pow ///< GLM_GTX_optimum_pow extension: Integer exponentiation of power functions.
|
||||
{
|
||||
/// \addtogroup gtx_optimum_pow
|
||||
/// @{
|
||||
@ -61,7 +59,6 @@ namespace glm
|
||||
detail::tvec4<bool> powOfTwo(const detail::tvec4<int>& x);
|
||||
|
||||
/// @}
|
||||
|
||||
}//namespace optimum_pow
|
||||
}//namespace gtx
|
||||
}//namespace glm
|
||||
|
@ -20,11 +20,9 @@
|
||||
# pragma message("GLM: GLM_GTX_orthonormalize extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_orthonormalize extension: Orthonormalize matrices.
|
||||
namespace orthonormalize
|
||||
namespace orthonormalize ///< GLM_GTX_orthonormalize extension: Orthonormalize matrices.
|
||||
{
|
||||
/// \addtogroup gtx_orthonormalize
|
||||
/// @{
|
||||
@ -43,7 +41,6 @@ namespace glm
|
||||
const detail::tvec3<T>& y);
|
||||
|
||||
/// @}
|
||||
|
||||
}//namespace orthonormalize
|
||||
}//namespace gtx
|
||||
}//namespace glm
|
||||
|
@ -22,11 +22,9 @@
|
||||
# pragma message("GLM: GLM_GTX_perpendicular extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_perpendicular extension: Perpendicular of a vector from other one
|
||||
namespace perpendicular
|
||||
namespace perpendicular ///< GLM_GTX_perpendicular extension: Perpendicular of a vector from other one
|
||||
{
|
||||
/// \addtogroup gtx_perpendicular
|
||||
/// @{
|
||||
@ -52,9 +50,7 @@ namespace glm
|
||||
detail::tvec4<T> const & x,
|
||||
detail::tvec4<T> const & Normal);
|
||||
|
||||
|
||||
/// @}
|
||||
|
||||
}//namespace perpendicular
|
||||
}//namespace gtx
|
||||
}//namespace glm
|
||||
|
@ -20,11 +20,9 @@
|
||||
# pragma message("GLM: GLM_GTX_polar_coordinates extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_polar_coordinates extension: Conversion from Euclidean space to polar space and revert.
|
||||
namespace polar_coordinates
|
||||
namespace polar_coordinates ///< GLM_GTX_polar_coordinates extension: Conversion from Euclidean space to polar space and revert.
|
||||
{
|
||||
/// \addtogroup gtx_polar_coordinates
|
||||
/// @{
|
||||
@ -40,7 +38,6 @@ namespace glm
|
||||
detail::tvec3<T> euclidean(const detail::tvec3<T>& polar);
|
||||
|
||||
/// @}
|
||||
|
||||
}//namespace polar_coordinates
|
||||
}//namespace gtx
|
||||
}//namespace glm
|
||||
|
@ -20,11 +20,9 @@
|
||||
# pragma message("GLM: GLM_GTX_projection extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_projection extension: Projection of a vector to other one
|
||||
namespace projection
|
||||
namespace projection ///< GLM_GTX_projection extension: Projection of a vector to other one
|
||||
{
|
||||
/// \addtogroup gtx_projection
|
||||
/// @{
|
||||
@ -51,7 +49,6 @@ namespace glm
|
||||
detail::tvec4<T> const & Normal);
|
||||
|
||||
/// @}
|
||||
|
||||
}//namespace projection
|
||||
}//namespace gtx
|
||||
}//namespace glm
|
||||
|
@ -25,11 +25,9 @@
|
||||
# pragma message("GLM: GLM_GTX_quaternion extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_quaternion extension: Quaternion types and functions
|
||||
namespace quaternion
|
||||
namespace quaternion ///< GLM_GTX_quaternion extension: Quaternion types and functions
|
||||
{
|
||||
using namespace gtc::quaternion;
|
||||
|
||||
@ -208,7 +206,6 @@ namespace glm
|
||||
T const & a);
|
||||
|
||||
/// @}
|
||||
|
||||
}//namespace quaternion
|
||||
}//namespace gtx
|
||||
} //namespace glm
|
||||
|
@ -25,8 +25,7 @@
|
||||
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_random extension: Generate random number from various distribution methods
|
||||
namespace random
|
||||
namespace random ///< GLM_GTX_random extension: Generate random number from various distribution methods
|
||||
{
|
||||
/// \addtogroup gtx_random
|
||||
/// @{
|
||||
|
@ -22,10 +22,8 @@
|
||||
#endif
|
||||
|
||||
namespace glm{
|
||||
namespace gtx
|
||||
{
|
||||
//! GLM_GTX_raw_data extension: Projection of a vector to other one
|
||||
namespace raw_data
|
||||
namespace gtx{
|
||||
namespace raw_data ///< GLM_GTX_raw_data extension: Projection of a vector to other one
|
||||
{
|
||||
using namespace gtc::type_precision;
|
||||
|
||||
@ -49,7 +47,7 @@ namespace gtx
|
||||
typedef uint64 qword;
|
||||
|
||||
///@}
|
||||
}
|
||||
}// namespace raw_data
|
||||
}// namespace gtx
|
||||
}// namespace glm
|
||||
|
||||
|
@ -17,11 +17,9 @@
|
||||
# pragma message("GLM: GLM_GTX_reciprocal extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_reciprocal extension: Define secant, cosecant and cotangent functions.
|
||||
namespace reciprocal
|
||||
namespace reciprocal ///< GLM_GTX_reciprocal extension: Define secant, cosecant and cotangent functions.
|
||||
{
|
||||
/// \addtogroup gtx_reciprocal
|
||||
/// @{
|
||||
@ -90,7 +88,6 @@ namespace glm
|
||||
genType acoth(genType const & x);
|
||||
|
||||
/// @}
|
||||
|
||||
}//namespace reciprocal
|
||||
}//namespace gtx
|
||||
}//namespace glm
|
||||
|
@ -23,8 +23,7 @@
|
||||
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_rotate_vector extension: Function to directly rotate a vector
|
||||
namespace rotate_vector
|
||||
namespace rotate_vector ///< GLM_GTX_rotate_vector extension: Function to directly rotate a vector
|
||||
{
|
||||
using namespace transform;
|
||||
|
||||
@ -104,7 +103,6 @@ namespace rotate_vector
|
||||
detail::tvec3<T> const & Up);
|
||||
|
||||
/// @}
|
||||
|
||||
}//namespace rotate_vector
|
||||
}//namespace gtx
|
||||
}//namespace glm
|
||||
|
@ -28,8 +28,7 @@
|
||||
# pragma message("GLM: GLM_GTX_simd_mat4 extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace glm{
|
||||
namespace detail
|
||||
{
|
||||
/// 4x4 Matrix implemented using SIMD SEE intrinsics.
|
||||
@ -127,12 +126,10 @@ namespace glm
|
||||
fmat4x4SIMD const operator- (fmat4x4SIMD const & m);
|
||||
fmat4x4SIMD const operator-- (fmat4x4SIMD const & m, int);
|
||||
fmat4x4SIMD const operator++ (fmat4x4SIMD const & m, int);
|
||||
|
||||
}//namespace detail
|
||||
|
||||
namespace gtx{
|
||||
//! GLM_GTX_simd_mat4 extension: SIMD implementation of mat4 type.
|
||||
namespace simd_mat4
|
||||
namespace simd_mat4 ///< GLM_GTX_simd_mat4 extension: SIMD implementation of mat4 type.
|
||||
{
|
||||
typedef detail::fmat4x4SIMD simdMat4;
|
||||
|
||||
@ -175,7 +172,6 @@ namespace glm
|
||||
detail::fmat4x4SIMD const & m);
|
||||
|
||||
/// @}
|
||||
|
||||
}// namespace simd_mat4
|
||||
}// namespace gtx
|
||||
}// namespace glm
|
||||
|
@ -28,8 +28,7 @@
|
||||
# pragma message("GLM: GLM_GTX_simd_vec4 extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace glm{
|
||||
namespace detail
|
||||
{
|
||||
/// 4-dimensional vector implemented using SIMD SEE intrinsics.
|
||||
@ -110,12 +109,10 @@ namespace glm
|
||||
template <comp X>
|
||||
fvec4SIMD swizzle() const;
|
||||
};
|
||||
|
||||
}//namespace detail
|
||||
|
||||
namespace gtx{
|
||||
//! GLM_GTX_simd_vec4 extension: SIMD implementation of vec4 type.
|
||||
namespace simd_vec4
|
||||
namespace simd_vec4 ///< GLM_GTX_simd_vec4 extension: SIMD implementation of vec4 type.
|
||||
{
|
||||
typedef detail::fvec4SIMD simdVec4;
|
||||
|
||||
|
@ -22,8 +22,7 @@
|
||||
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_simplex extension: Spline functions
|
||||
namespace spline
|
||||
namespace spline ///< GLM_GTX_simplex extension: Spline functions
|
||||
{
|
||||
/// \addtogroup gtx_spline
|
||||
///@{
|
||||
@ -59,7 +58,6 @@ namespace spline
|
||||
typename genType::value_type const & s);
|
||||
|
||||
/// @}
|
||||
|
||||
}// namespace simplex
|
||||
}// namespace gtx
|
||||
}// namespace glm
|
||||
|
@ -23,8 +23,7 @@
|
||||
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_spline extension: Spline functions
|
||||
namespace spline
|
||||
namespace spline ///< GLM_GTX_spline extension: Spline functions
|
||||
{
|
||||
using namespace gtx::optimum_pow;
|
||||
|
||||
@ -62,7 +61,6 @@ namespace spline
|
||||
typename genType::value_type const & s);
|
||||
|
||||
/// @}
|
||||
|
||||
}//namespace spline
|
||||
}//namespace gtx
|
||||
}//namespace glm
|
||||
|
@ -21,11 +21,9 @@
|
||||
# pragma message("GLM: GLM_GTX_std_based_type extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_std_based_type extension: Add support vector types based on C++ standard type
|
||||
namespace std_based_type
|
||||
namespace std_based_type ///< GLM_GTX_std_based_type extension: Add support vector types based on C++ standard type
|
||||
{
|
||||
typedef detail::tvec2<std::size_t> size2;
|
||||
typedef detail::tvec3<std::size_t> size3;
|
||||
|
@ -28,11 +28,9 @@
|
||||
# pragma message("GLM: GLM_GTX_string_cast extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_string_cast extension: Setup strings for GLM type values
|
||||
namespace string_cast
|
||||
namespace string_cast ///< GLM_GTX_string_cast extension: Setup strings for GLM type values
|
||||
{
|
||||
using namespace gtc::half_float;
|
||||
using namespace gtx::integer;
|
||||
@ -48,7 +46,6 @@ namespace glm
|
||||
std::string to_string(genType const & x);
|
||||
|
||||
/// @}
|
||||
|
||||
}//namespace string_cast
|
||||
}//namespace gtx
|
||||
}//namespace glm
|
||||
|
@ -22,11 +22,9 @@
|
||||
# pragma message("GLM: GLM_GTX_transform extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_transform extension: Add transformation matrices
|
||||
namespace transform
|
||||
namespace transform ///< GLM_GTX_transform extension: Add transformation matrices
|
||||
{
|
||||
using namespace gtc::matrix_transform;
|
||||
|
||||
@ -94,7 +92,6 @@ namespace glm
|
||||
detail::tvec3<T> const & v);
|
||||
|
||||
/// @}
|
||||
|
||||
}//namespace transform
|
||||
}//namespace gtx
|
||||
}//namespace glm
|
||||
|
@ -22,11 +22,9 @@
|
||||
# pragma message("GLM: GLM_GTX_transform2 extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
namespace glm{
|
||||
namespace gtx{
|
||||
//! GLM_GTX_transform2 extension: Add extra transformation matrices
|
||||
namespace transform2
|
||||
namespace transform2 ///< GLM_GTX_transform2 extension: Add extra transformation matrices
|
||||
{
|
||||
using namespace gtx::transform;
|
||||
|
||||
@ -109,7 +107,6 @@ namespace glm
|
||||
valType bias);
|
||||
|
||||
/// @}
|
||||
|
||||
}// namespace transform2
|
||||
}// namespace gtx
|
||||
}// namespace glm
|
||||
|
@ -58,7 +58,6 @@ namespace ulp ///< GLM_GTX_ulp extension: Precision calculation functions
|
||||
vecType<uint> float_distance(vecType<T> const & x, vecType<T> const & y);
|
||||
|
||||
///@}
|
||||
|
||||
}// namespace ulp
|
||||
}// namespace gtx
|
||||
}// namespace glm
|
||||
|
@ -48,7 +48,6 @@ namespace unsigned_int ///< GLM_GTX_unsigned_int extension: Add support for unsi
|
||||
uint mod(uint x, uint y);
|
||||
|
||||
/// @}
|
||||
|
||||
}//namespace unsigned_int
|
||||
}//namespace gtx
|
||||
}//namespace glm
|
||||
|
@ -55,7 +55,6 @@ namespace vector_access ///< GLM_GTX_vector_access extension: Function to set va
|
||||
valType const & w);
|
||||
|
||||
/// @}
|
||||
|
||||
}//namespace vector_access
|
||||
}//namespace gtx
|
||||
}//namespace glm
|
||||
|
@ -84,7 +84,6 @@ namespace vector_query ///< GLM_GTX_vector_query extension: Query informations o
|
||||
typename genType::value_type const & epsilon = std::numeric_limits<typename genType::value_type>::epsilon());
|
||||
|
||||
/// @}
|
||||
|
||||
}// namespace vector_query
|
||||
}// namespace gtx
|
||||
}// namespace glm
|
||||
|
@ -43,7 +43,6 @@ namespace wrap ///< GLM_GTX_wrap: Wrapping mode using my texture samping.
|
||||
genType mirrorRepeat(genType const & Texcoord);
|
||||
|
||||
/// @}
|
||||
|
||||
}// namespace wrap
|
||||
}// namespace gtx
|
||||
}// namespace glm
|
||||
|
Loading…
Reference in New Issue
Block a user