Added reference to other extensions

This commit is contained in:
Christophe Riccio 2018-08-29 01:34:02 +02:00
parent 34f0c510b6
commit 0e3c9f0d7d
31 changed files with 89 additions and 213 deletions

View File

@ -1,13 +1,9 @@
/// @ref ext_matrix_clip_space /// @ref ext_matrix_clip_space
/// @file glm/ext/matrix_clip_space.hpp /// @file glm/ext/matrix_clip_space.hpp
/// ///
/// @see core (dependence)
///
/// @defgroup ext_matrix_clip_space GLM_EXT_matrix_clip_space /// @defgroup ext_matrix_clip_space GLM_EXT_matrix_clip_space
/// @ingroup ext /// @ingroup ext
/// ///
/// Include <glm/ext/matrix_clip_space.hpp> to use the features of this extension.
///
/// Defines functions that generate common transformation matrices. /// Defines functions that generate common transformation matrices.
/// ///
/// The matrices generated by this extension use standard OpenGL fixed-function /// The matrices generated by this extension use standard OpenGL fixed-function
@ -15,6 +11,8 @@
/// space into the specific eye space that the projective matrix functions /// space into the specific eye space that the projective matrix functions
/// (perspective, ortho, etc) are designed to expect. The OpenGL compatibility /// (perspective, ortho, etc) are designed to expect. The OpenGL compatibility
/// specifications defines the particular layout of this eye space. /// specifications defines the particular layout of this eye space.
///
/// Include <glm/ext/matrix_clip_space.hpp> to use the features of this extension.
#pragma once #pragma once

View File

@ -1,8 +1,6 @@
/// @ref ext_matrix_projection /// @ref ext_matrix_projection
/// @file glm/ext/matrix_projection.hpp /// @file glm/ext/matrix_projection.hpp
/// ///
/// @see core (dependence)
///
/// @defgroup ext_matrix_projection GLM_EXT_matrix_projection /// @defgroup ext_matrix_projection GLM_EXT_matrix_projection
/// @ingroup ext /// @ingroup ext
/// ///
@ -43,7 +41,7 @@ namespace glm
/// @return Return the computed window coordinates. /// @return Return the computed window coordinates.
/// @tparam T Native type used for the computation. Currently supported: half (not recommended), float or double. /// @tparam T Native type used for the computation. Currently supported: half (not recommended), float or double.
/// @tparam U Currently supported: Floating-point types and integer types. /// @tparam U Currently supported: Floating-point types and integer types.
/// @see gtc_matrix_transform ///
/// @see <a href="https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/gluProject.xml">gluProject man page</a> /// @see <a href="https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/gluProject.xml">gluProject man page</a>
template<typename T, typename U, qualifier Q> template<typename T, typename U, qualifier Q>
GLM_FUNC_DECL vec<3, T, Q> projectZO( GLM_FUNC_DECL vec<3, T, Q> projectZO(
@ -59,7 +57,7 @@ namespace glm
/// @return Return the computed window coordinates. /// @return Return the computed window coordinates.
/// @tparam T Native type used for the computation. Currently supported: half (not recommended), float or double. /// @tparam T Native type used for the computation. Currently supported: half (not recommended), float or double.
/// @tparam U Currently supported: Floating-point types and integer types. /// @tparam U Currently supported: Floating-point types and integer types.
/// @see gtc_matrix_transform ///
/// @see <a href="https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/gluProject.xml">gluProject man page</a> /// @see <a href="https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/gluProject.xml">gluProject man page</a>
template<typename T, typename U, qualifier Q> template<typename T, typename U, qualifier Q>
GLM_FUNC_DECL vec<3, T, Q> projectNO( GLM_FUNC_DECL vec<3, T, Q> projectNO(
@ -75,7 +73,7 @@ namespace glm
/// @return Return the computed window coordinates. /// @return Return the computed window coordinates.
/// @tparam T Native type used for the computation. Currently supported: half (not recommended), float or double. /// @tparam T Native type used for the computation. Currently supported: half (not recommended), float or double.
/// @tparam U Currently supported: Floating-point types and integer types. /// @tparam U Currently supported: Floating-point types and integer types.
/// @see gtc_matrix_transform ///
/// @see <a href="https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/gluProject.xml">gluProject man page</a> /// @see <a href="https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/gluProject.xml">gluProject man page</a>
template<typename T, typename U, qualifier Q> template<typename T, typename U, qualifier Q>
GLM_FUNC_DECL vec<3, T, Q> project( GLM_FUNC_DECL vec<3, T, Q> project(
@ -91,7 +89,7 @@ namespace glm
/// @return Returns the computed object coordinates. /// @return Returns the computed object coordinates.
/// @tparam T Native type used for the computation. Currently supported: half (not recommended), float or double. /// @tparam T Native type used for the computation. Currently supported: half (not recommended), float or double.
/// @tparam U Currently supported: Floating-point types and integer types. /// @tparam U Currently supported: Floating-point types and integer types.
/// @see gtc_matrix_transform ///
/// @see <a href="https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/gluUnProject.xml">gluUnProject man page</a> /// @see <a href="https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/gluUnProject.xml">gluUnProject man page</a>
template<typename T, typename U, qualifier Q> template<typename T, typename U, qualifier Q>
GLM_FUNC_DECL vec<3, T, Q> unProjectZO( GLM_FUNC_DECL vec<3, T, Q> unProjectZO(
@ -107,7 +105,7 @@ namespace glm
/// @return Returns the computed object coordinates. /// @return Returns the computed object coordinates.
/// @tparam T Native type used for the computation. Currently supported: half (not recommended), float or double. /// @tparam T Native type used for the computation. Currently supported: half (not recommended), float or double.
/// @tparam U Currently supported: Floating-point types and integer types. /// @tparam U Currently supported: Floating-point types and integer types.
/// @see gtc_matrix_transform ///
/// @see <a href="https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/gluUnProject.xml">gluUnProject man page</a> /// @see <a href="https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/gluUnProject.xml">gluUnProject man page</a>
template<typename T, typename U, qualifier Q> template<typename T, typename U, qualifier Q>
GLM_FUNC_DECL vec<3, T, Q> unProjectNO( GLM_FUNC_DECL vec<3, T, Q> unProjectNO(
@ -123,7 +121,7 @@ namespace glm
/// @return Returns the computed object coordinates. /// @return Returns the computed object coordinates.
/// @tparam T Native type used for the computation. Currently supported: half (not recommended), float or double. /// @tparam T Native type used for the computation. Currently supported: half (not recommended), float or double.
/// @tparam U Currently supported: Floating-point types and integer types. /// @tparam U Currently supported: Floating-point types and integer types.
/// @see gtc_matrix_transform ///
/// @see <a href="https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/gluUnProject.xml">gluUnProject man page</a> /// @see <a href="https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/gluUnProject.xml">gluUnProject man page</a>
template<typename T, typename U, qualifier Q> template<typename T, typename U, qualifier Q>
GLM_FUNC_DECL vec<3, T, Q> unProject( GLM_FUNC_DECL vec<3, T, Q> unProject(
@ -136,7 +134,7 @@ namespace glm
/// @param viewport Rendering viewport /// @param viewport Rendering viewport
/// @tparam T Native type used for the computation. Currently supported: half (not recommended), float or double. /// @tparam T Native type used for the computation. Currently supported: half (not recommended), float or double.
/// @tparam U Currently supported: Floating-point types and integer types. /// @tparam U Currently supported: Floating-point types and integer types.
/// @see gtc_matrix_transform ///
/// @see <a href="https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/gluPickMatrix.xml">gluPickMatrix man page</a> /// @see <a href="https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/gluPickMatrix.xml">gluPickMatrix man page</a>
template<typename T, qualifier Q, typename U> template<typename T, qualifier Q, typename U>
GLM_FUNC_DECL mat<4, 4, T, Q> pickMatrix( GLM_FUNC_DECL mat<4, 4, T, Q> pickMatrix(

View File

@ -1,14 +1,12 @@
/// @ref ext_matrix_relational /// @ref ext_matrix_relational
/// @file glm/ext/matrix_relational.hpp /// @file glm/ext/matrix_relational.hpp
/// ///
/// @see core (dependence)
///
/// @defgroup ext_matrix_relational GLM_EXT_matrix_relational /// @defgroup ext_matrix_relational GLM_EXT_matrix_relational
/// @ingroup ext /// @ingroup ext
/// ///
/// Include <glm/ext/matrix_relational.hpp> to use the features of this extension.
///
/// Comparison functions for a user defined epsilon values. /// Comparison functions for a user defined epsilon values.
///
/// Include <glm/ext/matrix_relational.hpp> to use the features of this extension.
#pragma once #pragma once
@ -31,8 +29,6 @@ namespace glm
/// @tparam R Integer between 1 and 4 included that qualify the number of rows of the matrix /// @tparam R Integer between 1 and 4 included that qualify the number of rows of the matrix
/// @tparam T Floating-point or integer scalar types /// @tparam T Floating-point or integer scalar types
/// @tparam Q Value from qualifier enum /// @tparam Q Value from qualifier enum
///
/// @see ext_matrix_relational
template<length_t C, length_t R, typename T, qualifier Q> template<length_t C, length_t R, typename T, qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec<C, bool, Q> equal(mat<C, R, T, Q> const& x, mat<C, R, T, Q> const& y); GLM_FUNC_DECL GLM_CONSTEXPR vec<C, bool, Q> equal(mat<C, R, T, Q> const& x, mat<C, R, T, Q> const& y);
@ -43,8 +39,6 @@ namespace glm
/// @tparam R Integer between 1 and 4 included that qualify the number of rows of the matrix /// @tparam R Integer between 1 and 4 included that qualify the number of rows of the matrix
/// @tparam T Floating-point or integer scalar types /// @tparam T Floating-point or integer scalar types
/// @tparam Q Value from qualifier enum /// @tparam Q Value from qualifier enum
///
/// @see ext_matrix_relational
template<length_t C, length_t R, typename T, qualifier Q> template<length_t C, length_t R, typename T, qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec<C, bool, Q> equal(mat<C, R, T, Q> const& x, mat<C, R, T, Q> const& y, T epsilon); GLM_FUNC_DECL GLM_CONSTEXPR vec<C, bool, Q> equal(mat<C, R, T, Q> const& x, mat<C, R, T, Q> const& y, T epsilon);
@ -55,8 +49,6 @@ namespace glm
/// @tparam R Integer between 1 and 4 included that qualify the number of rows of the matrix /// @tparam R Integer between 1 and 4 included that qualify the number of rows of the matrix
/// @tparam T Floating-point or integer scalar types /// @tparam T Floating-point or integer scalar types
/// @tparam Q Value from qualifier enum /// @tparam Q Value from qualifier enum
///
/// @see ext_matrix_relational
template<length_t C, length_t R, typename T, qualifier Q> template<length_t C, length_t R, typename T, qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec<C, bool, Q> equal(mat<C, R, T, Q> const& x, mat<C, R, T, Q> const& y, vec<C, T, Q> const& epsilon); GLM_FUNC_DECL GLM_CONSTEXPR vec<C, bool, Q> equal(mat<C, R, T, Q> const& x, mat<C, R, T, Q> const& y, vec<C, T, Q> const& epsilon);
@ -67,8 +59,6 @@ namespace glm
/// @tparam R Integer between 1 and 4 included that qualify the number of rows of the matrix /// @tparam R Integer between 1 and 4 included that qualify the number of rows of the matrix
/// @tparam T Floating-point or integer scalar types /// @tparam T Floating-point or integer scalar types
/// @tparam Q Value from qualifier enum /// @tparam Q Value from qualifier enum
///
/// @see ext_matrix_relational
template<length_t C, length_t R, typename T, qualifier Q> template<length_t C, length_t R, typename T, qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec<C, bool, Q> notEqual(mat<C, R, T, Q> const& x, mat<C, R, T, Q> const& y); GLM_FUNC_DECL GLM_CONSTEXPR vec<C, bool, Q> notEqual(mat<C, R, T, Q> const& x, mat<C, R, T, Q> const& y);
@ -79,8 +69,6 @@ namespace glm
/// @tparam R Integer between 1 and 4 included that qualify the number of rows of the matrix /// @tparam R Integer between 1 and 4 included that qualify the number of rows of the matrix
/// @tparam T Floating-point or integer scalar types /// @tparam T Floating-point or integer scalar types
/// @tparam Q Value from qualifier enum /// @tparam Q Value from qualifier enum
///
/// @see ext_matrix_relational
template<length_t C, length_t R, typename T, qualifier Q> template<length_t C, length_t R, typename T, qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec<C, bool, Q> notEqual(mat<C, R, T, Q> const& x, mat<C, R, T, Q> const& y, T epsilon); GLM_FUNC_DECL GLM_CONSTEXPR vec<C, bool, Q> notEqual(mat<C, R, T, Q> const& x, mat<C, R, T, Q> const& y, T epsilon);
@ -91,8 +79,6 @@ namespace glm
/// @tparam R Integer between 1 and 4 included that qualify the number of rows of the matrix /// @tparam R Integer between 1 and 4 included that qualify the number of rows of the matrix
/// @tparam T Floating-point or integer scalar types /// @tparam T Floating-point or integer scalar types
/// @tparam Q Value from qualifier enum /// @tparam Q Value from qualifier enum
///
/// @see ext_vector_relational
template<length_t C, length_t R, typename T, qualifier Q> template<length_t C, length_t R, typename T, qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec<C, bool, Q> notEqual(mat<C, R, T, Q> const& x, mat<C, R, T, Q> const& y, vec<C, T, Q> const& epsilon); GLM_FUNC_DECL GLM_CONSTEXPR vec<C, bool, Q> notEqual(mat<C, R, T, Q> const& x, mat<C, R, T, Q> const& y, vec<C, T, Q> const& epsilon);

View File

@ -1,8 +1,6 @@
/// @ref ext_matrix_transform /// @ref ext_matrix_transform
/// @file glm/ext/matrix_transform.hpp /// @file glm/ext/matrix_transform.hpp
/// ///
/// @see core (dependence)
///
/// @defgroup ext_matrix_transform GLM_EXT_matrix_transform /// @defgroup ext_matrix_transform GLM_EXT_matrix_transform
/// @ingroup ext /// @ingroup ext
/// ///
@ -52,7 +50,7 @@ namespace glm
/// // m[2][0] == 0.0f, m[2][1] == 0.0f, m[2][2] == 1.0f, m[2][3] == 0.0f /// // m[2][0] == 0.0f, m[2][1] == 0.0f, m[2][2] == 1.0f, m[2][3] == 0.0f
/// // m[3][0] == 1.0f, m[3][1] == 1.0f, m[3][2] == 1.0f, m[3][3] == 1.0f /// // m[3][0] == 1.0f, m[3][1] == 1.0f, m[3][2] == 1.0f, m[3][3] == 1.0f
/// @endcode /// @endcode
/// @see gtc_matrix_transform ///
/// @see - translate(mat<4, 4, T, Q> const& m, T x, T y, T z) /// @see - translate(mat<4, 4, T, Q> const& m, T x, T y, T z)
/// @see - translate(vec<3, T, Q> const& v) /// @see - translate(vec<3, T, Q> const& v)
/// @see <a href="https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glTranslate.xml">glTranslate man page</a> /// @see <a href="https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glTranslate.xml">glTranslate man page</a>
@ -66,7 +64,7 @@ namespace glm
/// @param angle Rotation angle expressed in radians. /// @param angle Rotation angle expressed in radians.
/// @param axis Rotation axis, recommended to be normalized. /// @param axis Rotation axis, recommended to be normalized.
/// @tparam T Value type used to build the matrix. Supported: half, float or double. /// @tparam T Value type used to build the matrix. Supported: half, float or double.
/// @see gtc_matrix_transform ///
/// @see - rotate(mat<4, 4, T, Q> const& m, T angle, T x, T y, T z) /// @see - rotate(mat<4, 4, T, Q> const& m, T angle, T x, T y, T z)
/// @see - rotate(T angle, vec<3, T, Q> const& v) /// @see - rotate(T angle, vec<3, T, Q> const& v)
/// @see <a href="https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glRotate.xml">glRotate man page</a> /// @see <a href="https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glRotate.xml">glRotate man page</a>
@ -79,7 +77,7 @@ namespace glm
/// @param m Input matrix multiplied by this scale matrix. /// @param m Input matrix multiplied by this scale matrix.
/// @param v Ratio of scaling for each axis. /// @param v Ratio of scaling for each axis.
/// @tparam T Value type used to build the matrix. Currently supported: half (not recommended), float or double. /// @tparam T Value type used to build the matrix. Currently supported: half (not recommended), float or double.
/// @see gtc_matrix_transform ///
/// @see - scale(mat<4, 4, T, Q> const& m, T x, T y, T z) /// @see - scale(mat<4, 4, T, Q> const& m, T x, T y, T z)
/// @see - scale(vec<3, T, Q> const& v) /// @see - scale(vec<3, T, Q> const& v)
/// @see <a href="https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glScale.xml">glScale man page</a> /// @see <a href="https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glScale.xml">glScale man page</a>
@ -92,7 +90,7 @@ namespace glm
/// @param eye Position of the camera /// @param eye Position of the camera
/// @param center Position where the camera is looking at /// @param center Position where the camera is looking at
/// @param up Normalized up vector, how the camera is oriented. Typically (0, 0, 1) /// @param up Normalized up vector, how the camera is oriented. Typically (0, 0, 1)
/// @see gtc_matrix_transform ///
/// @see - frustum(T const& left, T const& right, T const& bottom, T const& top, T const& nearVal, T const& farVal) frustum(T const& left, T const& right, T const& bottom, T const& top, T const& nearVal, T const& farVal) /// @see - frustum(T const& left, T const& right, T const& bottom, T const& top, T const& nearVal, T const& farVal) frustum(T const& left, T const& right, T const& bottom, T const& top, T const& nearVal, T const& farVal)
template<typename T, qualifier Q> template<typename T, qualifier Q>
GLM_FUNC_DECL mat<4, 4, T, Q> lookAtRH( GLM_FUNC_DECL mat<4, 4, T, Q> lookAtRH(
@ -103,7 +101,7 @@ namespace glm
/// @param eye Position of the camera /// @param eye Position of the camera
/// @param center Position where the camera is looking at /// @param center Position where the camera is looking at
/// @param up Normalized up vector, how the camera is oriented. Typically (0, 0, 1) /// @param up Normalized up vector, how the camera is oriented. Typically (0, 0, 1)
/// @see gtc_matrix_transform ///
/// @see - frustum(T const& left, T const& right, T const& bottom, T const& top, T const& nearVal, T const& farVal) frustum(T const& left, T const& right, T const& bottom, T const& top, T const& nearVal, T const& farVal) /// @see - frustum(T const& left, T const& right, T const& bottom, T const& top, T const& nearVal, T const& farVal) frustum(T const& left, T const& right, T const& bottom, T const& top, T const& nearVal, T const& farVal)
template<typename T, qualifier Q> template<typename T, qualifier Q>
GLM_FUNC_DECL mat<4, 4, T, Q> lookAtLH( GLM_FUNC_DECL mat<4, 4, T, Q> lookAtLH(
@ -114,7 +112,7 @@ namespace glm
/// @param eye Position of the camera /// @param eye Position of the camera
/// @param center Position where the camera is looking at /// @param center Position where the camera is looking at
/// @param up Normalized up vector, how the camera is oriented. Typically (0, 0, 1) /// @param up Normalized up vector, how the camera is oriented. Typically (0, 0, 1)
/// @see gtc_matrix_transform ///
/// @see - frustum(T const& left, T const& right, T const& bottom, T const& top, T const& nearVal, T const& farVal) frustum(T const& left, T const& right, T const& bottom, T const& top, T const& nearVal, T const& farVal) /// @see - frustum(T const& left, T const& right, T const& bottom, T const& top, T const& nearVal, T const& farVal) frustum(T const& left, T const& right, T const& bottom, T const& top, T const& nearVal, T const& farVal)
/// @see <a href="https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/gluLookAt.xml">gluLookAt man page</a> /// @see <a href="https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/gluLookAt.xml">gluLookAt man page</a>
template<typename T, qualifier Q> template<typename T, qualifier Q>

View File

@ -1,8 +1,6 @@
/// @ref ext_quaternion_common /// @ref ext_quaternion_common
/// @file glm/ext/quaternion_common.hpp /// @file glm/ext/quaternion_common.hpp
/// ///
/// @see core (dependence)
///
/// @defgroup ext_quaternion_common GLM_EXT_quaternion_common /// @defgroup ext_quaternion_common GLM_EXT_quaternion_common
/// @ingroup ext /// @ingroup ext
/// ///
@ -39,7 +37,6 @@ namespace glm
/// @tparam T Floating-point scalar types. /// @tparam T Floating-point scalar types.
/// ///
/// @see - slerp(qua<T, Q> const& x, qua<T, Q> const& y, T const& a) /// @see - slerp(qua<T, Q> const& x, qua<T, Q> const& y, T const& a)
/// @see ext_quaternion_common
template<typename T, qualifier Q> template<typename T, qualifier Q>
GLM_FUNC_DECL qua<T, Q> mix(qua<T, Q> const& x, qua<T, Q> const& y, T a); GLM_FUNC_DECL qua<T, Q> mix(qua<T, Q> const& x, qua<T, Q> const& y, T a);
@ -50,8 +47,6 @@ namespace glm
/// @param y A quaternion /// @param y A quaternion
/// @param a Interpolation factor. The interpolation is defined in the range [0, 1]. /// @param a Interpolation factor. The interpolation is defined in the range [0, 1].
/// @tparam T Floating-point scalar types. /// @tparam T Floating-point scalar types.
///
/// @see ext_quaternion_common
template<typename T, qualifier Q> template<typename T, qualifier Q>
GLM_FUNC_DECL qua<T, Q> lerp(qua<T, Q> const& x, qua<T, Q> const& y, T a); GLM_FUNC_DECL qua<T, Q> lerp(qua<T, Q> const& x, qua<T, Q> const& y, T a);
@ -62,24 +57,18 @@ namespace glm
/// @param y A quaternion /// @param y A quaternion
/// @param a Interpolation factor. The interpolation is defined beyond the range [0, 1]. /// @param a Interpolation factor. The interpolation is defined beyond the range [0, 1].
/// @tparam T Floating-point scalar types. /// @tparam T Floating-point scalar types.
///
/// @see ext_quaternion_common
template<typename T, qualifier Q> template<typename T, qualifier Q>
GLM_FUNC_DECL qua<T, Q> slerp(qua<T, Q> const& x, qua<T, Q> const& y, T a); GLM_FUNC_DECL qua<T, Q> slerp(qua<T, Q> const& x, qua<T, Q> const& y, T a);
/// Returns the q conjugate. /// Returns the q conjugate.
/// ///
/// @tparam T Floating-point scalar types. /// @tparam T Floating-point scalar types.
///
/// @see ext_quaternion_common
template<typename T, qualifier Q> template<typename T, qualifier Q>
GLM_FUNC_DECL qua<T, Q> conjugate(qua<T, Q> const& q); GLM_FUNC_DECL qua<T, Q> conjugate(qua<T, Q> const& q);
/// Returns the q inverse. /// Returns the q inverse.
/// ///
/// @tparam T Floating-point scalar types. /// @tparam T Floating-point scalar types.
///
/// @see ext_quaternion_common
template<typename T, qualifier Q> template<typename T, qualifier Q>
GLM_FUNC_DECL qua<T, Q> inverse(qua<T, Q> const& q); GLM_FUNC_DECL qua<T, Q> inverse(qua<T, Q> const& q);
@ -92,8 +81,6 @@ namespace glm
/// /!\ When using compiler fast math, this function may fail. /// /!\ When using compiler fast math, this function may fail.
/// ///
/// @tparam T Floating-point scalar types. /// @tparam T Floating-point scalar types.
///
/// @see ext_quaternion_common
template<typename T, qualifier Q> template<typename T, qualifier Q>
GLM_FUNC_DECL vec<4, bool, Q> isnan(qua<T, Q> const& x); GLM_FUNC_DECL vec<4, bool, Q> isnan(qua<T, Q> const& x);
@ -104,8 +91,6 @@ namespace glm
/// representations. /// representations.
/// ///
/// @tparam T Floating-point scalar types. /// @tparam T Floating-point scalar types.
///
/// @see ext_quaternion_common
template<typename T, qualifier Q> template<typename T, qualifier Q>
GLM_FUNC_DECL vec<4, bool, Q> isinf(qua<T, Q> const& x); GLM_FUNC_DECL vec<4, bool, Q> isinf(qua<T, Q> const& x);

View File

@ -1,14 +1,15 @@
/// @ref ext_quaternion_double /// @ref ext_quaternion_double
/// @file glm/ext/quaternion_double.hpp /// @file glm/ext/quaternion_double.hpp
/// ///
/// @see core (dependence)
///
/// @defgroup ext_quaternion_double GLM_EXT_quaternion_double /// @defgroup ext_quaternion_double GLM_EXT_quaternion_double
/// @ingroup ext /// @ingroup ext
/// ///
/// Defines a templated quaternion type and several quaternion operations.
///
/// Include <glm/ext/quaternion_double.hpp> to use the features of this extension. /// Include <glm/ext/quaternion_double.hpp> to use the features of this extension.
/// ///
/// Defines a templated quaternion type and several quaternion operations. /// @see ext_quaternion_float
/// @see ext_quaternion_double_precision
#pragma once #pragma once
@ -25,8 +26,6 @@ namespace glm
/// @{ /// @{
/// Quaternion of double-precision floating-point numbers. /// Quaternion of double-precision floating-point numbers.
///
/// @see ext_quaternion_double
typedef qua<double, defaultp> dquat; typedef qua<double, defaultp> dquat;
/// @} /// @}

View File

@ -1,8 +1,6 @@
/// @ref ext_quaternion_double_precision /// @ref ext_quaternion_double_precision
/// @file glm/ext/quaternion_double_precision.hpp /// @file glm/ext/quaternion_double_precision.hpp
/// ///
/// @see core (dependence)
///
/// @defgroup ext_quaternion_double_precision GLM_EXT_quaternion_double_precision /// @defgroup ext_quaternion_double_precision GLM_EXT_quaternion_double_precision
/// @ingroup ext /// @ingroup ext
/// ///

View File

@ -1,8 +1,6 @@
/// @ref ext_quaternion_exponential /// @ref ext_quaternion_exponential
/// @file glm/ext/quaternion_exponential.hpp /// @file glm/ext/quaternion_exponential.hpp
/// ///
/// @see core (dependence)
///
/// @defgroup ext_quaternion_exponential GLM_EXT_quaternion_exponential /// @defgroup ext_quaternion_exponential GLM_EXT_quaternion_exponential
/// @ingroup ext /// @ingroup ext
/// ///

View File

@ -1,14 +1,15 @@
/// @ref ext_quaternion_float /// @ref ext_quaternion_float
/// @file glm/ext/quaternion_float.hpp /// @file glm/ext/quaternion_float.hpp
/// ///
/// @see core (dependence)
///
/// @defgroup ext_quaternion_float GLM_EXT_quaternion_float /// @defgroup ext_quaternion_float GLM_EXT_quaternion_float
/// @ingroup ext /// @ingroup ext
/// ///
/// Defines a templated quaternion type and several quaternion operations.
///
/// Include <glm/ext/quaternion_float.hpp> to use the features of this extension. /// Include <glm/ext/quaternion_float.hpp> to use the features of this extension.
/// ///
/// Defines a templated quaternion type and several quaternion operations. /// @see ext_quaternion_double
/// @see ext_quaternion_float_precision
#pragma once #pragma once
@ -25,8 +26,6 @@ namespace glm
/// @{ /// @{
/// Quaternion of single-precision floating-point numbers. /// Quaternion of single-precision floating-point numbers.
///
/// @see ext_quaternion_float
typedef qua<float, defaultp> quat; typedef qua<float, defaultp> quat;
/// @} /// @}

View File

@ -1,14 +1,12 @@
/// @ref ext_quaternion_float_precision /// @ref ext_quaternion_float_precision
/// @file glm/ext/quaternion_float_precision.hpp /// @file glm/ext/quaternion_float_precision.hpp
/// ///
/// @see core (dependence)
///
/// @defgroup ext_quaternion_float_precision GLM_EXT_quaternion_float_precision /// @defgroup ext_quaternion_float_precision GLM_EXT_quaternion_float_precision
/// @ingroup ext /// @ingroup ext
/// ///
/// Include <glm/ext/quaternion_float_precision.hpp> to use the features of this extension.
///
/// Defines a templated quaternion type and several quaternion operations. /// Defines a templated quaternion type and several quaternion operations.
///
/// Include <glm/ext/quaternion_float_precision.hpp> to use the features of this extension.
#pragma once #pragma once
@ -25,18 +23,12 @@ namespace glm
/// @{ /// @{
/// Quaternion of single-precision floating-point numbers using high precision arithmetic in term of ULPs. /// Quaternion of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
///
/// @see ext_quaternion_float_precision
typedef qua<float, lowp> lowp_quat; typedef qua<float, lowp> lowp_quat;
/// Quaternion of single-precision floating-point numbers using high precision arithmetic in term of ULPs. /// Quaternion of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
///
/// @see ext_quaternion_float_precision
typedef qua<float, mediump> mediump_quat; typedef qua<float, mediump> mediump_quat;
/// Quaternion of single-precision floating-point numbers using high precision arithmetic in term of ULPs. /// Quaternion of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
///
/// @see ext_quaternion_float_precision
typedef qua<float, highp> highp_quat; typedef qua<float, highp> highp_quat;
/// @} /// @}

View File

@ -1,8 +1,6 @@
/// @ref ext_quaternion_geometric /// @ref ext_quaternion_geometric
/// @file glm/ext/quaternion_geometric.hpp /// @file glm/ext/quaternion_geometric.hpp
/// ///
/// @see core (dependence)
///
/// @defgroup ext_quaternion_geometric GLM_EXT_quaternion_geometric /// @defgroup ext_quaternion_geometric GLM_EXT_quaternion_geometric
/// @ingroup ext /// @ingroup ext
/// ///

View File

@ -1,8 +1,6 @@
/// @ref ext_quaternion_transform /// @ref ext_quaternion_transform
/// @file glm/ext/quaternion_transform.hpp /// @file glm/ext/quaternion_transform.hpp
/// ///
/// @see core (dependence)
///
/// @defgroup ext_quaternion_transform GLM_EXT_quaternion_transform /// @defgroup ext_quaternion_transform GLM_EXT_quaternion_transform
/// @ingroup ext /// @ingroup ext
/// ///

View File

@ -1,8 +1,6 @@
/// @ref ext_quaternion_trigonometric /// @ref ext_quaternion_trigonometric
/// @file glm/ext/quaternion_trigonometric.hpp /// @file glm/ext/quaternion_trigonometric.hpp
/// ///
/// @see core (dependence)
///
/// @defgroup ext_quaternion_trigonometric GLM_EXT_quaternion_trigonometric /// @defgroup ext_quaternion_trigonometric GLM_EXT_quaternion_trigonometric
/// @ingroup ext /// @ingroup ext
/// ///

View File

@ -1,14 +1,15 @@
/// @ref ext_scalar_common /// @ref ext_scalar_common
/// @file glm/ext/scalar_common.hpp /// @file glm/ext/scalar_common.hpp
/// ///
/// @see core (dependence)
///
/// @defgroup ext_scalar_common GLM_EXT_scalar_common /// @defgroup ext_scalar_common GLM_EXT_scalar_common
/// @ingroup ext /// @ingroup ext
/// ///
/// Min and max functions for 3 to 4 scalar parameters.
///
/// Include <glm/ext/scalar_common.hpp> to use the features of this extension. /// Include <glm/ext/scalar_common.hpp> to use the features of this extension.
/// ///
/// Min and max functions for 3 to 4 parameters. /// @see core_func_common
/// @see ext_vector_common
#pragma once #pragma once
@ -27,26 +28,24 @@ namespace glm
/// Returns the minimum component-wise values of 3 inputs /// Returns the minimum component-wise values of 3 inputs
/// ///
/// @tparam T A floating-point scalar type. /// @tparam T A floating-point scalar type.
///
/// @see ext_scalar_common
template<typename T> template<typename T>
GLM_FUNC_DECL T min(T a, T b, T c); GLM_FUNC_DECL T min(T a, T b, T c);
/// Returns the minimum component-wise values of 4 inputs /// Returns the minimum component-wise values of 4 inputs
/// @see ext_scalar_common ///
/// @tparam T A floating-point scalar type.
template<typename T> template<typename T>
GLM_FUNC_DECL T min(T a, T b, T c, T d); GLM_FUNC_DECL T min(T a, T b, T c, T d);
/// Returns the maximum component-wise values of 3 inputs /// Returns the maximum component-wise values of 3 inputs
/// ///
/// @tparam T A floating-point scalar type. /// @tparam T A floating-point scalar type.
///
/// @see ext_scalar_common
template<typename T> template<typename T>
GLM_FUNC_DECL T max(T a, T b, T c); GLM_FUNC_DECL T max(T a, T b, T c);
/// Returns the maximum component-wise values of 4 inputs /// Returns the maximum component-wise values of 4 inputs
/// @see ext_scalar_common ///
/// @tparam T A floating-point scalar type.
template<typename T> template<typename T>
GLM_FUNC_DECL T max(T a, T b, T c, T d); GLM_FUNC_DECL T max(T a, T b, T c, T d);
@ -54,7 +53,6 @@ namespace glm
/// ///
/// @tparam T A floating-point scalar type. /// @tparam T A floating-point scalar type.
/// ///
/// @see ext_scalar_common
/// @see <a href="http://en.cppreference.com/w/cpp/numeric/math/fmin">std::fmin documentation</a> /// @see <a href="http://en.cppreference.com/w/cpp/numeric/math/fmin">std::fmin documentation</a>
template<typename T> template<typename T>
GLM_FUNC_DECL T fmin(T a, T b); GLM_FUNC_DECL T fmin(T a, T b);
@ -63,7 +61,6 @@ namespace glm
/// ///
/// @tparam T A floating-point scalar type. /// @tparam T A floating-point scalar type.
/// ///
/// @see ext_scalar_common
/// @see <a href="http://en.cppreference.com/w/cpp/numeric/math/fmin">std::fmin documentation</a> /// @see <a href="http://en.cppreference.com/w/cpp/numeric/math/fmin">std::fmin documentation</a>
template<typename T> template<typename T>
GLM_FUNC_DECL T fmin(T a, T b, T c); GLM_FUNC_DECL T fmin(T a, T b, T c);
@ -72,7 +69,6 @@ namespace glm
/// ///
/// @tparam T A floating-point scalar type. /// @tparam T A floating-point scalar type.
/// ///
/// @see ext_scalar_common
/// @see <a href="http://en.cppreference.com/w/cpp/numeric/math/fmin">std::fmin documentation</a> /// @see <a href="http://en.cppreference.com/w/cpp/numeric/math/fmin">std::fmin documentation</a>
template<typename T> template<typename T>
GLM_FUNC_DECL T fmin(T a, T b, T c, T d); GLM_FUNC_DECL T fmin(T a, T b, T c, T d);
@ -81,7 +77,6 @@ namespace glm
/// ///
/// @tparam T A floating-point scalar type. /// @tparam T A floating-point scalar type.
/// ///
/// @see ext_scalar_common
/// @see <a href="http://en.cppreference.com/w/cpp/numeric/math/fmax">std::fmax documentation</a> /// @see <a href="http://en.cppreference.com/w/cpp/numeric/math/fmax">std::fmax documentation</a>
template<typename T> template<typename T>
GLM_FUNC_DECL T fmax(T a, T b); GLM_FUNC_DECL T fmax(T a, T b);
@ -90,7 +85,6 @@ namespace glm
/// ///
/// @tparam T A floating-point scalar type. /// @tparam T A floating-point scalar type.
/// ///
/// @see ext_scalar_common
/// @see <a href="http://en.cppreference.com/w/cpp/numeric/math/fmax">std::fmax documentation</a> /// @see <a href="http://en.cppreference.com/w/cpp/numeric/math/fmax">std::fmax documentation</a>
template<typename T> template<typename T>
GLM_FUNC_DECL T fmax(T a, T b, T C); GLM_FUNC_DECL T fmax(T a, T b, T C);
@ -99,7 +93,6 @@ namespace glm
/// ///
/// @tparam T A floating-point scalar type. /// @tparam T A floating-point scalar type.
/// ///
/// @see ext_scalar_common
/// @see <a href="http://en.cppreference.com/w/cpp/numeric/math/fmax">std::fmax documentation</a> /// @see <a href="http://en.cppreference.com/w/cpp/numeric/math/fmax">std::fmax documentation</a>
template<typename T> template<typename T>
GLM_FUNC_DECL T fmax(T a, T b, T C, T D); GLM_FUNC_DECL T fmax(T a, T b, T C, T D);

View File

@ -1,14 +1,12 @@
/// @ref ext_scalar_constants /// @ref ext_scalar_constants
/// @file glm/ext/scalar_constants.hpp /// @file glm/ext/scalar_constants.hpp
/// ///
/// @see core (dependence)
///
/// @defgroup ext_scalar_constants GLM_EXT_scalar_constants /// @defgroup ext_scalar_constants GLM_EXT_scalar_constants
/// @ingroup ext /// @ingroup ext
/// ///
/// Include <glm/ext/scalar_constants.hpp> to use the features of this extension.
///
/// Provide a list of constants and precomputed useful values. /// Provide a list of constants and precomputed useful values.
///
/// Include <glm/ext/scalar_constants.hpp> to use the features of this extension.
#pragma once #pragma once
@ -25,12 +23,10 @@ namespace glm
/// @{ /// @{
/// Return the epsilon constant for floating point types. /// Return the epsilon constant for floating point types.
/// @see ext_scalar_constants
template<typename genType> template<typename genType>
GLM_FUNC_DECL GLM_CONSTEXPR genType epsilon(); GLM_FUNC_DECL GLM_CONSTEXPR genType epsilon();
/// Return the pi constant for floating point types. /// Return the pi constant for floating point types.
/// @see ext_scalar_constants
template<typename genType> template<typename genType>
GLM_FUNC_DECL GLM_CONSTEXPR genType pi(); GLM_FUNC_DECL GLM_CONSTEXPR genType pi();

View File

@ -1,14 +1,15 @@
/// @ref ext_scalar_float_sized /// @ref ext_scalar_float_sized
/// @file glm/ext/scalar_float_sized.hpp /// @file glm/ext/scalar_float_sized.hpp
/// ///
/// @see core (dependence)
///
/// @defgroup ext_scalar_float_sized GLM_EXT_scalar_float_sized /// @defgroup ext_scalar_float_sized GLM_EXT_scalar_float_sized
/// @ingroup ext /// @ingroup ext
/// ///
/// Exposes sized float scalar types.
///
/// Include <glm/ext/scalar_float_sized.hpp> to use the features of this extension. /// Include <glm/ext/scalar_float_sized.hpp> to use the features of this extension.
/// ///
/// Exposes float scalar type. /// @see ext_scalar_int_sized
/// @see ext_scalar_uint_sized
#pragma once #pragma once
@ -23,23 +24,16 @@ namespace glm
/// @addtogroup ext_scalar_float_sized /// @addtogroup ext_scalar_float_sized
/// @{ /// @{
/// Low qualifier floating-point numbers. /// Single precision floating-point numbers.
/// There is no guarantee on the actual qualifier.
///
/// @see ext_scalar_float_sized
typedef float float32; typedef float float32;
# ifndef GLM_FORCE_SINGLE_ONLY # ifndef GLM_FORCE_SINGLE_ONLY
/// Low qualifier floating-point numbers. /// Double precision floating-point numbers.
/// There is no guarantee on the actual qualifier.
///
/// @see ext_scalar_float_sized
typedef double float64; typedef double float64;
# endif//GLM_FORCE_SINGLE_ONLY # endif//GLM_FORCE_SINGLE_ONLY
/// @} /// @}
}//namespace glm }//namespace glm

View File

@ -1,14 +1,14 @@
/// @ref ext_scalar_int_sized /// @ref ext_scalar_int_sized
/// @file glm/ext/scalar_int_sized.hpp /// @file glm/ext/scalar_int_sized.hpp
/// ///
/// @see core (dependence)
///
/// @defgroup ext_scalar_int_sized GLM_EXT_scalar_int_sized /// @defgroup ext_scalar_int_sized GLM_EXT_scalar_int_sized
/// @ingroup ext /// @ingroup ext
/// ///
/// Exposes sized signed integer scalar types.
///
/// Include <glm/ext/scalar_int_sized.hpp> to use the features of this extension. /// Include <glm/ext/scalar_int_sized.hpp> to use the features of this extension.
/// ///
/// Exposes signed integer scalar type. /// @see ext_scalar_uint_sized
#pragma once #pragma once
@ -55,19 +55,15 @@ namespace detail
/// @{ /// @{
/// 8 bit signed integer type. /// 8 bit signed integer type.
/// @see ext_scalar_int_sized
typedef detail::int8 int8; typedef detail::int8 int8;
/// 16 bit signed integer type. /// 16 bit signed integer type.
/// @see ext_scalar_int_sized
typedef detail::int16 int16; typedef detail::int16 int16;
/// 32 bit signed integer type. /// 32 bit signed integer type.
/// @see ext_scalar_int_sized
typedef detail::int32 int32; typedef detail::int32 int32;
/// 64 bit signed integer type. /// 64 bit signed integer type.
/// @see ext_scalar_int_sized
typedef detail::int64 int64; typedef detail::int64 int64;
/// @} /// @}

View File

@ -1,8 +1,6 @@
/// @ref ext_scalar_relational /// @ref ext_scalar_relational
/// @file glm/ext/scalar_relational.hpp /// @file glm/ext/scalar_relational.hpp
/// ///
/// @see core (dependence)
///
/// @defgroup ext_scalar_relational GLM_EXT_scalar_relational /// @defgroup ext_scalar_relational GLM_EXT_scalar_relational
/// @ingroup ext /// @ingroup ext
/// ///

View File

@ -1,14 +1,14 @@
/// @ref ext_scalar_uint_sized /// @ref ext_scalar_uint_sized
/// @file glm/ext/scalar_uint_sized.hpp /// @file glm/ext/scalar_uint_sized.hpp
/// ///
/// @see core (dependence)
///
/// @defgroup ext_scalar_uint_sized GLM_EXT_scalar_uint_sized /// @defgroup ext_scalar_uint_sized GLM_EXT_scalar_uint_sized
/// @ingroup ext /// @ingroup ext
/// ///
/// Exposes sized unsigned integer scalar types.
///
/// Include <glm/ext/scalar_uint_sized.hpp> to use the features of this extension. /// Include <glm/ext/scalar_uint_sized.hpp> to use the features of this extension.
/// ///
/// Exposes unsigned integer scalar type. /// @see ext_scalar_int_sized
#pragma once #pragma once
@ -55,19 +55,15 @@ namespace detail
/// @{ /// @{
/// 8 bit unsigned integer type. /// 8 bit unsigned integer type.
/// @see ext_scalar_uint_sized
typedef detail::uint8 uint8; typedef detail::uint8 uint8;
/// 16 bit unsigned integer type. /// 16 bit unsigned integer type.
/// @see ext_scalar_uint_sized
typedef detail::uint16 uint16; typedef detail::uint16 uint16;
/// 32 bit unsigned integer type. /// 32 bit unsigned integer type.
/// @see ext_scalar_uint_sized
typedef detail::uint32 uint32; typedef detail::uint32 uint32;
/// 64 bit unsigned integer type. /// 64 bit unsigned integer type.
/// @see ext_scalar_uint_sized
typedef detail::uint64 uint64; typedef detail::uint64 uint64;
/// @} /// @}

View File

@ -1,14 +1,14 @@
/// @ref ext_vector_bool1 /// @ref ext_vector_bool1
/// @file glm/ext/vector_bool1.hpp /// @file glm/ext/vector_bool1.hpp
/// ///
/// @see core (dependence)
///
/// @defgroup ext_vector_bool1 GLM_EXT_vector_bool1 /// @defgroup ext_vector_bool1 GLM_EXT_vector_bool1
/// @ingroup ext /// @ingroup ext
/// ///
/// Exposes bvec1 vector type.
///
/// Include <glm/ext/vector_bool1.hpp> to use the features of this extension. /// Include <glm/ext/vector_bool1.hpp> to use the features of this extension.
/// ///
/// Exposes bvec1 vector type. /// @see ext_vector_bool1_precision extension.
#pragma once #pragma once
@ -24,8 +24,6 @@ namespace glm
/// @{ /// @{
/// 1 components vector of boolean. /// 1 components vector of boolean.
///
/// @see ext_vector_bool1 extension.
typedef vec<1, bool, defaultp> bvec1; typedef vec<1, bool, defaultp> bvec1;
/// @} /// @}

View File

@ -1,14 +1,12 @@
/// @ref ext_vector_bool1_precision /// @ref ext_vector_bool1_precision
/// @file glm/ext/vector_bool1_precision.hpp /// @file glm/ext/vector_bool1_precision.hpp
/// ///
/// @see core (dependence)
///
/// @defgroup ext_vector_bool1_precision GLM_EXT_vector_bool1_precision /// @defgroup ext_vector_bool1_precision GLM_EXT_vector_bool1_precision
/// @ingroup ext /// @ingroup ext
/// ///
/// Include <glm/ext/vector_bool1_precision.hpp> to use the features of this extension.
///
/// Exposes highp_bvec1, mediump_bvec1 and lowp_bvec1 types. /// Exposes highp_bvec1, mediump_bvec1 and lowp_bvec1 types.
///
/// Include <glm/ext/vector_bool1_precision.hpp> to use the features of this extension.
#pragma once #pragma once
@ -24,18 +22,12 @@ namespace glm
/// @{ /// @{
/// 1 component vector of bool values. /// 1 component vector of bool values.
///
/// @see ext_vector_bool1_precision
typedef vec<1, bool, highp> highp_bvec1; typedef vec<1, bool, highp> highp_bvec1;
/// 1 component vector of bool values. /// 1 component vector of bool values.
///
/// @see ext_vector_bool1_precision
typedef vec<1, bool, mediump> mediump_bvec1; typedef vec<1, bool, mediump> mediump_bvec1;
/// 1 component vector of bool values. /// 1 component vector of bool values.
///
/// @see ext_vector_bool1_precision
typedef vec<1, bool, lowp> lowp_bvec1; typedef vec<1, bool, lowp> lowp_bvec1;
/// @} /// @}

View File

@ -1,14 +1,15 @@
/// @ref ext_vector_common /// @ref ext_vector_common
/// @file glm/ext/vector_common.hpp /// @file glm/ext/vector_common.hpp
/// ///
/// @see core (dependence)
///
/// @defgroup ext_vector_common GLM_EXT_vector_common /// @defgroup ext_vector_common GLM_EXT_vector_common
/// @ingroup ext /// @ingroup ext
/// ///
/// Min and max functions for 3 to 4 parameters.
///
/// Include <glm/ext/vector_common.hpp> to use the features of this extension. /// Include <glm/ext/vector_common.hpp> to use the features of this extension.
/// ///
/// Min and max functions for 3 to 4 parameters. /// @see core_common
/// @see ext_scalar_common
#pragma once #pragma once
@ -30,8 +31,6 @@ namespace glm
/// @tparam L Integer between 1 and 4 included that qualify the dimension of the vector /// @tparam L Integer between 1 and 4 included that qualify the dimension of the vector
/// @tparam T Floating-point or integer scalar types /// @tparam T Floating-point or integer scalar types
/// @tparam Q Value from qualifier enum /// @tparam Q Value from qualifier enum
///
/// @see ext_vector_common
template<length_t L, typename T, qualifier Q> template<length_t L, typename T, qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> min(vec<L, T, Q> const& a, vec<L, T, Q> const& b, vec<L, T, Q> const& c); GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> min(vec<L, T, Q> const& a, vec<L, T, Q> const& b, vec<L, T, Q> const& c);
@ -40,8 +39,6 @@ namespace glm
/// @tparam L Integer between 1 and 4 included that qualify the dimension of the vector /// @tparam L Integer between 1 and 4 included that qualify the dimension of the vector
/// @tparam T Floating-point or integer scalar types /// @tparam T Floating-point or integer scalar types
/// @tparam Q Value from qualifier enum /// @tparam Q Value from qualifier enum
///
/// @see ext_vector_common
template<length_t L, typename T, qualifier Q> template<length_t L, typename T, qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> min(vec<L, T, Q> const& a, vec<L, T, Q> const& b, vec<L, T, Q> const& c, vec<L, T, Q> const& d); GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> min(vec<L, T, Q> const& a, vec<L, T, Q> const& b, vec<L, T, Q> const& c, vec<L, T, Q> const& d);
@ -50,8 +47,6 @@ namespace glm
/// @tparam L Integer between 1 and 4 included that qualify the dimension of the vector /// @tparam L Integer between 1 and 4 included that qualify the dimension of the vector
/// @tparam T Floating-point or integer scalar types /// @tparam T Floating-point or integer scalar types
/// @tparam Q Value from qualifier enum /// @tparam Q Value from qualifier enum
///
/// @see ext_vector_common
template<length_t L, typename T, qualifier Q> template<length_t L, typename T, qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> max(vec<L, T, Q> const& x, vec<L, T, Q> const& y, vec<L, T, Q> const& z); GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> max(vec<L, T, Q> const& x, vec<L, T, Q> const& y, vec<L, T, Q> const& z);
@ -60,8 +55,6 @@ namespace glm
/// @tparam L Integer between 1 and 4 included that qualify the dimension of the vector /// @tparam L Integer between 1 and 4 included that qualify the dimension of the vector
/// @tparam T Floating-point or integer scalar types /// @tparam T Floating-point or integer scalar types
/// @tparam Q Value from qualifier enum /// @tparam Q Value from qualifier enum
///
/// @see ext_vector_common
template<length_t L, typename T, qualifier Q> template<length_t L, typename T, qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> max( vec<L, T, Q> const& x, vec<L, T, Q> const& y, vec<L, T, Q> const& z, vec<L, T, Q> const& w); GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> max( vec<L, T, Q> const& x, vec<L, T, Q> const& y, vec<L, T, Q> const& z, vec<L, T, Q> const& w);
@ -71,7 +64,6 @@ namespace glm
/// @tparam T Floating-point scalar types /// @tparam T Floating-point scalar types
/// @tparam Q Value from qualifier enum /// @tparam Q Value from qualifier enum
/// ///
/// @see ext_vector_common
/// @see <a href="http://en.cppreference.com/w/cpp/numeric/math/fmin">std::fmin documentation</a> /// @see <a href="http://en.cppreference.com/w/cpp/numeric/math/fmin">std::fmin documentation</a>
template<length_t L, typename T, qualifier Q> template<length_t L, typename T, qualifier Q>
GLM_FUNC_DECL vec<L, T, Q> fmin(vec<L, T, Q> const& x, T y); GLM_FUNC_DECL vec<L, T, Q> fmin(vec<L, T, Q> const& x, T y);
@ -82,7 +74,6 @@ namespace glm
/// @tparam T Floating-point scalar types /// @tparam T Floating-point scalar types
/// @tparam Q Value from qualifier enum /// @tparam Q Value from qualifier enum
/// ///
/// @see ext_vector_common
/// @see <a href="http://en.cppreference.com/w/cpp/numeric/math/fmin">std::fmin documentation</a> /// @see <a href="http://en.cppreference.com/w/cpp/numeric/math/fmin">std::fmin documentation</a>
template<length_t L, typename T, qualifier Q> template<length_t L, typename T, qualifier Q>
GLM_FUNC_DECL vec<L, T, Q> fmin(vec<L, T, Q> const& x, vec<L, T, Q> const& y); GLM_FUNC_DECL vec<L, T, Q> fmin(vec<L, T, Q> const& x, vec<L, T, Q> const& y);
@ -93,7 +84,6 @@ namespace glm
/// @tparam T Floating-point scalar types /// @tparam T Floating-point scalar types
/// @tparam Q Value from qualifier enum /// @tparam Q Value from qualifier enum
/// ///
/// @see ext_vector_common
/// @see <a href="http://en.cppreference.com/w/cpp/numeric/math/fmin">std::fmin documentation</a> /// @see <a href="http://en.cppreference.com/w/cpp/numeric/math/fmin">std::fmin documentation</a>
template<length_t L, typename T, qualifier Q> template<length_t L, typename T, qualifier Q>
GLM_FUNC_DECL vec<L, T, Q> fmin(vec<L, T, Q> const& a, vec<L, T, Q> const& b, vec<L, T, Q> const& c); GLM_FUNC_DECL vec<L, T, Q> fmin(vec<L, T, Q> const& a, vec<L, T, Q> const& b, vec<L, T, Q> const& c);
@ -104,7 +94,6 @@ namespace glm
/// @tparam T Floating-point scalar types /// @tparam T Floating-point scalar types
/// @tparam Q Value from qualifier enum /// @tparam Q Value from qualifier enum
/// ///
/// @see ext_vector_common
/// @see <a href="http://en.cppreference.com/w/cpp/numeric/math/fmin">std::fmin documentation</a> /// @see <a href="http://en.cppreference.com/w/cpp/numeric/math/fmin">std::fmin documentation</a>
template<length_t L, typename T, qualifier Q> template<length_t L, typename T, qualifier Q>
GLM_FUNC_DECL vec<L, T, Q> fmin(vec<L, T, Q> const& a, vec<L, T, Q> const& b, vec<L, T, Q> const& c, vec<L, T, Q> const& d); GLM_FUNC_DECL vec<L, T, Q> fmin(vec<L, T, Q> const& a, vec<L, T, Q> const& b, vec<L, T, Q> const& c, vec<L, T, Q> const& d);
@ -115,7 +104,6 @@ namespace glm
/// @tparam T Floating-point scalar types /// @tparam T Floating-point scalar types
/// @tparam Q Value from qualifier enum /// @tparam Q Value from qualifier enum
/// ///
/// @see ext_vector_common
/// @see <a href="http://en.cppreference.com/w/cpp/numeric/math/fmax">std::fmax documentation</a> /// @see <a href="http://en.cppreference.com/w/cpp/numeric/math/fmax">std::fmax documentation</a>
template<length_t L, typename T, qualifier Q> template<length_t L, typename T, qualifier Q>
GLM_FUNC_DECL vec<L, T, Q> fmax(vec<L, T, Q> const& a, T b); GLM_FUNC_DECL vec<L, T, Q> fmax(vec<L, T, Q> const& a, T b);
@ -126,7 +114,6 @@ namespace glm
/// @tparam T Floating-point scalar types /// @tparam T Floating-point scalar types
/// @tparam Q Value from qualifier enum /// @tparam Q Value from qualifier enum
/// ///
/// @see ext_vector_common
/// @see <a href="http://en.cppreference.com/w/cpp/numeric/math/fmax">std::fmax documentation</a> /// @see <a href="http://en.cppreference.com/w/cpp/numeric/math/fmax">std::fmax documentation</a>
template<length_t L, typename T, qualifier Q> template<length_t L, typename T, qualifier Q>
GLM_FUNC_DECL vec<L, T, Q> fmax(vec<L, T, Q> const& a, vec<L, T, Q> const& b); GLM_FUNC_DECL vec<L, T, Q> fmax(vec<L, T, Q> const& a, vec<L, T, Q> const& b);
@ -137,7 +124,6 @@ namespace glm
/// @tparam T Floating-point scalar types /// @tparam T Floating-point scalar types
/// @tparam Q Value from qualifier enum /// @tparam Q Value from qualifier enum
/// ///
/// @see ext_vector_common
/// @see <a href="http://en.cppreference.com/w/cpp/numeric/math/fmax">std::fmax documentation</a> /// @see <a href="http://en.cppreference.com/w/cpp/numeric/math/fmax">std::fmax documentation</a>
template<length_t L, typename T, qualifier Q> template<length_t L, typename T, qualifier Q>
GLM_FUNC_DECL vec<L, T, Q> fmax(vec<L, T, Q> const& a, vec<L, T, Q> const& b, vec<L, T, Q> const& c); GLM_FUNC_DECL vec<L, T, Q> fmax(vec<L, T, Q> const& a, vec<L, T, Q> const& b, vec<L, T, Q> const& c);
@ -148,7 +134,6 @@ namespace glm
/// @tparam T Floating-point scalar types /// @tparam T Floating-point scalar types
/// @tparam Q Value from qualifier enum /// @tparam Q Value from qualifier enum
/// ///
/// @see ext_vector_common
/// @see <a href="http://en.cppreference.com/w/cpp/numeric/math/fmax">std::fmax documentation</a> /// @see <a href="http://en.cppreference.com/w/cpp/numeric/math/fmax">std::fmax documentation</a>
template<length_t L, typename T, qualifier Q> template<length_t L, typename T, qualifier Q>
GLM_FUNC_DECL vec<L, T, Q> fmax(vec<L, T, Q> const& a, vec<L, T, Q> const& b, vec<L, T, Q> const& c, vec<L, T, Q> const& d); GLM_FUNC_DECL vec<L, T, Q> fmax(vec<L, T, Q> const& a, vec<L, T, Q> const& b, vec<L, T, Q> const& c, vec<L, T, Q> const& d);

View File

@ -1,14 +1,15 @@
/// @ref ext_vector_double1 /// @ref ext_vector_double1
/// @file glm/ext/vector_double1.hpp /// @file glm/ext/vector_double1.hpp
/// ///
/// @see core (dependence)
///
/// @defgroup ext_vector_double1 GLM_EXT_vector_double1 /// @defgroup ext_vector_double1 GLM_EXT_vector_double1
/// @ingroup ext /// @ingroup ext
/// ///
/// Expose dvec1 vector type.
///
/// Include <glm/ext/vector_double1.hpp> to use the features of this extension. /// Include <glm/ext/vector_double1.hpp> to use the features of this extension.
/// ///
/// Expose dvec1 vector type. /// @see ext_vector_double1_precision extension.
/// @see ext_vector_float1 extension.
#pragma once #pragma once
@ -24,8 +25,6 @@ namespace glm
/// @{ /// @{
/// 1 components vector of double-precision floating-point numbers. /// 1 components vector of double-precision floating-point numbers.
///
/// @see ext_vector_double1 extension.
typedef vec<1, double, defaultp> dvec1; typedef vec<1, double, defaultp> dvec1;
/// @} /// @}

View File

@ -1,14 +1,14 @@
/// @ref ext_vector_double1_precision /// @ref ext_vector_double1_precision
/// @file glm/ext/vector_double1_precision.hpp /// @file glm/ext/vector_double1_precision.hpp
/// ///
/// @see core (dependence)
///
/// @defgroup ext_vector_double1_precision GLM_EXT_vector_double1_precision /// @defgroup ext_vector_double1_precision GLM_EXT_vector_double1_precision
/// @ingroup ext /// @ingroup ext
/// ///
/// Exposes highp_dvec1, mediump_dvec1 and lowp_dvec1 types.
///
/// Include <glm/ext/vector_double1_precision.hpp> to use the features of this extension. /// Include <glm/ext/vector_double1_precision.hpp> to use the features of this extension.
/// ///
/// Exposes highp_dvec1, mediump_dvec1 and lowp_dvec1 types. /// @see ext_vector_double1
#pragma once #pragma once
@ -24,18 +24,12 @@ namespace glm
/// @{ /// @{
/// 1 component vector of double-precision floating-point numbers using high precision arithmetic in term of ULPs. /// 1 component vector of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
///
/// @see ext_vector_double1_precision
typedef vec<1, double, highp> highp_dvec1; typedef vec<1, double, highp> highp_dvec1;
/// 1 component vector of double-precision floating-point numbers using medium precision arithmetic in term of ULPs. /// 1 component vector of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
///
/// @see ext_vector_double1_precision
typedef vec<1, double, mediump> mediump_dvec1; typedef vec<1, double, mediump> mediump_dvec1;
/// 1 component vector of double-precision floating-point numbers using low precision arithmetic in term of ULPs. /// 1 component vector of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
///
/// @see ext_vector_double1_precision
typedef vec<1, double, lowp> lowp_dvec1; typedef vec<1, double, lowp> lowp_dvec1;
/// @} /// @}

View File

@ -1,14 +1,14 @@
/// @ref ext_vector_float1 /// @ref ext_vector_float1
/// @file glm/ext/vector_float1.hpp /// @file glm/ext/vector_float1.hpp
/// ///
/// @see core (dependence)
///
/// @defgroup ext_vector_float1 GLM_EXT_vector_float1 /// @defgroup ext_vector_float1 GLM_EXT_vector_float1
/// @ingroup ext /// @ingroup ext
/// ///
/// Floating point vector type with one component.
///
/// Include <glm/ext/vector_float1.hpp> to use the features of this extension. /// Include <glm/ext/vector_float1.hpp> to use the features of this extension.
/// ///
/// Exposes vec1 vector type. /// @see ext_vector_float1_precision extension.
#pragma once #pragma once
@ -25,7 +25,8 @@ namespace glm
/// 1 components vector of single-precision floating-point numbers. /// 1 components vector of single-precision floating-point numbers.
/// ///
/// @see ext_vector_float1 extension. /// @see ext_vector_float1_precision extension.
/// @see ext_vector_double1 extension.
typedef vec<1, float, defaultp> vec1; typedef vec<1, float, defaultp> vec1;
/// @} /// @}

View File

@ -1,14 +1,14 @@
/// @ref ext_vector_float1_precision /// @ref ext_vector_float1_precision
/// @file glm/ext/vector_float1_precision.hpp /// @file glm/ext/vector_float1_precision.hpp
/// ///
/// @see core (dependence)
///
/// @defgroup ext_vector_float1_precision GLM_EXT_vector_float1_precision /// @defgroup ext_vector_float1_precision GLM_EXT_vector_float1_precision
/// @ingroup ext /// @ingroup ext
/// ///
/// Include <glm/ext/vector_float1_precision.hpp> to use the features of this extension. /// Include <glm/ext/vector_float1_precision.hpp> to use the features of this extension.
/// ///
/// Exposes highp_vec1, mediump_vec1 and lowp_vec1 types. /// Exposes highp_vec1, mediump_vec1 and lowp_vec1 types.
///
/// @see ext_vector_float1 extension.
#pragma once #pragma once
@ -25,17 +25,17 @@ namespace glm
/// 1 component vector of single-precision floating-point numbers using high precision arithmetic in term of ULPs. /// 1 component vector of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
/// ///
/// @see ext_vector_float1_precision /// @see ext_vector_float1
typedef vec<1, float, highp> highp_vec1; typedef vec<1, float, highp> highp_vec1;
/// 1 component vector of single-precision floating-point numbers using medium precision arithmetic in term of ULPs. /// 1 component vector of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
/// ///
/// @see ext_vector_float1_precision /// @see ext_vector_float1
typedef vec<1, float, mediump> mediump_vec1; typedef vec<1, float, mediump> mediump_vec1;
/// 1 component vector of single-precision floating-point numbers using low precision arithmetic in term of ULPs. /// 1 component vector of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
/// ///
/// @see ext_vector_float1_precision /// @see ext_vector_float1
typedef vec<1, float, lowp> lowp_vec1; typedef vec<1, float, lowp> lowp_vec1;
/// @} /// @}

View File

@ -1,14 +1,15 @@
/// @ref ext_vector_int1 /// @ref ext_vector_int1
/// @file glm/ext/vector_int1.hpp /// @file glm/ext/vector_int1.hpp
/// ///
/// @see core (dependence)
///
/// @defgroup ext_vector_int1 GLM_EXT_vector_int1 /// @defgroup ext_vector_int1 GLM_EXT_vector_int1
/// @ingroup ext /// @ingroup ext
/// ///
/// Exposes ivec1 vector type.
///
/// Include <glm/ext/vector_int1.hpp> to use the features of this extension. /// Include <glm/ext/vector_int1.hpp> to use the features of this extension.
/// ///
/// Exposes ivec1 vector type. /// @see ext_vector_uint1 extension.
/// @see ext_vector_int1_precision extension.
#pragma once #pragma once
@ -24,8 +25,6 @@ namespace glm
/// @{ /// @{
/// 1 component vector of signed integer numbers. /// 1 component vector of signed integer numbers.
///
/// @see ext_vector_int1 extension.
typedef vec<1, int, defaultp> ivec1; typedef vec<1, int, defaultp> ivec1;
/// @} /// @}

View File

@ -1,14 +1,12 @@
/// @ref ext_vector_int1_precision /// @ref ext_vector_int1_precision
/// @file glm/ext/vector_int1_precision.hpp /// @file glm/ext/vector_int1_precision.hpp
/// ///
/// @see core (dependence)
///
/// @defgroup ext_vector_int1_precision GLM_EXT_vector_int1_precision /// @defgroup ext_vector_int1_precision GLM_EXT_vector_int1_precision
/// @ingroup ext /// @ingroup ext
/// ///
/// Include <glm/ext/vector_int1_precision.hpp> to use the features of this extension.
///
/// Add Exposes highp_ivec1, mediump_ivec1 and lowp_ivec1 types. /// Add Exposes highp_ivec1, mediump_ivec1 and lowp_ivec1 types.
///
/// Include <glm/ext/vector_int1_precision.hpp> to use the features of this extension.
#pragma once #pragma once
@ -24,18 +22,12 @@ namespace glm
/// @{ /// @{
/// 1 component vector of signed integer values. /// 1 component vector of signed integer values.
///
/// @see ext_vector_int1_precision
typedef vec<1, int, highp> highp_ivec1; typedef vec<1, int, highp> highp_ivec1;
/// 1 component vector of signed integer values. /// 1 component vector of signed integer values.
///
/// @see ext_vector_int1_precision
typedef vec<1, int, mediump> mediump_ivec1; typedef vec<1, int, mediump> mediump_ivec1;
/// 1 component vector of signed integer values. /// 1 component vector of signed integer values.
///
/// @see ext_vector_int1_precision
typedef vec<1, int, lowp> lowp_ivec1; typedef vec<1, int, lowp> lowp_ivec1;
/// @} /// @}

View File

@ -1,14 +1,15 @@
/// @ref ext_vector_relational /// @ref ext_vector_relational
/// @file glm/ext/vector_relational.hpp /// @file glm/ext/vector_relational.hpp
/// ///
/// @see core (dependence)
///
/// @defgroup ext_vector_relational GLM_EXT_vector_relational /// @defgroup ext_vector_relational GLM_EXT_vector_relational
/// @ingroup ext /// @ingroup ext
/// ///
/// Comparison functions for a user defined epsilon values.
///
/// Include <glm/ext/vector_relational.hpp> to use the features of this extension. /// Include <glm/ext/vector_relational.hpp> to use the features of this extension.
/// ///
/// Comparison functions for a user defined epsilon values. /// @see core_vector_relational
/// @see ext_scalar_relational
#pragma once #pragma once

View File

@ -1,14 +1,15 @@
/// @ref ext_vector_uint1 /// @ref ext_vector_uint1
/// @file glm/ext/vector_uint1.hpp /// @file glm/ext/vector_uint1.hpp
/// ///
/// @see core (dependence)
///
/// @defgroup ext_vector_uint1 GLM_EXT_vector_uint1 /// @defgroup ext_vector_uint1 GLM_EXT_vector_uint1
/// @ingroup ext /// @ingroup ext
/// ///
/// Exposes uvec1 vector type.
///
/// Include <glm/ext/vector_uvec1.hpp> to use the features of this extension. /// Include <glm/ext/vector_uvec1.hpp> to use the features of this extension.
/// ///
/// Exposes uvec1 vector type. /// @see ext_vector_int1 extension.
/// @see ext_vector_uint1_precision extension.
#pragma once #pragma once
@ -24,8 +25,6 @@ namespace glm
/// @{ /// @{
/// 1 component vector of unsigned integer numbers. /// 1 component vector of unsigned integer numbers.
///
/// @see ext_vector_uint1 extension.
typedef vec<1, unsigned int, defaultp> uvec1; typedef vec<1, unsigned int, defaultp> uvec1;
/// @} /// @}

View File

@ -1,8 +1,6 @@
/// @ref ext_vector_uint1_precision /// @ref ext_vector_uint1_precision
/// @file glm/ext/vector_uint1_precision.hpp /// @file glm/ext/vector_uint1_precision.hpp
/// ///
/// @see core (dependence)
///
/// @defgroup ext_vector_uint1_precision GLM_EXT_vector_uint1_precision /// @defgroup ext_vector_uint1_precision GLM_EXT_vector_uint1_precision
/// @ingroup ext /// @ingroup ext
/// ///