mirror of
https://github.com/g-truc/glm.git
synced 2024-11-15 14:24:36 +00:00
2975 lines
140 KiB
HTML
2975 lines
140 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||
<head>
|
||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||
<title>Functions</title>
|
||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
|
||
</head>
|
||
<body>
|
||
<!-- Generated by Doxygen 1.7.4 -->
|
||
<div id="top">
|
||
<div id="titlearea">
|
||
<table cellspacing="0" cellpadding="0">
|
||
<tbody>
|
||
<tr style="height: 56px;">
|
||
<td id="projectlogo"><img alt="Logo" src="logo-mini.png"/></td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<div id="navrow1" class="tabs">
|
||
<ul class="tablist">
|
||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||
<li><a href="modules.html"><span>Modules</span></a></li>
|
||
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
||
<li><a href="annotated.html"><span>Classes</span></a></li>
|
||
<li><a href="files.html"><span>Files</span></a></li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
<div class="header">
|
||
<div class="summary">
|
||
<a href="#func-members">Functions</a> </div>
|
||
<div class="headertitle">
|
||
<div class="title">Functions</div> </div>
|
||
<div class="ingroups"><a class="el" href="a00234.html">GLM Core</a></div></div>
|
||
<div class="contents">
|
||
|
||
<p>The functions defined by the specification.
|
||
<a href="#details">More...</a></p>
|
||
<table class="memberdecls">
|
||
<tr><td colspan="2"><h2><a name="func-members"></a>
|
||
Functions</h2></td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genFIType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genFIType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga5206aa60ce61ad1d7d1b53d5028c7a2a">abs</a> (genFIType const &x)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga52a4b4cbe6d47f94d06ee1efd95786e6">acos</a> (genType const &x)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga7c8d8ac539a43da0d41e656a38262ff0">acosh</a> (genType const &x)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<template< typename > class vecType> </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_QUALIFIER bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga07b92e9e7077f06fe26e417f320b0f0c">all</a> (vecType< bool > const &v)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<template< typename > class vecType> </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_QUALIFIER bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#gaa478a7966a4e6550bf0ee58ea8271074">any</a> (vecType< bool > const &v)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga3c625e34fc99b33829c28c6d580df7e2">asin</a> (genType const &x)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga7ba20fc7c7b3eeef601e73b130e63db5">asinh</a> (genType const &x)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga32dbceedb2910e519860a225ae7f7450">atan</a> (genType const &y, genType const &x)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga3abfab80cac8e26d4efda9949586ded6">atan</a> (genType const &y_over_x)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga4d896caf7b1a8e5b5e3b29394e8c0ecd">atanh</a> (genType const &x)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename T , template< typename > class C> </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">C< T >::signed_type </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga29cfb04fafbaa1939955f11fef28ff38">bitCount</a> (C< T > const &Value)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genIUType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genIUType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga3b4804e700ade895189ea8bde142c822">bitfieldExtract</a> (genIUType const &Value, int const &Offset, int const &Bits)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genIUType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genIUType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga90d0bc8e79f637da58b8fad2fc8f3275">bitfieldInsert</a> (genIUType const &Base, genIUType const &Insert, int const &Offset, int const &Bits)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genIUType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genIUType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga68bdb2c3debc414d5567935b4cbca62f">bitfieldReverse</a> (genIUType const &value)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga828376ee58b02d80d91eee97c50323f8">ceil</a> (genType const &x)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga8d9331a9bd3aa06e1d10eb7fa0dbb9e5">clamp</a> (genType const &x, genType const &minVal, genType const &maxVal)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga4fbc8481a95bcc1c0c6931a34449b9a8">cos</a> (genType const &angle)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga2cfdbcd7a269a114cbb4f19dcf1e3f8b">cosh</a> (genType const &angle)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tvec3< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga63272179a066d755953bcfbe38666257">cross</a> (detail::tvec3< T > const &x, detail::tvec3< T > const &y)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga2dc092f93e998e01c1cfdaef817ca926">degrees</a> (genType const &radians)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tmat2x2< T >::value_type </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga0159ae2542b5bba80743694122247c15">determinant</a> (detail::tmat2x2< T > const &m)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tmat3x3< T >::value_type </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#gaadf033715cbf1171a599aa7ac7f633be">determinant</a> (detail::tmat3x3< T > const &m)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tmat4x4< T >::value_type </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga4a33b6d96bedaa0cf250c1ef152a41a3">determinant</a> (detail::tmat4x4< T > const &m)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType::value_type </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#gaa7cb6dbe9b8224c25345f1fd6fc09e77">distance</a> (genType const &p0, genType const &p1)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType::value_type </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga38e1f1538ac0fedc9d6ac14910105421">dot</a> (genType const &x, genType const &y)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename T , template< typename > class vecType> </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_QUALIFIER vecType< T ><br class="typebreak"/>
|
||
::bool_type </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga811015178de53f628610f2036946fbb9">equal</a> (vecType< T > const &x, vecType< T > const &y)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#gac96b81360552e233031fd06390576ebf">exp</a> (genType const &x)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga79adbdfa6f2e6ce59816c9b0bd1aebe3">exp2</a> (genType const &x)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#gad591e8f7b1a5e311d3439dda2bb82aea">faceforward</a> (genType const &N, genType const &I, genType const &Nref)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename T , template< typename > class C> </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">C< T >::signed_type </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga9890456d065156a3c3c9786b14638486">findLSB</a> (C< T > const &Value)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename T , template< typename > class C> </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">C< T >::signed_type </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga0f50b6fe121f170c3725a8abb53ff077">findMSB</a> (C< T > const &Value)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType , typename genIType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genIType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga2508259e7d3093603f4c6d3c132a704c">floatBitsToInt</a> (genType const &value)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType , typename genUType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genUType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga17f59f3a2dd5b93e32ff1057be188681">floatBitsToUint</a> (genType const &value)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga4206a98e812c2bd4801e4d299c83f6c7">floor</a> (genType const &x)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#gad0278428ad872e7be378c3b2ad66b0ba">fma</a> (genType const &a, genType const &b, genType const &c)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga67dda5fd839bc489827be9e225847a45">fract</a> (genType const &x)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType , typename genIType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga51135c18fa3b70b67478e546258caa64">frexp</a> (genType const &x, genIType &exp)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename T , template< typename > class vecType> </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_QUALIFIER vecType< T ><br class="typebreak"/>
|
||
::bool_type </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#gaef35061292f337c0d788f43a3b1a26c0">greaterThan</a> (vecType< T > const &x, vecType< T > const &y)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename T , template< typename > class vecType> </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_QUALIFIER vecType< T ><br class="typebreak"/>
|
||
::bool_type </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga39aa8024d619850c81a685a4905177df">greaterThanEqual</a> (vecType< T > const &x, vecType< T > const &y)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genIType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#gac01a66145ce9472afb6a3bee837c0bd6">imulExtended</a> (genIType const &x, genIType const &y, genIType &msb, genIType &lsb)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType , typename genIType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga3b76eab7091983e936c894b1976e90be">intBitsToFloat</a> (genIType const &value)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tmat3x3< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#gaa1bce3aab32b8949beb8160f72f1b631">inverse</a> (detail::tmat3x3< T > const &m)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tmat4x4< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#gad5b3f7a92c8243ec53aa0704b979856b">inverse</a> (detail::tmat4x4< T > const &m)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tmat2x2< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga21de0684ba52d03625b43eac0c2b866a">inverse</a> (detail::tmat2x2< T > const &m)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#gadce520af7df2c97aea9f689ad620fabe">inversesqrt</a> (genType const &x)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType::bool_type </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga7194c89cf656614f231e11c46d906465">isinf</a> (genType const &x)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType::bool_type </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga873db92807cc955cf98030c94a342d5a">isnan</a> (genType const &x)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType , typename genIType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#gaa99c16ada9e61cca03a8a00938a3c330">ldexp</a> (genType const &x, genIType const &exp)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType::value_type </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga10ee9a1d18c6da61cab61d8637d23847">length</a> (genType const &x)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename T , template< typename > class vecType> </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_QUALIFIER vecType< T ><br class="typebreak"/>
|
||
::bool_type </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga54e5b894f79b9c1b8f6d28fe6f986e80">lessThan</a> (vecType< T > const &x, vecType< T > const &y)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename T , template< typename > class vecType> </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_QUALIFIER vecType< T ><br class="typebreak"/>
|
||
::bool_type </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga190db45f1b40202ee0716751448b119d">lessThanEqual</a> (vecType< T > const &x, vecType< T > const &y)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga50b7859bfe87c2f075fe7a04e4c68cc3">log</a> (genType const &x)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga956c24e59912196d4b3714789e57c077">log2</a> (genType const &x)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename matType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">matType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#gad27896f9d5be202b8d39552eeb352c87">matrixCompMult</a> (matType const &x, matType const &y)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga33a594380eeb7ac803c747298563d084">max</a> (genType const &x, genType const &y)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#gacbc721d96bff24d97ed7989d35f27067">min</a> (genType const &x, genType const &y)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genTypeT , typename genTypeU > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genTypeT </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga11288dc43a2a1833766728a3eb81ac63">mix</a> (genTypeT const &x, genTypeT const &y, genTypeU const &a)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga73fa91f6041b135083b0dea6e88c7aba">mod</a> (genType const &x, genType const &y)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#gacf6e2a9cb28a36f92338e82f3bf5755e">mod</a> (genType const &x, typename genType::value_type const &y)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga3f3cec79cc1542950cd4cddb7ab67584">modf</a> (genType const &x, genType &i)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType::value_type </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga9a5b6e92c055c5d401b2a7c56b4b8da3">noise1</a> (genType const &x)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tvec2< typename <br class="typebreak"/>
|
||
genType::value_type > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#gaad98694033fa19168b99205f5ab33a0e">noise2</a> (genType const &x)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tvec3< typename <br class="typebreak"/>
|
||
genType::value_type > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga8759756672debb0894c0bb18f5add8a6">noise3</a> (genType const &x)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tvec4< typename <br class="typebreak"/>
|
||
genType::value_type > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#gac744c79c4ab6cffafbd197fc5276e62d">noise4</a> (genType const &x)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga07ff16965f11fa17122ac874ed492276">normalize</a> (genType const &x)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<template< typename > class vecType> </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_QUALIFIER vecType< bool > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#gadb3248006580ee79ebb1d358bce25ca0">not_</a> (vecType< bool > const &v)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename T , template< typename > class vecType> </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_QUALIFIER vecType< T ><br class="typebreak"/>
|
||
::bool_type </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga62979ef5be1ad914f866074b900abdcd">notEqual</a> (vecType< T > const &x, vecType< T > const &y)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename vecType , typename matType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">matType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga04b83f76e97124e8e91d923dd7ba326c">outerProduct</a> (vecType const &c, vecType const &r)</td></tr>
|
||
<tr><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="a00238.html#ga816867ca2fdb1bfb5d80d7a4f18a9e97">packDouble2x32</a> (detail::tvec2< detail::uint32 > const &v)</td></tr>
|
||
<tr><td class="memItemLeft" align="right" valign="top">detail::uint32 </td><td class="memItemRight" valign="bottom"><a class="el" href="a00238.html#ga3f82e6b12495d9751eee53facba475da">packSnorm4x8</a> (detail::tvec4< detail::float32 > const &v)</td></tr>
|
||
<tr><td class="memItemLeft" align="right" valign="top">detail::uint32 </td><td class="memItemRight" valign="bottom"><a class="el" href="a00238.html#ga7fc17302ae69881bb792842d472e7a30">packUnorm2x16</a> (detail::tvec2< detail::float32 > const &v)</td></tr>
|
||
<tr><td class="memItemLeft" align="right" valign="top">detail::uint32 </td><td class="memItemRight" valign="bottom"><a class="el" href="a00238.html#gaf440e4e6c6be271327c5e2538e9c8b5f">packUnorm4x8</a> (detail::tvec4< detail::float32 > const &v)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga8eb76dfbf0fed3397c0327915279f06f">pow</a> (genType const &x, genType const &y)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga40251a4a07049e7fdcbf155c3cc6d32a">radians</a> (genType const &degrees)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga2863d2331eb3752a5a17244c604c1d07">reflect</a> (genType const &I, genType const &N)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga895392ad98499a450e2cc8579d76a84d">refract</a> (genType const &I, genType const &N, typename genType::value_type const &eta)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#gaa4cb0836cd9457ac6cedd3366333b16f">round</a> (genType const &x)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga656ce625ba1dc1d137bfc7cc7b2ab50b">roundEven</a> (genType const &x)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genFIType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genFIType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga992a45e46af5dc123e688808d1bae48f">sign</a> (genFIType const &x)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#gad246389321f46f7cb1cc422f9fd64cf4">sin</a> (genType const &angle)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga13a63bc67a160b1614ba3681f57fe480">sinh</a> (genType const &angle)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#gaec459c912160fa6d9c18acd52976bb4d">smoothstep</a> (genType const &edge0, genType const &edge1, genType const &x)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga29d9d4ccbca8f2168ac6534fbb65cbad">sqrt</a> (genType const &x)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#gaf1c0aac0585f62db8db44e407478c434">step</a> (genType const &edge, genType const &x)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga1a556079a4fee8b5e12fcfe7551f6931">tan</a> (genType const &angle)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#gad93de1d635832bf722eb78a088bfbaa6">tanh</a> (genType const &angle)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename matType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">matType::transpose_type </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga8b1a22512f73b0176ad062d3d480e906">transpose</a> (matType const &x)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga2303d814e83b34ee2d5f34fcff7fa275">trunc</a> (genType const &x)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genUType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genUType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga8d63fd56743cc93286f09742baed4002">uaddCarry</a> (genUType const &x, genUType const &y, genUType &carry)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genType , typename genUType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga1a38039b00f182b6b22e909ea5a87bab">uintBitsToFloat</a> (genUType const &value)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genUType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#gad9b60d1c7e161b78682b7f8b071e213e">umulExtended</a> (genUType const &x, genUType const &y, genUType &msb, genUType &lsb)</td></tr>
|
||
<tr><td class="memItemLeft" align="right" valign="top">detail::tvec2< detail::uint32 > </td><td class="memItemRight" valign="bottom"><a class="el" href="a00238.html#ga4e80ba8eaef0b878ecb43053a4df9ff7">unpackDouble2x32</a> (double const &v)</td></tr>
|
||
<tr><td class="memItemLeft" align="right" valign="top">detail::tvec4< detail::float32 > </td><td class="memItemRight" valign="bottom"><a class="el" href="a00238.html#ga03dafa00be8359e3a028aed81ae6007e">unpackSnorm4x8</a> (detail::uint32 const &p)</td></tr>
|
||
<tr><td class="memItemLeft" align="right" valign="top">detail::tvec2< detail::float32 > </td><td class="memItemRight" valign="bottom"><a class="el" href="a00238.html#gab3745178db4024212c4d7cb3df9a6f39">unpackUnorm2x16</a> (detail::uint32 const &p)</td></tr>
|
||
<tr><td class="memItemLeft" align="right" valign="top">detail::tvec4< detail::float32 > </td><td class="memItemRight" valign="bottom"><a class="el" href="a00238.html#ga11630d2b293d96452c412639ec3c942e">unpackUnorm4x8</a> (detail::uint32 const &p)</td></tr>
|
||
<tr><td class="memTemplParams" colspan="2">template<typename genUType > </td></tr>
|
||
<tr><td class="memTemplItemLeft" align="right" valign="top">genUType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00238.html#ga5ea2ea51e7cf73056069ce7583d61560">usubBorrow</a> (genUType const &x, genUType const &y, genUType &borrow)</td></tr>
|
||
</table>
|
||
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
|
||
<p>The functions defined by the specification. </p>
|
||
<p>< Define all geometric functions from Section 8.4 of GLSL 1.30.8 specification. Included in glm namespace.</p>
|
||
<p>< Define common functions from Section 8.3 of GLSL 1.30.8 specification. Included in glm namespace. </p>
|
||
<hr/><h2>Function Documentation</h2>
|
||
<a class="anchor" id="ga5206aa60ce61ad1d7d1b53d5028c7a2a"></a><!-- doxytag: member="glm::core::function::common::abs" ref="ga5206aa60ce61ad1d7d1b53d5028c7a2a" args="(genFIType const &x)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genFIType glm::core::function::common::abs </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genFIType const & </td>
|
||
<td class="paramname"><em>x</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns x if x >= 0; otherwise, it returns -x. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/abs.xml">GLSL abs man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.3 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga52a4b4cbe6d47f94d06ee1efd95786e6"></a><!-- doxytag: member="glm::core::function::trigonometric::acos" ref="ga52a4b4cbe6d47f94d06ee1efd95786e6" args="(genType const &x)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType glm::core::function::trigonometric::acos </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>x</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Arc cosine. </p>
|
||
<p>Returns an angle whose sine is x. The range of values returned by this function is [0, PI]. Results are undefined if |x| > 1. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/acos.xml">GLSL acos man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.1 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga7c8d8ac539a43da0d41e656a38262ff0"></a><!-- doxytag: member="glm::core::function::trigonometric::acosh" ref="ga7c8d8ac539a43da0d41e656a38262ff0" args="(genType const &x)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType glm::core::function::trigonometric::acosh </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>x</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Arc hyperbolic cosine; returns the non-negative inverse of cosh. </p>
|
||
<p>Results are undefined if x < 1. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/acosh.xml">GLSL acosh man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.1 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga07b92e9e7077f06fe26e417f320b0f0c"></a><!-- doxytag: member="glm::core::function::vector_relational::all" ref="ga07b92e9e7077f06fe26e417f320b0f0c" args="(vecType< bool > const &v)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">GLM_FUNC_QUALIFIER bool glm::core::function::vector_relational::all </td>
|
||
<td>(</td>
|
||
<td class="paramtype">vecType< bool > const & </td>
|
||
<td class="paramname"><em>v</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns true if all components of x are true. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/all.xml">GLSL all man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.6 </li>
|
||
</ul>
|
||
|
||
<p>Definition at line <a class="el" href="a00051_source.html#l00176">176</a> of file <a class="el" href="a00051_source.html">func_vector_relational.hpp</a>.</p>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="gaa478a7966a4e6550bf0ee58ea8271074"></a><!-- doxytag: member="glm::core::function::vector_relational::any" ref="gaa478a7966a4e6550bf0ee58ea8271074" args="(vecType< bool > const &v)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">GLM_FUNC_QUALIFIER bool glm::core::function::vector_relational::any </td>
|
||
<td>(</td>
|
||
<td class="paramtype">vecType< bool > const & </td>
|
||
<td class="paramname"><em>v</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns true if any component of x is true. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/any.xml">GLSL any man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.6 </li>
|
||
</ul>
|
||
|
||
<p>Definition at line <a class="el" href="a00051_source.html#l00160">160</a> of file <a class="el" href="a00051_source.html">func_vector_relational.hpp</a>.</p>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga3c625e34fc99b33829c28c6d580df7e2"></a><!-- doxytag: member="glm::core::function::trigonometric::asin" ref="ga3c625e34fc99b33829c28c6d580df7e2" args="(genType const &x)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType glm::core::function::trigonometric::asin </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>x</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Arc sine. </p>
|
||
<p>Returns an angle whose sine is x. The range of values returned by this function is [-PI/2, PI/2]. Results are undefined if |x| > 1. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/asin.xml">GLSL asin man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.1 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga7ba20fc7c7b3eeef601e73b130e63db5"></a><!-- doxytag: member="glm::core::function::trigonometric::asinh" ref="ga7ba20fc7c7b3eeef601e73b130e63db5" args="(genType const &x)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType glm::core::function::trigonometric::asinh </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>x</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Arc hyperbolic sine; returns the inverse of sinh. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/asinh.xml">GLSL asinh man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.1 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga32dbceedb2910e519860a225ae7f7450"></a><!-- doxytag: member="glm::core::function::trigonometric::atan" ref="ga32dbceedb2910e519860a225ae7f7450" args="(genType const &y, genType const &x)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType glm::core::function::trigonometric::atan </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>y</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>x</em> </td>
|
||
</tr>
|
||
<tr>
|
||
<td></td>
|
||
<td>)</td>
|
||
<td></td><td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Arc tangent. </p>
|
||
<p>Returns an angle whose tangent is y/x. The signs of x and y are used to determine what quadrant the angle is in. The range of values returned by this function is [-PI, PI]. Results are undefined if x and y are both 0. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/atan.xml">GLSL atan man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.1 </li>
|
||
</ul>
|
||
|
||
<p>Referenced by <a class="el" href="a00032_source.html#l00051">glm::gtx::compatibility::atan2()</a>.</p>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga3abfab80cac8e26d4efda9949586ded6"></a><!-- doxytag: member="glm::core::function::trigonometric::atan" ref="ga3abfab80cac8e26d4efda9949586ded6" args="(genType const &y_over_x)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType glm::core::function::trigonometric::atan </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>y_over_x</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Arc tangent. </p>
|
||
<p>Returns an angle whose tangent is y_over_x. The range of values returned by this function is [-PI/2, PI/2]. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/atan.xml">GLSL atan man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.1 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga4d896caf7b1a8e5b5e3b29394e8c0ecd"></a><!-- doxytag: member="glm::core::function::trigonometric::atanh" ref="ga4d896caf7b1a8e5b5e3b29394e8c0ecd" args="(genType const &x)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType glm::core::function::trigonometric::atanh </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>x</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Arc hyperbolic tangent; returns the inverse of tanh. </p>
|
||
<p>Results are undefined if abs(x) >= 1. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/atanh.xml">GLSL atanh man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.1 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga29cfb04fafbaa1939955f11fef28ff38"></a><!-- doxytag: member="glm::core::function::integer::bitCount" ref="ga29cfb04fafbaa1939955f11fef28ff38" args="(C< T > const &Value)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">C<T>::signed_type glm::core::function::integer::bitCount </td>
|
||
<td>(</td>
|
||
<td class="paramtype">C< T > const & </td>
|
||
<td class="paramname"><em>Value</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns the number of bits set to 1 in the binary representation of value. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/bitCount.xml">GLSL bitCount man page</a> </li>
|
||
<li>GLSL 4.00.08 specification, section 8.8 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga3b4804e700ade895189ea8bde142c822"></a><!-- doxytag: member="glm::core::function::integer::bitfieldExtract" ref="ga3b4804e700ade895189ea8bde142c822" args="(genIUType const &Value, int const &Offset, int const &Bits)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genIUType glm::core::function::integer::bitfieldExtract </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genIUType const & </td>
|
||
<td class="paramname"><em>Value</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">int const & </td>
|
||
<td class="paramname"><em>Offset</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">int const & </td>
|
||
<td class="paramname"><em>Bits</em> </td>
|
||
</tr>
|
||
<tr>
|
||
<td></td>
|
||
<td>)</td>
|
||
<td></td><td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Extracts bits [offset, offset + bits - 1] from value, returning them in the least significant bits of the result. </p>
|
||
<p>For unsigned data types, the most significant bits of the result will be set to zero. For signed data types, the most significant bits will be set to the value of bit offset + base <20> 1.</p>
|
||
<p>If bits is zero, the result will be zero. The result will be undefined if offset or bits is negative, or if the sum of offset and bits is greater than the number of bits used to store the operand. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/bitfieldExtract.xml">GLSL bitfieldExtract man page</a> </li>
|
||
<li>GLSL 4.00.08 specification, section 8.8 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga90d0bc8e79f637da58b8fad2fc8f3275"></a><!-- doxytag: member="glm::core::function::integer::bitfieldInsert" ref="ga90d0bc8e79f637da58b8fad2fc8f3275" args="(genIUType const &Base, genIUType const &Insert, int const &Offset, int const &Bits)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genIUType glm::core::function::integer::bitfieldInsert </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genIUType const & </td>
|
||
<td class="paramname"><em>Base</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">genIUType const & </td>
|
||
<td class="paramname"><em>Insert</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">int const & </td>
|
||
<td class="paramname"><em>Offset</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">int const & </td>
|
||
<td class="paramname"><em>Bits</em> </td>
|
||
</tr>
|
||
<tr>
|
||
<td></td>
|
||
<td>)</td>
|
||
<td></td><td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns the insertion the bits least-significant bits of insert into base. </p>
|
||
<p>The result will have bits [offset, offset + bits - 1] taken from bits [0, bits <20> 1] of insert, and all other bits taken directly from the corresponding bits of base. If bits is zero, the result will simply be base. The result will be undefined if offset or bits is negative, or if the sum of offset and bits is greater than the number of bits used to store the operand. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/bitfieldInsert.xml">GLSL bitfieldInsert man page</a> </li>
|
||
<li>GLSL 4.00.08 specification, section 8.8 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga68bdb2c3debc414d5567935b4cbca62f"></a><!-- doxytag: member="glm::core::function::integer::bitfieldReverse" ref="ga68bdb2c3debc414d5567935b4cbca62f" args="(genIUType const &value)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genIUType glm::core::function::integer::bitfieldReverse </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genIUType const & </td>
|
||
<td class="paramname"><em>value</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns the reversal of the bits of value. </p>
|
||
<p>The bit numbered n of the result will be taken from bit (bits - 1) - n of value, where bits is the total number of bits used to represent value. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/bitfieldReverse.xml">GLSL bitfieldReverse man page</a> </li>
|
||
<li>GLSL 4.00.08 specification, section 8.8 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga828376ee58b02d80d91eee97c50323f8"></a><!-- doxytag: member="glm::core::function::common::ceil" ref="ga828376ee58b02d80d91eee97c50323f8" args="(genType const &x)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType glm::core::function::common::ceil </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>x</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns a value equal to the nearest integer that is greater than or equal to x. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/ceil.xml">GLSL ceil man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.3 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga8d9331a9bd3aa06e1d10eb7fa0dbb9e5"></a><!-- doxytag: member="glm::core::function::common::clamp" ref="ga8d9331a9bd3aa06e1d10eb7fa0dbb9e5" args="(genType const &x, genType const &minVal, genType const &maxVal)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType glm::core::function::common::clamp </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>x</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>minVal</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>maxVal</em> </td>
|
||
</tr>
|
||
<tr>
|
||
<td></td>
|
||
<td>)</td>
|
||
<td></td><td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns min(max(x, minVal), maxVal) for each component in x. </p>
|
||
<p>using the floating-point values minVal and maxVal. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/clamp.xml">GLSL clamp man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.3 </li>
|
||
</ul>
|
||
|
||
<p>Referenced by <a class="el" href="a00032_source.html#l00046">glm::gtx::compatibility::saturate()</a>.</p>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga4fbc8481a95bcc1c0c6931a34449b9a8"></a><!-- doxytag: member="glm::core::function::trigonometric::cos" ref="ga4fbc8481a95bcc1c0c6931a34449b9a8" args="(genType const &angle)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType glm::core::function::trigonometric::cos </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>angle</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>The standard trigonometric cosine function. </p>
|
||
<p>The values returned by this function will range from [-1, 1]. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/cos.xml">GLSL cos man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.1 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga2cfdbcd7a269a114cbb4f19dcf1e3f8b"></a><!-- doxytag: member="glm::core::function::trigonometric::cosh" ref="ga2cfdbcd7a269a114cbb4f19dcf1e3f8b" args="(genType const &angle)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType glm::core::function::trigonometric::cosh </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>angle</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns the hyperbolic cosine function, (exp(x) + exp(-x)) / 2. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/cosh.xml">GLSL cosh man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.1 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga63272179a066d755953bcfbe38666257"></a><!-- doxytag: member="glm::core::function::geometric::cross" ref="ga63272179a066d755953bcfbe38666257" args="(detail::tvec3< T > const &x, detail::tvec3< T > const &y)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">detail::tvec3<T> glm::core::function::geometric::cross </td>
|
||
<td>(</td>
|
||
<td class="paramtype">detail::tvec3< T > const & </td>
|
||
<td class="paramname"><em>x</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">detail::tvec3< T > const & </td>
|
||
<td class="paramname"><em>y</em> </td>
|
||
</tr>
|
||
<tr>
|
||
<td></td>
|
||
<td>)</td>
|
||
<td></td><td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns the cross product of x and y. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/cross.xml">GLSL cross man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.4 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga2dc092f93e998e01c1cfdaef817ca926"></a><!-- doxytag: member="glm::core::function::trigonometric::degrees" ref="ga2dc092f93e998e01c1cfdaef817ca926" args="(genType const &radians)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType glm::core::function::trigonometric::degrees </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>radians</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Converts radians to degrees and returns the result. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/degrees.xml">GLSL degrees man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.1 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga0159ae2542b5bba80743694122247c15"></a><!-- doxytag: member="glm::core::function::matrix::determinant" ref="ga0159ae2542b5bba80743694122247c15" args="(detail::tmat2x2< T > const &m)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">detail::tmat2x2<T>::value_type glm::core::function::matrix::determinant </td>
|
||
<td>(</td>
|
||
<td class="paramtype">detail::tmat2x2< T > const & </td>
|
||
<td class="paramname"><em>m</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Return the determinant of a mat2 matrix. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/determinant.xml">GLSL determinant man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.5 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="gaadf033715cbf1171a599aa7ac7f633be"></a><!-- doxytag: member="glm::core::function::matrix::determinant" ref="gaadf033715cbf1171a599aa7ac7f633be" args="(detail::tmat3x3< T > const &m)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">detail::tmat3x3<T>::value_type glm::core::function::matrix::determinant </td>
|
||
<td>(</td>
|
||
<td class="paramtype">detail::tmat3x3< T > const & </td>
|
||
<td class="paramname"><em>m</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Return the determinant of a mat3 matrix. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/determinant.xml">GLSL determinant man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.5 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga4a33b6d96bedaa0cf250c1ef152a41a3"></a><!-- doxytag: member="glm::core::function::matrix::determinant" ref="ga4a33b6d96bedaa0cf250c1ef152a41a3" args="(detail::tmat4x4< T > const &m)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">detail::tmat4x4<T>::value_type glm::core::function::matrix::determinant </td>
|
||
<td>(</td>
|
||
<td class="paramtype">detail::tmat4x4< T > const & </td>
|
||
<td class="paramname"><em>m</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Return the determinant of a mat4 matrix. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/determinant.xml">GLSL determinant man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.5 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="gaa7cb6dbe9b8224c25345f1fd6fc09e77"></a><!-- doxytag: member="glm::core::function::geometric::distance" ref="gaa7cb6dbe9b8224c25345f1fd6fc09e77" args="(genType const &p0, genType const &p1)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType::value_type glm::core::function::geometric::distance </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>p0</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>p1</em> </td>
|
||
</tr>
|
||
<tr>
|
||
<td></td>
|
||
<td>)</td>
|
||
<td></td><td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns the distance betwwen p0 and p1, i.e., length(p0 - p1). </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/distance.xml">GLSL distance man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.4 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga38e1f1538ac0fedc9d6ac14910105421"></a><!-- doxytag: member="glm::core::function::geometric::dot" ref="ga38e1f1538ac0fedc9d6ac14910105421" args="(genType const &x, genType const &y)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType::value_type glm::core::function::geometric::dot </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>x</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>y</em> </td>
|
||
</tr>
|
||
<tr>
|
||
<td></td>
|
||
<td>)</td>
|
||
<td></td><td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns the dot product of x and y, i.e., result = x * y. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/dot.xml">GLSL dot man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.4 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga811015178de53f628610f2036946fbb9"></a><!-- doxytag: member="glm::core::function::vector_relational::equal" ref="ga811015178de53f628610f2036946fbb9" args="(vecType< T > const &x, vecType< T > const &y)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">GLM_FUNC_QUALIFIER vecType<T>::bool_type glm::core::function::vector_relational::equal </td>
|
||
<td>(</td>
|
||
<td class="paramtype">vecType< T > const & </td>
|
||
<td class="paramname"><em>x</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">vecType< T > const & </td>
|
||
<td class="paramname"><em>y</em> </td>
|
||
</tr>
|
||
<tr>
|
||
<td></td>
|
||
<td>)</td>
|
||
<td></td><td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns the component-wise comparison of result x == y. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/equal.xml">GLSL equal man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.6 </li>
|
||
</ul>
|
||
|
||
<p>Definition at line <a class="el" href="a00051_source.html#l00121">121</a> of file <a class="el" href="a00051_source.html">func_vector_relational.hpp</a>.</p>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="gac96b81360552e233031fd06390576ebf"></a><!-- doxytag: member="glm::core::function::exponential::exp" ref="gac96b81360552e233031fd06390576ebf" args="(genType const &x)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType glm::core::function::exponential::exp </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>x</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns the natural exponentiation of x, i.e., e^x. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/exp.xml">GLSL exp man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.2 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga79adbdfa6f2e6ce59816c9b0bd1aebe3"></a><!-- doxytag: member="glm::core::function::exponential::exp2" ref="ga79adbdfa6f2e6ce59816c9b0bd1aebe3" args="(genType const &x)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType glm::core::function::exponential::exp2 </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>x</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns 2 raised to the x power. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/exp2.xml">GLSL exp2 man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.2 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="gad591e8f7b1a5e311d3439dda2bb82aea"></a><!-- doxytag: member="glm::core::function::geometric::faceforward" ref="gad591e8f7b1a5e311d3439dda2bb82aea" args="(genType const &N, genType const &I, genType const &Nref)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType glm::core::function::geometric::faceforward </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>N</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>I</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>Nref</em> </td>
|
||
</tr>
|
||
<tr>
|
||
<td></td>
|
||
<td>)</td>
|
||
<td></td><td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>If dot(Nref, I) < 0.0, return N, otherwise, return -N. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/faceforward.xml">GLSL faceforward man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.4 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga9890456d065156a3c3c9786b14638486"></a><!-- doxytag: member="glm::core::function::integer::findLSB" ref="ga9890456d065156a3c3c9786b14638486" args="(C< T > const &Value)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">C<T>::signed_type glm::core::function::integer::findLSB </td>
|
||
<td>(</td>
|
||
<td class="paramtype">C< T > const & </td>
|
||
<td class="paramname"><em>Value</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns the bit number of the least significant bit set to 1 in the binary representation of value. </p>
|
||
<p>If value is zero, -1 will be returned. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/findLSB.xml">GLSL findLSB man page</a> </li>
|
||
<li>GLSL 4.00.08 specification, section 8.8 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga0f50b6fe121f170c3725a8abb53ff077"></a><!-- doxytag: member="glm::core::function::integer::findMSB" ref="ga0f50b6fe121f170c3725a8abb53ff077" args="(C< T > const &Value)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">C<T>::signed_type glm::core::function::integer::findMSB </td>
|
||
<td>(</td>
|
||
<td class="paramtype">C< T > const & </td>
|
||
<td class="paramname"><em>Value</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns the bit number of the most significant bit in the binary representation of value. </p>
|
||
<p>For positive integers, the result will be the bit number of the most significant bit set to 1. For negative integers, the result will be the bit number of the most significant bit set to 0. For a value of zero or negative one, -1 will be returned. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/findMSB.xml">GLSL findMSB man page</a> </li>
|
||
<li>GLSL 4.00.08 specification, section 8.8 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga2508259e7d3093603f4c6d3c132a704c"></a><!-- doxytag: member="glm::core::function::common::floatBitsToInt" ref="ga2508259e7d3093603f4c6d3c132a704c" args="(genType const &value)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genIType glm::core::function::common::floatBitsToInt </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>value</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns a signed integer value representing the encoding of a floating-point value. </p>
|
||
<p>The floatingpoint value's bit-level representation is preserved. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/floatBitsToInt.xml">GLSL floatBitsToInt man page</a> </li>
|
||
<li>GLSL 4.00.08 specification, section 8.3 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga17f59f3a2dd5b93e32ff1057be188681"></a><!-- doxytag: member="glm::core::function::common::floatBitsToUint" ref="ga17f59f3a2dd5b93e32ff1057be188681" args="(genType const &value)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genUType glm::core::function::common::floatBitsToUint </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>value</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns a unsigned integer value representing the encoding of a floating-point value. </p>
|
||
<p>The floatingpoint value's bit-level representation is preserved. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/floatBitsToUint.xml">GLSL floatBitsToUint man page</a> </li>
|
||
<li>GLSL 4.00.08 specification, section 8.3 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga4206a98e812c2bd4801e4d299c83f6c7"></a><!-- doxytag: member="glm::core::function::common::floor" ref="ga4206a98e812c2bd4801e4d299c83f6c7" args="(genType const &x)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType glm::core::function::common::floor </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>x</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns a value equal to the nearest integer that is less then or equal to x. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/floor.xml">GLSL floor man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.3 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="gad0278428ad872e7be378c3b2ad66b0ba"></a><!-- doxytag: member="glm::core::function::common::fma" ref="gad0278428ad872e7be378c3b2ad66b0ba" args="(genType const &a, genType const &b, genType const &c)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType glm::core::function::common::fma </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>a</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>b</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>c</em> </td>
|
||
</tr>
|
||
<tr>
|
||
<td></td>
|
||
<td>)</td>
|
||
<td></td><td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Computes and returns a * b + c. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/fma.xml">GLSL fma man page</a> </li>
|
||
<li>GLSL 4.00.08 specification, section 8.3 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga67dda5fd839bc489827be9e225847a45"></a><!-- doxytag: member="glm::core::function::common::fract" ref="ga67dda5fd839bc489827be9e225847a45" args="(genType const &x)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType glm::core::function::common::fract </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>x</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Return x - floor(x). </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/fract.xml">GLSL fract man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.3 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga51135c18fa3b70b67478e546258caa64"></a><!-- doxytag: member="glm::core::function::common::frexp" ref="ga51135c18fa3b70b67478e546258caa64" args="(genType const &x, genIType &exp)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType glm::core::function::common::frexp </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>x</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">genIType & </td>
|
||
<td class="paramname"><em>exp</em> </td>
|
||
</tr>
|
||
<tr>
|
||
<td></td>
|
||
<td>)</td>
|
||
<td></td><td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Splits x into a floating-point significand in the range [0.5, 1.0) and an integral exponent of two, such that: x = significand * exp(2, exponent) </p>
|
||
<p>The significand is returned by the function and the exponent is returned in the parameter exp. For a floating-point value of zero, the significant and exponent are both zero. For a floating-point value that is an infinity or is not a number, the results are undefined.</p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/frexp.xml">GLSL frexp man page</a> </li>
|
||
<li>GLSL 4.00.08 specification, section 8.3 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="gaef35061292f337c0d788f43a3b1a26c0"></a><!-- doxytag: member="glm::core::function::vector_relational::greaterThan" ref="gaef35061292f337c0d788f43a3b1a26c0" args="(vecType< T > const &x, vecType< T > const &y)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">GLM_FUNC_QUALIFIER vecType<T>::bool_type glm::core::function::vector_relational::greaterThan </td>
|
||
<td>(</td>
|
||
<td class="paramtype">vecType< T > const & </td>
|
||
<td class="paramname"><em>x</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">vecType< T > const & </td>
|
||
<td class="paramname"><em>y</em> </td>
|
||
</tr>
|
||
<tr>
|
||
<td></td>
|
||
<td>)</td>
|
||
<td></td><td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns the component-wise comparison of result x > y. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/greaterThan.xml">GLSL greaterThan man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.6 </li>
|
||
</ul>
|
||
|
||
<p>Definition at line <a class="el" href="a00051_source.html#l00077">77</a> of file <a class="el" href="a00051_source.html">func_vector_relational.hpp</a>.</p>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga39aa8024d619850c81a685a4905177df"></a><!-- doxytag: member="glm::core::function::vector_relational::greaterThanEqual" ref="ga39aa8024d619850c81a685a4905177df" args="(vecType< T > const &x, vecType< T > const &y)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">GLM_FUNC_QUALIFIER vecType<T>::bool_type glm::core::function::vector_relational::greaterThanEqual </td>
|
||
<td>(</td>
|
||
<td class="paramtype">vecType< T > const & </td>
|
||
<td class="paramname"><em>x</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">vecType< T > const & </td>
|
||
<td class="paramname"><em>y</em> </td>
|
||
</tr>
|
||
<tr>
|
||
<td></td>
|
||
<td>)</td>
|
||
<td></td><td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns the component-wise comparison of result x >= y. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/greaterThanEqual.xml">GLSL greaterThanEqual man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.6 </li>
|
||
</ul>
|
||
|
||
<p>Definition at line <a class="el" href="a00051_source.html#l00099">99</a> of file <a class="el" href="a00051_source.html">func_vector_relational.hpp</a>.</p>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="gac01a66145ce9472afb6a3bee837c0bd6"></a><!-- doxytag: member="glm::core::function::integer::imulExtended" ref="gac01a66145ce9472afb6a3bee837c0bd6" args="(genIType const &x, genIType const &y, genIType &msb, genIType &lsb)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">void glm::core::function::integer::imulExtended </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genIType const & </td>
|
||
<td class="paramname"><em>x</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">genIType const & </td>
|
||
<td class="paramname"><em>y</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">genIType & </td>
|
||
<td class="paramname"><em>msb</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">genIType & </td>
|
||
<td class="paramname"><em>lsb</em> </td>
|
||
</tr>
|
||
<tr>
|
||
<td></td>
|
||
<td>)</td>
|
||
<td></td><td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Multiplies 32-bit integers x and y, producing a 64-bit result. </p>
|
||
<p>The 32 least-significant bits are returned in lsb. The 32 most-significant bits are returned in msb. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/imulExtended.xml">GLSL imulExtended man page</a> </li>
|
||
<li>GLSL 4.00.08 specification, section 8.8 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga3b76eab7091983e936c894b1976e90be"></a><!-- doxytag: member="glm::core::function::common::intBitsToFloat" ref="ga3b76eab7091983e936c894b1976e90be" args="(genIType const &value)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType glm::core::function::common::intBitsToFloat </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genIType const & </td>
|
||
<td class="paramname"><em>value</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns a floating-point value corresponding to a signed integer encoding of a floating-point value. </p>
|
||
<p>If an inf or NaN is passed in, it will not signal, and the resulting floating point value is unspecified. Otherwise, the bit-level representation is preserved. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/intBitsToFloat.xml">GLSL intBitsToFloat man page</a> </li>
|
||
<li>GLSL 4.00.08 specification, section 8.3 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="gaa1bce3aab32b8949beb8160f72f1b631"></a><!-- doxytag: member="glm::core::function::matrix::inverse" ref="gaa1bce3aab32b8949beb8160f72f1b631" args="(detail::tmat3x3< T > const &m)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">detail::tmat3x3<T> glm::core::function::matrix::inverse </td>
|
||
<td>(</td>
|
||
<td class="paramtype">detail::tmat3x3< T > const & </td>
|
||
<td class="paramname"><em>m</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Return the inverse of a mat3 matrix. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/inverse.xml">GLSL inverse man page</a> </li>
|
||
<li>GLSL 1.40.07 specification, section 8.5 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="gad5b3f7a92c8243ec53aa0704b979856b"></a><!-- doxytag: member="glm::core::function::matrix::inverse" ref="gad5b3f7a92c8243ec53aa0704b979856b" args="(detail::tmat4x4< T > const &m)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">detail::tmat4x4<T> glm::core::function::matrix::inverse </td>
|
||
<td>(</td>
|
||
<td class="paramtype">detail::tmat4x4< T > const & </td>
|
||
<td class="paramname"><em>m</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Return the inverse of a mat4 matrix. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/inverse.xml">GLSL inverse man page</a> </li>
|
||
<li>GLSL 1.40.07 specification, section 8.5 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga21de0684ba52d03625b43eac0c2b866a"></a><!-- doxytag: member="glm::core::function::matrix::inverse" ref="ga21de0684ba52d03625b43eac0c2b866a" args="(detail::tmat2x2< T > const &m)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">detail::tmat2x2<T> glm::core::function::matrix::inverse </td>
|
||
<td>(</td>
|
||
<td class="paramtype">detail::tmat2x2< T > const & </td>
|
||
<td class="paramname"><em>m</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Return the inverse of a mat2 matrix. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/inverse.xml">GLSL inverse man page</a> </li>
|
||
<li>GLSL 1.40.07 specification, section 8.5 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="gadce520af7df2c97aea9f689ad620fabe"></a><!-- doxytag: member="glm::core::function::exponential::inversesqrt" ref="gadce520af7df2c97aea9f689ad620fabe" args="(genType const &x)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType glm::core::function::exponential::inversesqrt </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>x</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns the reciprocal of the positive square root of x. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/inversesqrt.xml">GLSL inversesqrt man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.2 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga7194c89cf656614f231e11c46d906465"></a><!-- doxytag: member="glm::core::function::common::isinf" ref="ga7194c89cf656614f231e11c46d906465" args="(genType const &x)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType::bool_type glm::core::function::common::isinf </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>x</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns true if x holds a positive infinity or negative infinity representation in the underlying implementation's set of floating point representations. </p>
|
||
<p>Returns false otherwise, including for implementations with no infinity representations. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/isinf.xml">GLSL isinf man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.3 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga873db92807cc955cf98030c94a342d5a"></a><!-- doxytag: member="glm::core::function::common::isnan" ref="ga873db92807cc955cf98030c94a342d5a" args="(genType const &x)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType::bool_type glm::core::function::common::isnan </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>x</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns true if x holds a NaN (not a number) representation in the underlying implementation's set of floating point representations. </p>
|
||
<p>Returns false otherwise, including for implementations with no NaN representations. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/isnan.xml">GLSL isnan man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.3 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="gaa99c16ada9e61cca03a8a00938a3c330"></a><!-- doxytag: member="glm::core::function::common::ldexp" ref="gaa99c16ada9e61cca03a8a00938a3c330" args="(genType const &x, genIType const &exp)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType glm::core::function::common::ldexp </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>x</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">genIType const & </td>
|
||
<td class="paramname"><em>exp</em> </td>
|
||
</tr>
|
||
<tr>
|
||
<td></td>
|
||
<td>)</td>
|
||
<td></td><td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Builds a floating-point number from x and the corresponding integral exponent of two in exp, returning: significand * exp(2, exponent) </p>
|
||
<p>If this product is too large to be represented in the floating-point type, the result is undefined.</p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/ldexp.xml">GLSL ldexp man page</a>; </li>
|
||
<li>GLSL 4.00.08 specification, section 8.3 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga10ee9a1d18c6da61cab61d8637d23847"></a><!-- doxytag: member="glm::core::function::geometric::length" ref="ga10ee9a1d18c6da61cab61d8637d23847" args="(genType const &x)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType::value_type glm::core::function::geometric::length </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>x</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns the length of x, i.e., sqrt(x * x). </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/length.xml">GLSL length man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.4 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga54e5b894f79b9c1b8f6d28fe6f986e80"></a><!-- doxytag: member="glm::core::function::vector_relational::lessThan" ref="ga54e5b894f79b9c1b8f6d28fe6f986e80" args="(vecType< T > const &x, vecType< T > const &y)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">GLM_FUNC_QUALIFIER vecType<T>::bool_type glm::core::function::vector_relational::lessThan </td>
|
||
<td>(</td>
|
||
<td class="paramtype">vecType< T > const & </td>
|
||
<td class="paramname"><em>x</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">vecType< T > const & </td>
|
||
<td class="paramname"><em>y</em> </td>
|
||
</tr>
|
||
<tr>
|
||
<td></td>
|
||
<td>)</td>
|
||
<td></td><td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns the component-wise comparison result of x < y. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/lessThan.xml">GLSL lessThan man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.6 </li>
|
||
</ul>
|
||
|
||
<p>Definition at line <a class="el" href="a00051_source.html#l00032">32</a> of file <a class="el" href="a00051_source.html">func_vector_relational.hpp</a>.</p>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga190db45f1b40202ee0716751448b119d"></a><!-- doxytag: member="glm::core::function::vector_relational::lessThanEqual" ref="ga190db45f1b40202ee0716751448b119d" args="(vecType< T > const &x, vecType< T > const &y)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">GLM_FUNC_QUALIFIER vecType<T>::bool_type glm::core::function::vector_relational::lessThanEqual </td>
|
||
<td>(</td>
|
||
<td class="paramtype">vecType< T > const & </td>
|
||
<td class="paramname"><em>x</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">vecType< T > const & </td>
|
||
<td class="paramname"><em>y</em> </td>
|
||
</tr>
|
||
<tr>
|
||
<td></td>
|
||
<td>)</td>
|
||
<td></td><td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns the component-wise comparison of result x <= y. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/lessThanEqual.xml">GLSL lessThanEqual man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.6 </li>
|
||
</ul>
|
||
|
||
<p>Definition at line <a class="el" href="a00051_source.html#l00055">55</a> of file <a class="el" href="a00051_source.html">func_vector_relational.hpp</a>.</p>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga50b7859bfe87c2f075fe7a04e4c68cc3"></a><!-- doxytag: member="glm::core::function::exponential::log" ref="ga50b7859bfe87c2f075fe7a04e4c68cc3" args="(genType const &x)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType glm::core::function::exponential::log </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>x</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns the natural logarithm of x, i.e., returns the value y which satisfies the equation x = e^y. </p>
|
||
<p>Results are undefined if x <= 0. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/log.xml">GLSL log man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.2 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga956c24e59912196d4b3714789e57c077"></a><!-- doxytag: member="glm::core::function::exponential::log2" ref="ga956c24e59912196d4b3714789e57c077" args="(genType const &x)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType glm::core::function::exponential::log2 </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>x</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns the base 2 log of x, i.e., returns the value y, which satisfies the equation x = 2 ^ y. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/log2.xml">GLSL log2 man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.2 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="gad27896f9d5be202b8d39552eeb352c87"></a><!-- doxytag: member="glm::core::function::matrix::matrixCompMult" ref="gad27896f9d5be202b8d39552eeb352c87" args="(matType const &x, matType const &y)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">matType glm::core::function::matrix::matrixCompMult </td>
|
||
<td>(</td>
|
||
<td class="paramtype">matType const & </td>
|
||
<td class="paramname"><em>x</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">matType const & </td>
|
||
<td class="paramname"><em>y</em> </td>
|
||
</tr>
|
||
<tr>
|
||
<td></td>
|
||
<td>)</td>
|
||
<td></td><td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Multiply matrix x by matrix y component-wise, i.e., result[i][j] is the scalar product of x[i][j] and y[i][j]. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/matrixCompMult.xml">GLSL matrixCompMult man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.5 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga33a594380eeb7ac803c747298563d084"></a><!-- doxytag: member="glm::core::function::common::max" ref="ga33a594380eeb7ac803c747298563d084" args="(genType const &x, genType const &y)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType glm::core::function::common::max </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>x</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>y</em> </td>
|
||
</tr>
|
||
<tr>
|
||
<td></td>
|
||
<td>)</td>
|
||
<td></td><td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns y if x < y; otherwise, it returns x. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/max.xml">GLSL max man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.3 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="gacbc721d96bff24d97ed7989d35f27067"></a><!-- doxytag: member="glm::core::function::common::min" ref="gacbc721d96bff24d97ed7989d35f27067" args="(genType const &x, genType const &y)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType glm::core::function::common::min </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>x</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>y</em> </td>
|
||
</tr>
|
||
<tr>
|
||
<td></td>
|
||
<td>)</td>
|
||
<td></td><td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns y if y < x; otherwise, it returns x. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/min.xml">GLSL min man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.3 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga11288dc43a2a1833766728a3eb81ac63"></a><!-- doxytag: member="glm::core::function::common::mix" ref="ga11288dc43a2a1833766728a3eb81ac63" args="(genTypeT const &x, genTypeT const &y, genTypeU const &a)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genTypeT glm::core::function::common::mix </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genTypeT const & </td>
|
||
<td class="paramname"><em>x</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">genTypeT const & </td>
|
||
<td class="paramname"><em>y</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">genTypeU const & </td>
|
||
<td class="paramname"><em>a</em> </td>
|
||
</tr>
|
||
<tr>
|
||
<td></td>
|
||
<td>)</td>
|
||
<td></td><td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
<dl class="return"><dt><b>Returns:</b></dt><dd>If genTypeU is a floating scalar or vector: Returns x * (1.0 - a) + y * a, i.e., the linear blend of x and y using the floating-point value a. The value for a is not restricted to the range [0, 1].</dd>
|
||
<dd>
|
||
If genTypeU is a boolean scalar or vector: Selects which vector each returned component comes from. For a component of a that is false, the corresponding component of x is returned. For a component of a that is true, the corresponding component of y is returned. Components of x and y that are not selected are allowed to be invalid floating point values and will have no effect on the results. Thus, this provides different functionality than genType mix(genType x, genType y, genType(a)) where a is a Boolean vector. <ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/mix.xml">GLSL mix man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.3 </li>
|
||
</ul>
|
||
</dd></dl>
|
||
<dl><dt><b>Parameters:</b></dt><dd>
|
||
<table class="params">
|
||
<tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>Floating point scalar or vector. </td></tr>
|
||
<tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>Floating point scalar or vector. </td></tr>
|
||
<tr><td class="paramdir">[in]</td><td class="paramname">a</td><td>Floating point or boolean scalar or vector. </td></tr>
|
||
</table>
|
||
</dd>
|
||
</dl>
|
||
|
||
<p>Referenced by <a class="el" href="a00032_source.html#l00038">glm::gtx::compatibility::lerp()</a>.</p>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga73fa91f6041b135083b0dea6e88c7aba"></a><!-- doxytag: member="glm::core::function::common::mod" ref="ga73fa91f6041b135083b0dea6e88c7aba" args="(genType const &x, genType const &y)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType glm::core::function::common::mod </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>x</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>y</em> </td>
|
||
</tr>
|
||
<tr>
|
||
<td></td>
|
||
<td>)</td>
|
||
<td></td><td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Modulus. </p>
|
||
<p>Returns x - y * floor(x / y) for each component in x using the floating point value y. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/mod.xml">GLSL mod man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.3 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="gacf6e2a9cb28a36f92338e82f3bf5755e"></a><!-- doxytag: member="glm::core::function::common::mod" ref="gacf6e2a9cb28a36f92338e82f3bf5755e" args="(genType const &x, typename genType::value_type const &y)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType glm::core::function::common::mod </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>x</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">typename genType::value_type const & </td>
|
||
<td class="paramname"><em>y</em> </td>
|
||
</tr>
|
||
<tr>
|
||
<td></td>
|
||
<td>)</td>
|
||
<td></td><td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Modulus. </p>
|
||
<p>Returns x - y * floor(x / y) for each component in x using the floating point value y. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/mod.xml">GLSL mod man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.3 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga3f3cec79cc1542950cd4cddb7ab67584"></a><!-- doxytag: member="glm::core::function::common::modf" ref="ga3f3cec79cc1542950cd4cddb7ab67584" args="(genType const &x, genType &i)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType glm::core::function::common::modf </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>x</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">genType & </td>
|
||
<td class="paramname"><em>i</em> </td>
|
||
</tr>
|
||
<tr>
|
||
<td></td>
|
||
<td>)</td>
|
||
<td></td><td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns the fractional part of x and sets i to the integer part (as a whole number floating point value). </p>
|
||
<p>Both the return value and the output parameter will have the same sign as x. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/modf.xml">GLSL modf man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.3 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga9a5b6e92c055c5d401b2a7c56b4b8da3"></a><!-- doxytag: member="glm::core::function::noise::noise1" ref="ga9a5b6e92c055c5d401b2a7c56b4b8da3" args="(genType const &x)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType::value_type glm::core::function::noise::noise1 </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>x</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns a 1D noise value based on the input value x. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/noise1.xml">GLSL noise1 man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.9 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="gaad98694033fa19168b99205f5ab33a0e"></a><!-- doxytag: member="glm::core::function::noise::noise2" ref="gaad98694033fa19168b99205f5ab33a0e" args="(genType const &x)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">detail::tvec2<typename genType::value_type> glm::core::function::noise::noise2 </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>x</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns a 2D noise value based on the input value x. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/noise2.xml">GLSL noise2 man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.9 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga8759756672debb0894c0bb18f5add8a6"></a><!-- doxytag: member="glm::core::function::noise::noise3" ref="ga8759756672debb0894c0bb18f5add8a6" args="(genType const &x)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">detail::tvec3<typename genType::value_type> glm::core::function::noise::noise3 </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>x</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns a 3D noise value based on the input value x. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/noise3.xml">GLSL noise3 man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.9 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="gac744c79c4ab6cffafbd197fc5276e62d"></a><!-- doxytag: member="glm::core::function::noise::noise4" ref="gac744c79c4ab6cffafbd197fc5276e62d" args="(genType const &x)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">detail::tvec4<typename genType::value_type> glm::core::function::noise::noise4 </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>x</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns a 4D noise value based on the input value x. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/noise4.xml">GLSL noise4 man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.9 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga07ff16965f11fa17122ac874ed492276"></a><!-- doxytag: member="glm::core::function::geometric::normalize" ref="ga07ff16965f11fa17122ac874ed492276" args="(genType const &x)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType glm::core::function::geometric::normalize </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>x</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns a vector in the same direction as x but with length of 1. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/normalize.xml">GLSL normalize man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.4 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="gadb3248006580ee79ebb1d358bce25ca0"></a><!-- doxytag: member="glm::core::function::vector_relational::not_" ref="gadb3248006580ee79ebb1d358bce25ca0" args="(vecType< bool > const &v)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">GLM_FUNC_QUALIFIER vecType<bool> glm::core::function::vector_relational::not_ </td>
|
||
<td>(</td>
|
||
<td class="paramtype">vecType< bool > const & </td>
|
||
<td class="paramname"><em>v</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns the component-wise logical complement of x. </p>
|
||
<p>/!\ Because of language incompatibilities between C++ and GLSL, GLM defines the function not but not_ instead.</p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/not.xml">GLSL not man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.6 </li>
|
||
</ul>
|
||
|
||
<p>Definition at line <a class="el" href="a00051_source.html#l00193">193</a> of file <a class="el" href="a00051_source.html">func_vector_relational.hpp</a>.</p>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga62979ef5be1ad914f866074b900abdcd"></a><!-- doxytag: member="glm::core::function::vector_relational::notEqual" ref="ga62979ef5be1ad914f866074b900abdcd" args="(vecType< T > const &x, vecType< T > const &y)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">GLM_FUNC_QUALIFIER vecType<T>::bool_type glm::core::function::vector_relational::notEqual </td>
|
||
<td>(</td>
|
||
<td class="paramtype">vecType< T > const & </td>
|
||
<td class="paramname"><em>x</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">vecType< T > const & </td>
|
||
<td class="paramname"><em>y</em> </td>
|
||
</tr>
|
||
<tr>
|
||
<td></td>
|
||
<td>)</td>
|
||
<td></td><td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns the component-wise comparison of result x != y. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/notEqual.xml">GLSL notEqual man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.6 </li>
|
||
</ul>
|
||
|
||
<p>Definition at line <a class="el" href="a00051_source.html#l00141">141</a> of file <a class="el" href="a00051_source.html">func_vector_relational.hpp</a>.</p>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga04b83f76e97124e8e91d923dd7ba326c"></a><!-- doxytag: member="glm::core::function::matrix::outerProduct" ref="ga04b83f76e97124e8e91d923dd7ba326c" args="(vecType const &c, vecType const &r)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">matType glm::core::function::matrix::outerProduct </td>
|
||
<td>(</td>
|
||
<td class="paramtype">vecType const & </td>
|
||
<td class="paramname"><em>c</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">vecType const & </td>
|
||
<td class="paramname"><em>r</em> </td>
|
||
</tr>
|
||
<tr>
|
||
<td></td>
|
||
<td>)</td>
|
||
<td></td><td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Treats the first parameter c as a column vector and the second parameter r as a row vector and does a linear algebraic matrix multiply c * r. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/outerProduct.xml">GLSL outerProduct man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.5 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga816867ca2fdb1bfb5d80d7a4f18a9e97"></a><!-- doxytag: member="glm::core::function::packing::packDouble2x32" ref="ga816867ca2fdb1bfb5d80d7a4f18a9e97" args="(detail::tvec2< detail::uint32 > const &v)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">double glm::core::function::packing::packDouble2x32 </td>
|
||
<td>(</td>
|
||
<td class="paramtype">detail::tvec2< detail::uint32 > const & </td>
|
||
<td class="paramname"><em>v</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns a double-precision value obtained by packing the components of v into a 64-bit value. </p>
|
||
<p>If an IEEE 754 Inf or NaN is created, it will not signal, and the resulting floating point value is unspecified. Otherwise, the bit- level representation of v is preserved. The first vector component specifies the 32 least significant bits; the second component specifies the 32 most significant bits.</p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/packDouble2x32.xml">GLSL packDouble2x32 man page</a> </li>
|
||
<li>GLSL 4.00.08 specification, section 8.4 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga3f82e6b12495d9751eee53facba475da"></a><!-- doxytag: member="glm::core::function::packing::packSnorm4x8" ref="ga3f82e6b12495d9751eee53facba475da" args="(detail::tvec4< detail::float32 > const &v)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">detail::uint32 glm::core::function::packing::packSnorm4x8 </td>
|
||
<td>(</td>
|
||
<td class="paramtype">detail::tvec4< detail::float32 > const & </td>
|
||
<td class="paramname"><em>v</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>First, converts each component of the normalized floating-point value v into 8- or 16-bit integer values. </p>
|
||
<p>Then, the results are packed into the returned 32-bit unsigned integer.</p>
|
||
<p>The conversion for component c of v to fixed point is done as follows: packSnorm4x8: round(clamp(c, -1, +1) * 127.0)</p>
|
||
<p>The first component of the vector will be written to the least significant bits of the output; the last component will be written to the most significant bits.</p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/packSnorm4x8.xml">GLSL packSnorm4x8 man page</a> </li>
|
||
<li>GLSL 4.00.08 specification, section 8.4 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga7fc17302ae69881bb792842d472e7a30"></a><!-- doxytag: member="glm::core::function::packing::packUnorm2x16" ref="ga7fc17302ae69881bb792842d472e7a30" args="(detail::tvec2< detail::float32 > const &v)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">detail::uint32 glm::core::function::packing::packUnorm2x16 </td>
|
||
<td>(</td>
|
||
<td class="paramtype">detail::tvec2< detail::float32 > const & </td>
|
||
<td class="paramname"><em>v</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>First, converts each component of the normalized floating-point value v into 8- or 16-bit integer values. </p>
|
||
<p>Then, the results are packed into the returned 32-bit unsigned integer.</p>
|
||
<p>The conversion for component c of v to fixed point is done as follows: packUnorm2x16: round(clamp(c, 0, +1) * 65535.0)</p>
|
||
<p>The first component of the vector will be written to the least significant bits of the output; the last component will be written to the most significant bits.</p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/packUnorm2x16.xml">GLSL packUnorm2x16 man page</a> </li>
|
||
<li>GLSL 4.00.08 specification, section 8.4 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="gaf440e4e6c6be271327c5e2538e9c8b5f"></a><!-- doxytag: member="glm::core::function::packing::packUnorm4x8" ref="gaf440e4e6c6be271327c5e2538e9c8b5f" args="(detail::tvec4< detail::float32 > const &v)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">detail::uint32 glm::core::function::packing::packUnorm4x8 </td>
|
||
<td>(</td>
|
||
<td class="paramtype">detail::tvec4< detail::float32 > const & </td>
|
||
<td class="paramname"><em>v</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>First, converts each component of the normalized floating-point value v into 8- or 16-bit integer values. </p>
|
||
<p>Then, the results are packed into the returned 32-bit unsigned integer.</p>
|
||
<p>The conversion for component c of v to fixed point is done as follows: packUnorm4x8: round(clamp(c, 0, +1) * 255.0)</p>
|
||
<p>The first component of the vector will be written to the least significant bits of the output; the last component will be written to the most significant bits.</p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/packUnorm4x8.xml">GLSL packUnorm4x8 man page</a> </li>
|
||
<li>GLSL 4.00.08 specification, section 8.4 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga8eb76dfbf0fed3397c0327915279f06f"></a><!-- doxytag: member="glm::core::function::exponential::pow" ref="ga8eb76dfbf0fed3397c0327915279f06f" args="(genType const &x, genType const &y)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType glm::core::function::exponential::pow </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>x</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>y</em> </td>
|
||
</tr>
|
||
<tr>
|
||
<td></td>
|
||
<td>)</td>
|
||
<td></td><td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns x raised to the y power. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/pow.xml">GLSL pow man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.2 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga40251a4a07049e7fdcbf155c3cc6d32a"></a><!-- doxytag: member="glm::core::function::trigonometric::radians" ref="ga40251a4a07049e7fdcbf155c3cc6d32a" args="(genType const &degrees)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType glm::core::function::trigonometric::radians </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>degrees</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Converts degrees to radians and returns the result. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/radians.xml">GLSL radians man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.1 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga2863d2331eb3752a5a17244c604c1d07"></a><!-- doxytag: member="glm::core::function::geometric::reflect" ref="ga2863d2331eb3752a5a17244c604c1d07" args="(genType const &I, genType const &N)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType glm::core::function::geometric::reflect </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>I</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>N</em> </td>
|
||
</tr>
|
||
<tr>
|
||
<td></td>
|
||
<td>)</td>
|
||
<td></td><td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>For the incident vector I and surface orientation N, returns the reflection direction : result = I - 2.0 * dot(N, I) * N. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/reflect.xml">GLSL reflect man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.4 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga895392ad98499a450e2cc8579d76a84d"></a><!-- doxytag: member="glm::core::function::geometric::refract" ref="ga895392ad98499a450e2cc8579d76a84d" args="(genType const &I, genType const &N, typename genType::value_type const &eta)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType glm::core::function::geometric::refract </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>I</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>N</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">typename genType::value_type const & </td>
|
||
<td class="paramname"><em>eta</em> </td>
|
||
</tr>
|
||
<tr>
|
||
<td></td>
|
||
<td>)</td>
|
||
<td></td><td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>For the incident vector I and surface normal N, and the ratio of indices of refraction eta, return the refraction vector. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/refract.xml">GLSL refract man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.4 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="gaa4cb0836cd9457ac6cedd3366333b16f"></a><!-- doxytag: member="glm::core::function::common::round" ref="gaa4cb0836cd9457ac6cedd3366333b16f" args="(genType const &x)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType glm::core::function::common::round </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>x</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns a value equal to the nearest integer to x. </p>
|
||
<p>The fraction 0.5 will round in a direction chosen by the implementation, presumably the direction that is fastest. This includes the possibility that round(x) returns the same value as roundEven(x) for all values of x. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/round.xml">GLSL round man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.3 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga656ce625ba1dc1d137bfc7cc7b2ab50b"></a><!-- doxytag: member="glm::core::function::common::roundEven" ref="ga656ce625ba1dc1d137bfc7cc7b2ab50b" args="(genType const &x)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType glm::core::function::common::roundEven </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>x</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns a value equal to the nearest integer to x. </p>
|
||
<p>A fractional part of 0.5 will round toward the nearest even integer. (Both 3.5 and 4.5 for x will return 4.0.) </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/roundEven.xml">GLSL roundEven man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.3 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga992a45e46af5dc123e688808d1bae48f"></a><!-- doxytag: member="glm::core::function::common::sign" ref="ga992a45e46af5dc123e688808d1bae48f" args="(genFIType const &x)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genFIType glm::core::function::common::sign </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genFIType const & </td>
|
||
<td class="paramname"><em>x</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns 1.0 if x > 0, 0.0 if x == 0, or -1.0 if x < 0. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/sign.xml">GLSL sign man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.3 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="gad246389321f46f7cb1cc422f9fd64cf4"></a><!-- doxytag: member="glm::core::function::trigonometric::sin" ref="gad246389321f46f7cb1cc422f9fd64cf4" args="(genType const &angle)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType glm::core::function::trigonometric::sin </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>angle</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>The standard trigonometric sine function. </p>
|
||
<p>The values returned by this function will range from [-1, 1]. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/sin.xml">GLSL sin man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.1 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga13a63bc67a160b1614ba3681f57fe480"></a><!-- doxytag: member="glm::core::function::trigonometric::sinh" ref="ga13a63bc67a160b1614ba3681f57fe480" args="(genType const &angle)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType glm::core::function::trigonometric::sinh </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>angle</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns the hyperbolic sine function, (exp(x) - exp(-x)) / 2. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/sinh.xml">GLSL sinh man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.1 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="gaec459c912160fa6d9c18acd52976bb4d"></a><!-- doxytag: member="glm::core::function::common::smoothstep" ref="gaec459c912160fa6d9c18acd52976bb4d" args="(genType const &edge0, genType const &edge1, genType const &x)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType glm::core::function::common::smoothstep </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>edge0</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>edge1</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>x</em> </td>
|
||
</tr>
|
||
<tr>
|
||
<td></td>
|
||
<td>)</td>
|
||
<td></td><td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns 0.0 if x <= edge0 and 1.0 if x >= edge1 and performs smooth Hermite interpolation between 0 and 1 when edge0 < x < edge1. </p>
|
||
<p>This is useful in cases where you would want a threshold function with a smooth transition. This is equivalent to: genType t; t = clamp ((x <20> edge0) / (edge1 <20> edge0), 0, 1); return t * t * (3 <20> 2 * t); Results are undefined if edge0 >= edge1. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/smoothstep.xml">GLSL smoothstep man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.3 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga29d9d4ccbca8f2168ac6534fbb65cbad"></a><!-- doxytag: member="glm::core::function::exponential::sqrt" ref="ga29d9d4ccbca8f2168ac6534fbb65cbad" args="(genType const &x)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType glm::core::function::exponential::sqrt </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>x</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns the positive square root of x. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/sqrt.xml">GLSL sqrt man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.2 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="gaf1c0aac0585f62db8db44e407478c434"></a><!-- doxytag: member="glm::core::function::common::step" ref="gaf1c0aac0585f62db8db44e407478c434" args="(genType const &edge, genType const &x)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType glm::core::function::common::step </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>edge</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>x</em> </td>
|
||
</tr>
|
||
<tr>
|
||
<td></td>
|
||
<td>)</td>
|
||
<td></td><td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns 0.0 if x < edge, otherwise it returns 1.0. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/step.xml">GLSL step man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.3 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga1a556079a4fee8b5e12fcfe7551f6931"></a><!-- doxytag: member="glm::core::function::trigonometric::tan" ref="ga1a556079a4fee8b5e12fcfe7551f6931" args="(genType const &angle)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType glm::core::function::trigonometric::tan </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>angle</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>The standard trigonometric tangent function. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/tan.xml">GLSL tan man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.1 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="gad93de1d635832bf722eb78a088bfbaa6"></a><!-- doxytag: member="glm::core::function::trigonometric::tanh" ref="gad93de1d635832bf722eb78a088bfbaa6" args="(genType const &angle)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType glm::core::function::trigonometric::tanh </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>angle</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns the hyperbolic tangent function, sinh(angle) / cosh(angle) </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/tanh.xml">GLSL tanh man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.1 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga8b1a22512f73b0176ad062d3d480e906"></a><!-- doxytag: member="glm::core::function::matrix::transpose" ref="ga8b1a22512f73b0176ad062d3d480e906" args="(matType const &x)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">matType::transpose_type glm::core::function::matrix::transpose </td>
|
||
<td>(</td>
|
||
<td class="paramtype">matType const & </td>
|
||
<td class="paramname"><em>x</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns the transposed matrix of x. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/transpose.xml">GLSL transpose man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.5 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga2303d814e83b34ee2d5f34fcff7fa275"></a><!-- doxytag: member="glm::core::function::common::trunc" ref="ga2303d814e83b34ee2d5f34fcff7fa275" args="(genType const &x)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType glm::core::function::common::trunc </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genType const & </td>
|
||
<td class="paramname"><em>x</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns a value equal to the nearest integer to x whose absolute value is not larger than the absolute value of x. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/trunc.xml">GLSL trunc man page</a> </li>
|
||
<li>GLSL 1.30.08 specification, section 8.3 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga8d63fd56743cc93286f09742baed4002"></a><!-- doxytag: member="glm::core::function::integer::uaddCarry" ref="ga8d63fd56743cc93286f09742baed4002" args="(genUType const &x, genUType const &y, genUType &carry)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genUType glm::core::function::integer::uaddCarry </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genUType const & </td>
|
||
<td class="paramname"><em>x</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">genUType const & </td>
|
||
<td class="paramname"><em>y</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">genUType & </td>
|
||
<td class="paramname"><em>carry</em> </td>
|
||
</tr>
|
||
<tr>
|
||
<td></td>
|
||
<td>)</td>
|
||
<td></td><td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Adds 32-bit unsigned integer x and y, returning the sum modulo pow(2, 32). </p>
|
||
<p>The value carry is set to 0 if the sum was less than pow(2, 32), or to 1 otherwise. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/uaddCarry.xml">GLSL uaddCarry man page</a> </li>
|
||
<li>GLSL 4.00.08 specification, section 8.8 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga1a38039b00f182b6b22e909ea5a87bab"></a><!-- doxytag: member="glm::core::function::common::uintBitsToFloat" ref="ga1a38039b00f182b6b22e909ea5a87bab" args="(genUType const &value)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genType glm::core::function::common::uintBitsToFloat </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genUType const & </td>
|
||
<td class="paramname"><em>value</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns a floating-point value corresponding to a unsigned integer encoding of a floating-point value. </p>
|
||
<p>If an inf or NaN is passed in, it will not signal, and the resulting floating point value is unspecified. Otherwise, the bit-level representation is preserved.</p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/uintBitsToFloat.xml">GLSL uintBitsToFloat man page</a> </li>
|
||
<li>GLSL 4.00.08 specification, section 8.3 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="gad9b60d1c7e161b78682b7f8b071e213e"></a><!-- doxytag: member="glm::core::function::integer::umulExtended" ref="gad9b60d1c7e161b78682b7f8b071e213e" args="(genUType const &x, genUType const &y, genUType &msb, genUType &lsb)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">void glm::core::function::integer::umulExtended </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genUType const & </td>
|
||
<td class="paramname"><em>x</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">genUType const & </td>
|
||
<td class="paramname"><em>y</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">genUType & </td>
|
||
<td class="paramname"><em>msb</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">genUType & </td>
|
||
<td class="paramname"><em>lsb</em> </td>
|
||
</tr>
|
||
<tr>
|
||
<td></td>
|
||
<td>)</td>
|
||
<td></td><td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Multiplies 32-bit integers x and y, producing a 64-bit result. </p>
|
||
<p>The 32 least-significant bits are returned in lsb. The 32 most-significant bits are returned in msb. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/umulExtended.xml">GLSL umulExtended man page</a> </li>
|
||
<li>GLSL 4.00.08 specification, section 8.8 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga4e80ba8eaef0b878ecb43053a4df9ff7"></a><!-- doxytag: member="glm::core::function::packing::unpackDouble2x32" ref="ga4e80ba8eaef0b878ecb43053a4df9ff7" args="(double const &v)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">detail::tvec2<detail::uint32> glm::core::function::packing::unpackDouble2x32 </td>
|
||
<td>(</td>
|
||
<td class="paramtype">double const & </td>
|
||
<td class="paramname"><em>v</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Returns a two-component unsigned integer vector representation of v. </p>
|
||
<p>The bit-level representation of v is preserved. The first component of the vector contains the 32 least significant bits of the double; the second component consists the 32 most significant bits.</p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/unpackDouble2x32.xml">GLSL unpackDouble2x32 man page</a> </li>
|
||
<li>GLSL 4.00.08 specification, section 8.4 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga03dafa00be8359e3a028aed81ae6007e"></a><!-- doxytag: member="glm::core::function::packing::unpackSnorm4x8" ref="ga03dafa00be8359e3a028aed81ae6007e" args="(detail::uint32 const &p)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">detail::tvec4<detail::float32> glm::core::function::packing::unpackSnorm4x8 </td>
|
||
<td>(</td>
|
||
<td class="paramtype">detail::uint32 const & </td>
|
||
<td class="paramname"><em>p</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers. </p>
|
||
<p>Then, each component is converted to a normalized floating-point value to generate the returned two- or four-component vector.</p>
|
||
<p>The conversion for unpacked fixed-point value f to floating point is done as follows: unpackSnorm4x8: clamp(f / 127.0, -1, +1)</p>
|
||
<p>The first component of the returned vector will be extracted from the least significant bits of the input; the last component will be extracted from the most significant bits.</p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/unpackSnorm4x8.xml">GLSL unpackSnorm4x8 man page</a> </li>
|
||
<li>GLSL 4.00.08 specification, section 8.4 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="gab3745178db4024212c4d7cb3df9a6f39"></a><!-- doxytag: member="glm::core::function::packing::unpackUnorm2x16" ref="gab3745178db4024212c4d7cb3df9a6f39" args="(detail::uint32 const &p)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">detail::tvec2<detail::float32> glm::core::function::packing::unpackUnorm2x16 </td>
|
||
<td>(</td>
|
||
<td class="paramtype">detail::uint32 const & </td>
|
||
<td class="paramname"><em>p</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers. </p>
|
||
<p>Then, each component is converted to a normalized floating-point value to generate the returned two- or four-component vector.</p>
|
||
<p>The conversion for unpacked fixed-point value f to floating point is done as follows: unpackUnorm2x16: f / 65535.0</p>
|
||
<p>The first component of the returned vector will be extracted from the least significant bits of the input; the last component will be extracted from the most significant bits.</p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/unpackUnorm2x16.xml">GLSL unpackUnorm2x16 man page</a> </li>
|
||
<li>GLSL 4.00.08 specification, section 8.4 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga11630d2b293d96452c412639ec3c942e"></a><!-- doxytag: member="glm::core::function::packing::unpackUnorm4x8" ref="ga11630d2b293d96452c412639ec3c942e" args="(detail::uint32 const &p)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">detail::tvec4<detail::float32> glm::core::function::packing::unpackUnorm4x8 </td>
|
||
<td>(</td>
|
||
<td class="paramtype">detail::uint32 const & </td>
|
||
<td class="paramname"><em>p</em></td><td>)</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers. </p>
|
||
<p>Then, each component is converted to a normalized floating-point value to generate the returned two- or four-component vector.</p>
|
||
<p>The conversion for unpacked fixed-point value f to floating point is done as follows: unpackUnorm4x8: f / 255.0</p>
|
||
<p>The first component of the returned vector will be extracted from the least significant bits of the input; the last component will be extracted from the most significant bits.</p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/unpackUnorm4x8.xml">GLSL unpackUnorm4x8 man page</a> </li>
|
||
<li>GLSL 4.00.08 specification, section 8.4 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
<a class="anchor" id="ga5ea2ea51e7cf73056069ce7583d61560"></a><!-- doxytag: member="glm::core::function::integer::usubBorrow" ref="ga5ea2ea51e7cf73056069ce7583d61560" args="(genUType const &x, genUType const &y, genUType &borrow)" -->
|
||
<div class="memitem">
|
||
<div class="memproto">
|
||
<table class="memname">
|
||
<tr>
|
||
<td class="memname">genUType glm::core::function::integer::usubBorrow </td>
|
||
<td>(</td>
|
||
<td class="paramtype">genUType const & </td>
|
||
<td class="paramname"><em>x</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">genUType const & </td>
|
||
<td class="paramname"><em>y</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="paramkey"></td>
|
||
<td></td>
|
||
<td class="paramtype">genUType & </td>
|
||
<td class="paramname"><em>borrow</em> </td>
|
||
</tr>
|
||
<tr>
|
||
<td></td>
|
||
<td>)</td>
|
||
<td></td><td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="memdoc">
|
||
|
||
<p>Subtracts the 32-bit unsigned integer y from x, returning the difference if non-negative, or pow(2, 32) plus the difference otherwise. </p>
|
||
<p>The value borrow is set to 0 if x >= y, or to 1 otherwise. </p>
|
||
<ul>
|
||
<li><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/usubBorrow.xml">GLSL usubBorrow man page</a> </li>
|
||
<li>GLSL 4.00.08 specification, section 8.8 </li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<hr class="footer"/><address class="footer"><small>Generated by 
|
||
<a href="http://www.doxygen.org/index.html">
|
||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||
</body>
|
||
</html>
|