mirror of
https://github.com/g-truc/glm.git
synced 2024-11-27 10:44:34 +00:00
Promoted GTX_reciprocal
This commit is contained in:
parent
100b2202dd
commit
080dc2dd82
@ -47,69 +47,81 @@
|
|||||||
|
|
||||||
namespace glm
|
namespace glm
|
||||||
{
|
{
|
||||||
/// @addtogroup gtx_reciprocal
|
/// @addtogroup gtc_reciprocal
|
||||||
/// @{
|
/// @{
|
||||||
|
|
||||||
//! Secant function.
|
/// Secant function.
|
||||||
//! hypotenuse / adjacent or 1 / cos(x)
|
/// hypotenuse / adjacent or 1 / cos(x)
|
||||||
//! From GLM_GTX_reciprocal extension.
|
///
|
||||||
|
/// @see gtc_reciprocal
|
||||||
template <typename genType>
|
template <typename genType>
|
||||||
genType sec(genType const & angle);
|
genType sec(genType const & angle);
|
||||||
|
|
||||||
//! Cosecant function.
|
/// Cosecant function.
|
||||||
//! hypotenuse / opposite or 1 / sin(x)
|
/// hypotenuse / opposite or 1 / sin(x)
|
||||||
//! From GLM_GTX_reciprocal extension.
|
///
|
||||||
|
/// @see gtc_reciprocal
|
||||||
template <typename genType>
|
template <typename genType>
|
||||||
genType csc(genType const & angle);
|
genType csc(genType const & angle);
|
||||||
|
|
||||||
//! Cotangent function.
|
/// Cotangent function.
|
||||||
//! adjacent / opposite or 1 / tan(x)
|
/// adjacent / opposite or 1 / tan(x)
|
||||||
//! From GLM_GTX_reciprocal extension.
|
///
|
||||||
|
/// @see gtc_reciprocal
|
||||||
template <typename genType>
|
template <typename genType>
|
||||||
genType cot(genType const & angle);
|
genType cot(genType const & angle);
|
||||||
|
|
||||||
//! Inverse secant function.
|
/// Inverse secant function.
|
||||||
//! From GLM_GTX_reciprocal extension.
|
///
|
||||||
|
/// @see gtc_reciprocal
|
||||||
template <typename genType>
|
template <typename genType>
|
||||||
genType asec(genType const & x);
|
genType asec(genType const & x);
|
||||||
|
|
||||||
//! Inverse cosecant function.
|
/// Inverse cosecant function.
|
||||||
//! From GLM_GTX_reciprocal extension.
|
///
|
||||||
|
/// @see gtc_reciprocal
|
||||||
template <typename genType>
|
template <typename genType>
|
||||||
genType acsc(genType const & x);
|
genType acsc(genType const & x);
|
||||||
|
|
||||||
//! Inverse cotangent function.
|
/// Inverse cotangent function.
|
||||||
//! From GLM_GTX_reciprocal extension.
|
///
|
||||||
|
/// @see gtc_reciprocal
|
||||||
template <typename genType>
|
template <typename genType>
|
||||||
genType acot(genType const & x);
|
genType acot(genType const & x);
|
||||||
|
|
||||||
//! Secant hyperbolic function.
|
/// Secant hyperbolic function.
|
||||||
//! From GLM_GTX_reciprocal extension.
|
///
|
||||||
|
/// @see gtc_reciprocal
|
||||||
template <typename genType>
|
template <typename genType>
|
||||||
genType sech(genType const & angle);
|
genType sech(genType const & angle);
|
||||||
|
|
||||||
//! Cosecant hyperbolic function.
|
/// Cosecant hyperbolic function.
|
||||||
//! From GLM_GTX_reciprocal extension.
|
///
|
||||||
|
/// @see gtc_reciprocal
|
||||||
template <typename genType>
|
template <typename genType>
|
||||||
genType csch(genType const & angle);
|
genType csch(genType const & angle);
|
||||||
|
|
||||||
//! Cotangent hyperbolic function.
|
/// Cotangent hyperbolic function.
|
||||||
//! From GLM_GTX_reciprocal extension.
|
///
|
||||||
|
/// @see gtc_reciprocal
|
||||||
template <typename genType>
|
template <typename genType>
|
||||||
genType coth(genType const & angle);
|
genType coth(genType const & angle);
|
||||||
|
|
||||||
//! Inverse secant hyperbolic function.
|
/// Inverse secant hyperbolic function.
|
||||||
//! From GLM_GTX_reciprocal extension.
|
///
|
||||||
|
/// @see gtc_reciprocal
|
||||||
template <typename genType>
|
template <typename genType>
|
||||||
genType asech(genType const & x);
|
genType asech(genType const & x);
|
||||||
|
|
||||||
//! Inverse cosecant hyperbolic function.
|
/// Inverse cosecant hyperbolic function.
|
||||||
//! From GLM_GTX_reciprocal extension.
|
///
|
||||||
|
/// @see gtc_reciprocal
|
||||||
template <typename genType>
|
template <typename genType>
|
||||||
genType acsch(genType const & x);
|
genType acsch(genType const & x);
|
||||||
|
|
||||||
//! Inverse cotangent hyperbolic function.
|
/// Inverse cotangent hyperbolic function.
|
||||||
//! From GLM_GTX_reciprocal extension.
|
///
|
||||||
|
/// @see gtc_reciprocal
|
||||||
template <typename genType>
|
template <typename genType>
|
||||||
genType acoth(genType const & x);
|
genType acoth(genType const & x);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user