Updated API doc
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.10"/>
|
||||
<title>0.9.9 API documenation: GLM_GTX_fast_trigonometry</title>
|
||||
<title>0.9.9 API documenation: GLM_GTX_matrix_operation</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
@@ -77,210 +77,224 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
<div class="summary">
|
||||
<a href="#func-members">Functions</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">GLM_GTX_fast_trigonometry<div class="ingroups"><a class="el" href="a00157.html">GTX Extensions (Experimental)</a></div></div> </div>
|
||||
<div class="title">GLM_GTX_matrix_operation<div class="ingroups"><a class="el" href="a00148.html">Experimental extensions</a></div></div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>Fast but less accurate implementations of trigonometric functions.
|
||||
<p>Include <<a class="el" href="a00064.html" title="GLM_GTX_matrix_operation ">glm/gtx/matrix_operation.hpp</a>> to use the features of this extension.
|
||||
<a href="#details">More...</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:ga9721d63356e5d94fdc4b393a426ab26b"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:ga9721d63356e5d94fdc4b393a426ab26b"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00199.html#ga9721d63356e5d94fdc4b393a426ab26b">fastAcos</a> (T angle)</td></tr>
|
||||
<tr class="memdesc:ga9721d63356e5d94fdc4b393a426ab26b"><td class="mdescLeft"> </td><td class="mdescRight">Faster than the common acos function but less accurate. <a href="a00199.html#ga9721d63356e5d94fdc4b393a426ab26b">More...</a><br /></td></tr>
|
||||
<tr class="separator:ga9721d63356e5d94fdc4b393a426ab26b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga562cb62c51fbfe7fac7db0bce706b81f"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:ga562cb62c51fbfe7fac7db0bce706b81f"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00199.html#ga562cb62c51fbfe7fac7db0bce706b81f">fastAsin</a> (T angle)</td></tr>
|
||||
<tr class="memdesc:ga562cb62c51fbfe7fac7db0bce706b81f"><td class="mdescLeft"> </td><td class="mdescRight">Faster than the common asin function but less accurate. <a href="a00199.html#ga562cb62c51fbfe7fac7db0bce706b81f">More...</a><br /></td></tr>
|
||||
<tr class="separator:ga562cb62c51fbfe7fac7db0bce706b81f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga8d197c6ef564f5e5d59af3b3f8adcc2c"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:ga8d197c6ef564f5e5d59af3b3f8adcc2c"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00199.html#ga8d197c6ef564f5e5d59af3b3f8adcc2c">fastAtan</a> (T y, T x)</td></tr>
|
||||
<tr class="memdesc:ga8d197c6ef564f5e5d59af3b3f8adcc2c"><td class="mdescLeft"> </td><td class="mdescRight">Faster than the common atan function but less accurate. <a href="a00199.html#ga8d197c6ef564f5e5d59af3b3f8adcc2c">More...</a><br /></td></tr>
|
||||
<tr class="separator:ga8d197c6ef564f5e5d59af3b3f8adcc2c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gae25de86a968490ff56856fa425ec9d30"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:gae25de86a968490ff56856fa425ec9d30"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00199.html#gae25de86a968490ff56856fa425ec9d30">fastAtan</a> (T angle)</td></tr>
|
||||
<tr class="memdesc:gae25de86a968490ff56856fa425ec9d30"><td class="mdescLeft"> </td><td class="mdescRight">Faster than the common atan function but less accurate. <a href="a00199.html#gae25de86a968490ff56856fa425ec9d30">More...</a><br /></td></tr>
|
||||
<tr class="separator:gae25de86a968490ff56856fa425ec9d30"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gab34c8b45c23c0165a64dcecfcc3b302a"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:gab34c8b45c23c0165a64dcecfcc3b302a"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00199.html#gab34c8b45c23c0165a64dcecfcc3b302a">fastCos</a> (T angle)</td></tr>
|
||||
<tr class="memdesc:gab34c8b45c23c0165a64dcecfcc3b302a"><td class="mdescLeft"> </td><td class="mdescRight">Faster than the common cos function but less accurate. <a href="a00199.html#gab34c8b45c23c0165a64dcecfcc3b302a">More...</a><br /></td></tr>
|
||||
<tr class="separator:gab34c8b45c23c0165a64dcecfcc3b302a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga0aab3257bb3b628d10a1e0483e2c6915"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:ga0aab3257bb3b628d10a1e0483e2c6915"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00199.html#ga0aab3257bb3b628d10a1e0483e2c6915">fastSin</a> (T angle)</td></tr>
|
||||
<tr class="memdesc:ga0aab3257bb3b628d10a1e0483e2c6915"><td class="mdescLeft"> </td><td class="mdescRight">Faster than the common sin function but less accurate. <a href="a00199.html#ga0aab3257bb3b628d10a1e0483e2c6915">More...</a><br /></td></tr>
|
||||
<tr class="separator:ga0aab3257bb3b628d10a1e0483e2c6915"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gaf29b9c1101a10007b4f79ee89df27ba2"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:gaf29b9c1101a10007b4f79ee89df27ba2"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00199.html#gaf29b9c1101a10007b4f79ee89df27ba2">fastTan</a> (T angle)</td></tr>
|
||||
<tr class="memdesc:gaf29b9c1101a10007b4f79ee89df27ba2"><td class="mdescLeft"> </td><td class="mdescRight">Faster than the common tan function but less accurate. <a href="a00199.html#gaf29b9c1101a10007b4f79ee89df27ba2">More...</a><br /></td></tr>
|
||||
<tr class="separator:gaf29b9c1101a10007b4f79ee89df27ba2"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga069527c6dbd64f53435b8ebc4878b473"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:ga069527c6dbd64f53435b8ebc4878b473"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00199.html#ga069527c6dbd64f53435b8ebc4878b473">wrapAngle</a> (T angle)</td></tr>
|
||||
<tr class="memdesc:ga069527c6dbd64f53435b8ebc4878b473"><td class="mdescLeft"> </td><td class="mdescRight">Wrap an angle to [0 2pi[ From GLM_GTX_fast_trigonometry extension. <a href="a00199.html#ga069527c6dbd64f53435b8ebc4878b473">More...</a><br /></td></tr>
|
||||
<tr class="separator:ga069527c6dbd64f53435b8ebc4878b473"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga58a32a2beeb2478dae2a721368cdd4ac"><td class="memTemplParams" colspan="2">template<typename T , qualifier Q> </td></tr>
|
||||
<tr class="memitem:ga58a32a2beeb2478dae2a721368cdd4ac"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat< 2, 2, T, Q > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00199.html#ga58a32a2beeb2478dae2a721368cdd4ac">diagonal2x2</a> (vec< 2, T, Q > const &v)</td></tr>
|
||||
<tr class="memdesc:ga58a32a2beeb2478dae2a721368cdd4ac"><td class="mdescLeft"> </td><td class="mdescRight">Build a diagonal matrix. <a href="a00199.html#ga58a32a2beeb2478dae2a721368cdd4ac">More...</a><br /></td></tr>
|
||||
<tr class="separator:ga58a32a2beeb2478dae2a721368cdd4ac"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gab69f900206a430e2875a5a073851e175"><td class="memTemplParams" colspan="2">template<typename T , qualifier Q> </td></tr>
|
||||
<tr class="memitem:gab69f900206a430e2875a5a073851e175"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat< 2, 3, T, Q > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00199.html#gab69f900206a430e2875a5a073851e175">diagonal2x3</a> (vec< 2, T, Q > const &v)</td></tr>
|
||||
<tr class="memdesc:gab69f900206a430e2875a5a073851e175"><td class="mdescLeft"> </td><td class="mdescRight">Build a diagonal matrix. <a href="a00199.html#gab69f900206a430e2875a5a073851e175">More...</a><br /></td></tr>
|
||||
<tr class="separator:gab69f900206a430e2875a5a073851e175"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga30b4dbfed60a919d66acc8a63bcdc549"><td class="memTemplParams" colspan="2">template<typename T , qualifier Q> </td></tr>
|
||||
<tr class="memitem:ga30b4dbfed60a919d66acc8a63bcdc549"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat< 2, 4, T, Q > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00199.html#ga30b4dbfed60a919d66acc8a63bcdc549">diagonal2x4</a> (vec< 2, T, Q > const &v)</td></tr>
|
||||
<tr class="memdesc:ga30b4dbfed60a919d66acc8a63bcdc549"><td class="mdescLeft"> </td><td class="mdescRight">Build a diagonal matrix. <a href="a00199.html#ga30b4dbfed60a919d66acc8a63bcdc549">More...</a><br /></td></tr>
|
||||
<tr class="separator:ga30b4dbfed60a919d66acc8a63bcdc549"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga832c805d5130d28ad76236958d15b47d"><td class="memTemplParams" colspan="2">template<typename T , qualifier Q> </td></tr>
|
||||
<tr class="memitem:ga832c805d5130d28ad76236958d15b47d"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat< 3, 2, T, Q > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00199.html#ga832c805d5130d28ad76236958d15b47d">diagonal3x2</a> (vec< 2, T, Q > const &v)</td></tr>
|
||||
<tr class="memdesc:ga832c805d5130d28ad76236958d15b47d"><td class="mdescLeft"> </td><td class="mdescRight">Build a diagonal matrix. <a href="a00199.html#ga832c805d5130d28ad76236958d15b47d">More...</a><br /></td></tr>
|
||||
<tr class="separator:ga832c805d5130d28ad76236958d15b47d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga5487ff9cdbc8e04d594adef1bcb16ee0"><td class="memTemplParams" colspan="2">template<typename T , qualifier Q> </td></tr>
|
||||
<tr class="memitem:ga5487ff9cdbc8e04d594adef1bcb16ee0"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat< 3, 3, T, Q > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00199.html#ga5487ff9cdbc8e04d594adef1bcb16ee0">diagonal3x3</a> (vec< 3, T, Q > const &v)</td></tr>
|
||||
<tr class="memdesc:ga5487ff9cdbc8e04d594adef1bcb16ee0"><td class="mdescLeft"> </td><td class="mdescRight">Build a diagonal matrix. <a href="a00199.html#ga5487ff9cdbc8e04d594adef1bcb16ee0">More...</a><br /></td></tr>
|
||||
<tr class="separator:ga5487ff9cdbc8e04d594adef1bcb16ee0"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gad7551139cff0c4208d27f0ad3437833e"><td class="memTemplParams" colspan="2">template<typename T , qualifier Q> </td></tr>
|
||||
<tr class="memitem:gad7551139cff0c4208d27f0ad3437833e"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat< 3, 4, T, Q > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00199.html#gad7551139cff0c4208d27f0ad3437833e">diagonal3x4</a> (vec< 3, T, Q > const &v)</td></tr>
|
||||
<tr class="memdesc:gad7551139cff0c4208d27f0ad3437833e"><td class="mdescLeft"> </td><td class="mdescRight">Build a diagonal matrix. <a href="a00199.html#gad7551139cff0c4208d27f0ad3437833e">More...</a><br /></td></tr>
|
||||
<tr class="separator:gad7551139cff0c4208d27f0ad3437833e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gacb8969e6543ba775c6638161a37ac330"><td class="memTemplParams" colspan="2">template<typename T , qualifier Q> </td></tr>
|
||||
<tr class="memitem:gacb8969e6543ba775c6638161a37ac330"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat< 4, 2, T, Q > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00199.html#gacb8969e6543ba775c6638161a37ac330">diagonal4x2</a> (vec< 2, T, Q > const &v)</td></tr>
|
||||
<tr class="memdesc:gacb8969e6543ba775c6638161a37ac330"><td class="mdescLeft"> </td><td class="mdescRight">Build a diagonal matrix. <a href="a00199.html#gacb8969e6543ba775c6638161a37ac330">More...</a><br /></td></tr>
|
||||
<tr class="separator:gacb8969e6543ba775c6638161a37ac330"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gae235def5049d6740f0028433f5e13f90"><td class="memTemplParams" colspan="2">template<typename T , qualifier Q> </td></tr>
|
||||
<tr class="memitem:gae235def5049d6740f0028433f5e13f90"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat< 4, 3, T, Q > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00199.html#gae235def5049d6740f0028433f5e13f90">diagonal4x3</a> (vec< 3, T, Q > const &v)</td></tr>
|
||||
<tr class="memdesc:gae235def5049d6740f0028433f5e13f90"><td class="mdescLeft"> </td><td class="mdescRight">Build a diagonal matrix. <a href="a00199.html#gae235def5049d6740f0028433f5e13f90">More...</a><br /></td></tr>
|
||||
<tr class="separator:gae235def5049d6740f0028433f5e13f90"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga0b4cd8dea436791b072356231ee8578f"><td class="memTemplParams" colspan="2">template<typename T , qualifier Q> </td></tr>
|
||||
<tr class="memitem:ga0b4cd8dea436791b072356231ee8578f"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat< 4, 4, T, Q > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00199.html#ga0b4cd8dea436791b072356231ee8578f">diagonal4x4</a> (vec< 4, T, Q > const &v)</td></tr>
|
||||
<tr class="memdesc:ga0b4cd8dea436791b072356231ee8578f"><td class="mdescLeft"> </td><td class="mdescRight">Build a diagonal matrix. <a href="a00199.html#ga0b4cd8dea436791b072356231ee8578f">More...</a><br /></td></tr>
|
||||
<tr class="separator:ga0b4cd8dea436791b072356231ee8578f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<p>Fast but less accurate implementations of trigonometric functions. </p>
|
||||
<p><<a class="el" href="a00031.html" title="GLM_GTX_fast_trigonometry ">glm/gtx/fast_trigonometry.hpp</a>> need to be included to use these functionalities. </p>
|
||||
<p>Include <<a class="el" href="a00064.html" title="GLM_GTX_matrix_operation ">glm/gtx/matrix_operation.hpp</a>> to use the features of this extension. </p>
|
||||
<p>Build diagonal matrices from vectors. </p>
|
||||
<h2 class="groupheader">Function Documentation</h2>
|
||||
<a class="anchor" id="ga9721d63356e5d94fdc4b393a426ab26b"></a>
|
||||
<a class="anchor" id="ga58a32a2beeb2478dae2a721368cdd4ac"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">GLM_FUNC_DECL T glm::fastAcos </td>
|
||||
<td class="memname">GLM_FUNC_DECL mat<2, 2, T, Q> glm::diagonal2x2 </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">T </td>
|
||||
<td class="paramname"><em>angle</em></td><td>)</td>
|
||||
<td class="paramtype">vec< 2, T, Q > const & </td>
|
||||
<td class="paramname"><em>v</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Faster than the common acos function but less accurate. </p>
|
||||
<p>Defined between -2pi and 2pi. From GLM_GTX_fast_trigonometry extension. </p>
|
||||
<p>Build a diagonal matrix. </p>
|
||||
<p>From GLM_GTX_matrix_operation extension. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga562cb62c51fbfe7fac7db0bce706b81f"></a>
|
||||
<a class="anchor" id="gab69f900206a430e2875a5a073851e175"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">GLM_FUNC_DECL T glm::fastAsin </td>
|
||||
<td class="memname">GLM_FUNC_DECL mat<2, 3, T, Q> glm::diagonal2x3 </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">T </td>
|
||||
<td class="paramname"><em>angle</em></td><td>)</td>
|
||||
<td class="paramtype">vec< 2, T, Q > const & </td>
|
||||
<td class="paramname"><em>v</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Faster than the common asin function but less accurate. </p>
|
||||
<p>Defined between -2pi and 2pi. From GLM_GTX_fast_trigonometry extension. </p>
|
||||
<p>Build a diagonal matrix. </p>
|
||||
<p>From GLM_GTX_matrix_operation extension. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga8d197c6ef564f5e5d59af3b3f8adcc2c"></a>
|
||||
<a class="anchor" id="ga30b4dbfed60a919d66acc8a63bcdc549"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">GLM_FUNC_DECL T glm::fastAtan </td>
|
||||
<td class="memname">GLM_FUNC_DECL mat<2, 4, T, Q> glm::diagonal2x4 </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">T </td>
|
||||
<td class="paramname"><em>y</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">T </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>Faster than the common atan function but less accurate. </p>
|
||||
<p>Defined between -2pi and 2pi. From GLM_GTX_fast_trigonometry extension. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="gae25de86a968490ff56856fa425ec9d30"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">GLM_FUNC_DECL T glm::fastAtan </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">T </td>
|
||||
<td class="paramname"><em>angle</em></td><td>)</td>
|
||||
<td class="paramtype">vec< 2, T, Q > const & </td>
|
||||
<td class="paramname"><em>v</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Faster than the common atan function but less accurate. </p>
|
||||
<p>Defined between -2pi and 2pi. From GLM_GTX_fast_trigonometry extension. </p>
|
||||
<p>Build a diagonal matrix. </p>
|
||||
<p>From GLM_GTX_matrix_operation extension. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="gab34c8b45c23c0165a64dcecfcc3b302a"></a>
|
||||
<a class="anchor" id="ga832c805d5130d28ad76236958d15b47d"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">GLM_FUNC_DECL T glm::fastCos </td>
|
||||
<td class="memname">GLM_FUNC_DECL mat<3, 2, T, Q> glm::diagonal3x2 </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">T </td>
|
||||
<td class="paramname"><em>angle</em></td><td>)</td>
|
||||
<td class="paramtype">vec< 2, T, Q > const & </td>
|
||||
<td class="paramname"><em>v</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Faster than the common cos function but less accurate. </p>
|
||||
<p>From GLM_GTX_fast_trigonometry extension. </p>
|
||||
<p>Build a diagonal matrix. </p>
|
||||
<p>From GLM_GTX_matrix_operation extension. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga0aab3257bb3b628d10a1e0483e2c6915"></a>
|
||||
<a class="anchor" id="ga5487ff9cdbc8e04d594adef1bcb16ee0"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">GLM_FUNC_DECL T glm::fastSin </td>
|
||||
<td class="memname">GLM_FUNC_DECL mat<3, 3, T, Q> glm::diagonal3x3 </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">T </td>
|
||||
<td class="paramname"><em>angle</em></td><td>)</td>
|
||||
<td class="paramtype">vec< 3, T, Q > const & </td>
|
||||
<td class="paramname"><em>v</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Faster than the common sin function but less accurate. </p>
|
||||
<p>From GLM_GTX_fast_trigonometry extension. </p>
|
||||
<p>Build a diagonal matrix. </p>
|
||||
<p>From GLM_GTX_matrix_operation extension. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="gaf29b9c1101a10007b4f79ee89df27ba2"></a>
|
||||
<a class="anchor" id="gad7551139cff0c4208d27f0ad3437833e"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">GLM_FUNC_DECL T glm::fastTan </td>
|
||||
<td class="memname">GLM_FUNC_DECL mat<3, 4, T, Q> glm::diagonal3x4 </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">T </td>
|
||||
<td class="paramname"><em>angle</em></td><td>)</td>
|
||||
<td class="paramtype">vec< 3, T, Q > const & </td>
|
||||
<td class="paramname"><em>v</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Faster than the common tan function but less accurate. </p>
|
||||
<p>Defined between -2pi and 2pi. From GLM_GTX_fast_trigonometry extension. </p>
|
||||
<p>Build a diagonal matrix. </p>
|
||||
<p>From GLM_GTX_matrix_operation extension. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga069527c6dbd64f53435b8ebc4878b473"></a>
|
||||
<a class="anchor" id="gacb8969e6543ba775c6638161a37ac330"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">GLM_FUNC_DECL T glm::wrapAngle </td>
|
||||
<td class="memname">GLM_FUNC_DECL mat<4, 2, T, Q> glm::diagonal4x2 </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">T </td>
|
||||
<td class="paramname"><em>angle</em></td><td>)</td>
|
||||
<td class="paramtype">vec< 2, T, Q > const & </td>
|
||||
<td class="paramname"><em>v</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Wrap an angle to [0 2pi[ From GLM_GTX_fast_trigonometry extension. </p>
|
||||
<p>Build a diagonal matrix. </p>
|
||||
<p>From GLM_GTX_matrix_operation extension. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="gae235def5049d6740f0028433f5e13f90"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">GLM_FUNC_DECL mat<4, 3, T, Q> glm::diagonal4x3 </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">vec< 3, T, Q > const & </td>
|
||||
<td class="paramname"><em>v</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Build a diagonal matrix. </p>
|
||||
<p>From GLM_GTX_matrix_operation extension. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga0b4cd8dea436791b072356231ee8578f"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">GLM_FUNC_DECL mat<4, 4, T, Q> glm::diagonal4x4 </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">vec< 4, T, Q > const & </td>
|
||||
<td class="paramname"><em>v</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Build a diagonal matrix. </p>
|
||||
<p>From GLM_GTX_matrix_operation extension. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user