Updated doxygen for 0.9.6 API
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
<head>
|
||||
<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.5"/>
|
||||
<title>GLM: GLM_GTX_integer</title>
|
||||
<meta name="generator" content="Doxygen 1.8.8"/>
|
||||
<title>0.9.6: GLM_GTX_intersect</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>
|
||||
@@ -16,9 +16,9 @@
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">GLM
|
||||
 <span id="projectnumber">0.9.5</span>
|
||||
<div id="projectname">0.9.6
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -26,149 +26,99 @@
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.5 -->
|
||||
<!-- Generated by Doxygen 1.8.8 -->
|
||||
<div id="navrow1" class="tabs">
|
||||
<ul class="tablist">
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="pages.html"><span>Related Pages</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="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#typedef-members">Typedefs</a> |
|
||||
<a href="#func-members">Functions</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">GLM_GTX_integer<div class="ingroups"><a class="el" href="a00165.html">GTX Extensions (Experimental)</a></div></div> </div>
|
||||
<div class="title">GLM_GTX_intersect<div class="ingroups"><a class="el" href="a00160.html">GTX Extensions (Experimental)</a></div></div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
|
||||
Typedefs</h2></td></tr>
|
||||
<tr class="memitem:gada7e83fdfe943aba4f1d5bf80cb66f40"><td class="memItemLeft" align="right" valign="top">typedef signed int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00202.html#gada7e83fdfe943aba4f1d5bf80cb66f40">sint</a></td></tr>
|
||||
<tr class="separator:gada7e83fdfe943aba4f1d5bf80cb66f40"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:ga6912d62d2f314fa38ef4c94fda778294"><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||||
<tr class="memitem:ga6912d62d2f314fa38ef4c94fda778294"><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00202.html#ga6912d62d2f314fa38ef4c94fda778294">factorial</a> (genType const &x)</td></tr>
|
||||
<tr class="separator:ga6912d62d2f314fa38ef4c94fda778294"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga054b9fd24e0d18af9ae7e9b6bfb5a2c9"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00202.html#ga054b9fd24e0d18af9ae7e9b6bfb5a2c9">floor_log2</a> (unsigned int x)</td></tr>
|
||||
<tr class="separator:ga054b9fd24e0d18af9ae7e9b6bfb5a2c9"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gae6836e4b1445f55ab30f32e3da36c284"><td class="memTemplParams" colspan="2">template<typename genIUType > </td></tr>
|
||||
<tr class="memitem:gae6836e4b1445f55ab30f32e3da36c284"><td class="memTemplItemLeft" align="right" valign="top">genIUType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00202.html#gae6836e4b1445f55ab30f32e3da36c284">log2</a> (genIUType const &x)</td></tr>
|
||||
<tr class="separator:gae6836e4b1445f55ab30f32e3da36c284"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga01082d953f4864e9accbcb84987a1066"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00202.html#ga01082d953f4864e9accbcb84987a1066">mod</a> (int x, int y)</td></tr>
|
||||
<tr class="separator:ga01082d953f4864e9accbcb84987a1066"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga5f05facb4b70489113d284edd53babcb"><td class="memItemLeft" align="right" valign="top">uint </td><td class="memItemRight" valign="bottom"><a class="el" href="a00202.html#ga5f05facb4b70489113d284edd53babcb">mod</a> (uint x, uint y)</td></tr>
|
||||
<tr class="separator:ga5f05facb4b70489113d284edd53babcb"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gade78ad3e82d61001f4641571db4dd56e"><td class="memItemLeft" align="right" valign="top">uint </td><td class="memItemRight" valign="bottom"><a class="el" href="a00202.html#gade78ad3e82d61001f4641571db4dd56e">nlz</a> (uint x)</td></tr>
|
||||
<tr class="separator:gade78ad3e82d61001f4641571db4dd56e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga0073d991d1c9c9a37b458eb512535fc8"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00202.html#ga0073d991d1c9c9a37b458eb512535fc8">pow</a> (int x, int y)</td></tr>
|
||||
<tr class="separator:ga0073d991d1c9c9a37b458eb512535fc8"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gaaff5d34714236dbeddd49e4ecb045abc"><td class="memItemLeft" align="right" valign="top">uint </td><td class="memItemRight" valign="bottom"><a class="el" href="a00202.html#gaaff5d34714236dbeddd49e4ecb045abc">pow</a> (uint x, uint y)</td></tr>
|
||||
<tr class="separator:gaaff5d34714236dbeddd49e4ecb045abc"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga6aad88cb883810890ac2b68000c544c1"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00202.html#ga6aad88cb883810890ac2b68000c544c1">sqrt</a> (int x)</td></tr>
|
||||
<tr class="separator:ga6aad88cb883810890ac2b68000c544c1"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gafb4f8acb2b577775e2ef1a86e7312340"><td class="memItemLeft" align="right" valign="top">uint </td><td class="memItemRight" valign="bottom"><a class="el" href="a00202.html#gafb4f8acb2b577775e2ef1a86e7312340">sqrt</a> (uint x)</td></tr>
|
||||
<tr class="separator:gafb4f8acb2b577775e2ef1a86e7312340"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga9c68139f3d8a4f3d7fe45f9dbc0de5b7"><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||||
<tr class="memitem:ga9c68139f3d8a4f3d7fe45f9dbc0de5b7"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00202.html#ga9c68139f3d8a4f3d7fe45f9dbc0de5b7">intersectLineSphere</a> (genType const &point0, genType const &point1, genType const &sphereCenter, typename genType::value_type sphereRadius, genType &intersectionPosition1, genType &intersectionNormal1, genType &intersectionPosition2=genType(), genType &intersectionNormal2=genType())</td></tr>
|
||||
<tr class="separator:ga9c68139f3d8a4f3d7fe45f9dbc0de5b7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga9d29b9b3acb504d43986502f42740df4"><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||||
<tr class="memitem:ga9d29b9b3acb504d43986502f42740df4"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00202.html#ga9d29b9b3acb504d43986502f42740df4">intersectLineTriangle</a> (genType const &orig, genType const &dir, genType const &vert0, genType const &vert1, genType const &vert2, genType &position)</td></tr>
|
||||
<tr class="separator:ga9d29b9b3acb504d43986502f42740df4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gad3697a9700ea379739a667ea02573488"><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||||
<tr class="memitem:gad3697a9700ea379739a667ea02573488"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00202.html#gad3697a9700ea379739a667ea02573488">intersectRayPlane</a> (genType const &orig, genType const &dir, genType const &planeOrig, genType const &planeNormal, typename genType::value_type &intersectionDistance)</td></tr>
|
||||
<tr class="separator:gad3697a9700ea379739a667ea02573488"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gac88f8cd84c4bcb5b947d56acbbcfa56e"><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||||
<tr class="memitem:gac88f8cd84c4bcb5b947d56acbbcfa56e"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00202.html#gac88f8cd84c4bcb5b947d56acbbcfa56e">intersectRaySphere</a> (genType const &rayStarting, genType const &rayNormalizedDirection, genType const &sphereCenter, typename genType::value_type const sphereRadiusSquered, typename genType::value_type &intersectionDistance)</td></tr>
|
||||
<tr class="separator:gac88f8cd84c4bcb5b947d56acbbcfa56e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gad28c00515b823b579c608aafa1100c1d"><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||||
<tr class="memitem:gad28c00515b823b579c608aafa1100c1d"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00202.html#gad28c00515b823b579c608aafa1100c1d">intersectRaySphere</a> (genType const &rayStarting, genType const &rayNormalizedDirection, genType const &sphereCenter, const typename genType::value_type sphereRadius, genType &intersectionPosition, genType &intersectionNormal)</td></tr>
|
||||
<tr class="separator:gad28c00515b823b579c608aafa1100c1d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gab16c1b47c10451e7604b51b39a7ef21d"><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||||
<tr class="memitem:gab16c1b47c10451e7604b51b39a7ef21d"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00202.html#gab16c1b47c10451e7604b51b39a7ef21d">intersectRayTriangle</a> (genType const &orig, genType const &dir, genType const &vert0, genType const &vert1, genType const &vert2, genType &baryPosition)</td></tr>
|
||||
<tr class="separator:gab16c1b47c10451e7604b51b39a7ef21d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<p>Add support for integer for core functions. </p>
|
||||
<p><<a class="el" href="a00049.html" title="OpenGL Mathematics (glm.g-truc.net) ">glm/gtx/integer.hpp</a>> need to be included to use these functionalities. </p>
|
||||
<h2 class="groupheader">Typedef Documentation</h2>
|
||||
<a class="anchor" id="gada7e83fdfe943aba4f1d5bf80cb66f40"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">typedef signed int sint</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>32bit signed integer. </p>
|
||||
<p>From GLM_GTX_integer extension. </p>
|
||||
|
||||
<p>Definition at line <a class="el" href="a00049_source.html#l00081">81</a> of file <a class="el" href="a00049_source.html">gtx/integer.hpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<p>Add intersection functions. </p>
|
||||
<p><<a class="el" href="a00046.html" title="OpenGL Mathematics (glm.g-truc.net) ">glm/gtx/intersect.hpp</a>> need to be included to use these functionalities. </p>
|
||||
<h2 class="groupheader">Function Documentation</h2>
|
||||
<a class="anchor" id="ga6912d62d2f314fa38ef4c94fda778294"></a>
|
||||
<a class="anchor" id="ga9c68139f3d8a4f3d7fe45f9dbc0de5b7"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">genType glm::factorial </td>
|
||||
<td class="memname">GLM_FUNC_DECL bool glm::intersectLineSphere </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 the factorial value of a number (!12 max, integer only) From GLM_GTX_integer extension. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga054b9fd24e0d18af9ae7e9b6bfb5a2c9"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">unsigned int glm::floor_log2 </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">unsigned int </td>
|
||||
<td class="paramname"><em>x</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Returns the floor log2 of x. </p>
|
||||
<p>From GLM_GTX_integer extension. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="gae6836e4b1445f55ab30f32e3da36c284"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">genIUType glm::log2 </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">genIUType const & </td>
|
||||
<td class="paramname"><em>x</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Returns the log2 of x. </p>
|
||||
<p>Can be reliably using to compute mipmap count from the texture size. From GLM_GTX_integer extension. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga01082d953f4864e9accbcb84987a1066"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">int glm::mod </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">int </td>
|
||||
<td class="paramname"><em>x</em>, </td>
|
||||
<td class="paramname"><em>point0</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">int </td>
|
||||
<td class="paramname"><em>y</em> </td>
|
||||
<td class="paramtype">genType const & </td>
|
||||
<td class="paramname"><em>point1</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">genType const & </td>
|
||||
<td class="paramname"><em>sphereCenter</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">typename genType::value_type </td>
|
||||
<td class="paramname"><em>sphereRadius</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">genType & </td>
|
||||
<td class="paramname"><em>intersectionPosition1</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">genType & </td>
|
||||
<td class="paramname"><em>intersectionNormal1</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">genType & </td>
|
||||
<td class="paramname"><em>intersectionPosition2</em> = <code>genType()</code>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">genType & </td>
|
||||
<td class="paramname"><em>intersectionNormal2</em> = <code>genType()</code> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
@@ -178,26 +128,50 @@ Functions</h2></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. From GLM_GTX_integer extension. </p>
|
||||
<p>Compute the intersection of a line and a sphere. </p>
|
||||
<p>From GLM_GTX_intersect extension </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga5f05facb4b70489113d284edd53babcb"></a>
|
||||
<a class="anchor" id="ga9d29b9b3acb504d43986502f42740df4"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">uint glm::mod </td>
|
||||
<td class="memname">GLM_FUNC_DECL bool glm::intersectLineTriangle </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">uint </td>
|
||||
<td class="paramname"><em>x</em>, </td>
|
||||
<td class="paramtype">genType const & </td>
|
||||
<td class="paramname"><em>orig</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">uint </td>
|
||||
<td class="paramname"><em>y</em> </td>
|
||||
<td class="paramtype">genType const & </td>
|
||||
<td class="paramname"><em>dir</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">genType const & </td>
|
||||
<td class="paramname"><em>vert0</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">genType const & </td>
|
||||
<td class="paramname"><em>vert1</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">genType const & </td>
|
||||
<td class="paramname"><em>vert2</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">genType & </td>
|
||||
<td class="paramname"><em>position</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
@@ -207,45 +181,44 @@ Functions</h2></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. From GLM_GTX_integer extension. </p>
|
||||
<p>Compute the intersection of a line and a triangle. </p>
|
||||
<p>From GLM_GTX_intersect extension. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="gade78ad3e82d61001f4641571db4dd56e"></a>
|
||||
<a class="anchor" id="gad3697a9700ea379739a667ea02573488"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">uint glm::nlz </td>
|
||||
<td class="memname">GLM_FUNC_DECL bool glm::intersectRayPlane </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">uint </td>
|
||||
<td class="paramname"><em>x</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Returns the number of leading zeros. </p>
|
||||
<p>From GLM_GTX_integer extension. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga0073d991d1c9c9a37b458eb512535fc8"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">int glm::pow </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">int </td>
|
||||
<td class="paramname"><em>x</em>, </td>
|
||||
<td class="paramtype">genType const & </td>
|
||||
<td class="paramname"><em>orig</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">int </td>
|
||||
<td class="paramname"><em>y</em> </td>
|
||||
<td class="paramtype">genType const & </td>
|
||||
<td class="paramname"><em>dir</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">genType const & </td>
|
||||
<td class="paramname"><em>planeOrig</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">genType const & </td>
|
||||
<td class="paramname"><em>planeNormal</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">typename genType::value_type & </td>
|
||||
<td class="paramname"><em>intersectionDistance</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
@@ -255,26 +228,44 @@ Functions</h2></td></tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Returns x raised to the y power. </p>
|
||||
<p>From GLM_GTX_integer extension. </p>
|
||||
<p>Compute the intersection of a ray and a triangle. </p>
|
||||
<p>Ray direction and plane normal must be unit length. From GLM_GTX_intersect extension. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="gaaff5d34714236dbeddd49e4ecb045abc"></a>
|
||||
<a class="anchor" id="gac88f8cd84c4bcb5b947d56acbbcfa56e"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">uint glm::pow </td>
|
||||
<td class="memname">GLM_FUNC_DECL bool glm::intersectRaySphere </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">uint </td>
|
||||
<td class="paramname"><em>x</em>, </td>
|
||||
<td class="paramtype">genType const & </td>
|
||||
<td class="paramname"><em>rayStarting</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">uint </td>
|
||||
<td class="paramname"><em>y</em> </td>
|
||||
<td class="paramtype">genType const & </td>
|
||||
<td class="paramname"><em>rayNormalizedDirection</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">genType const & </td>
|
||||
<td class="paramname"><em>sphereCenter</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">typename genType::value_type const </td>
|
||||
<td class="paramname"><em>sphereRadiusSquered</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">typename genType::value_type & </td>
|
||||
<td class="paramname"><em>intersectionDistance</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
@@ -284,46 +275,114 @@ Functions</h2></td></tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Returns x raised to the y power. </p>
|
||||
<p>From GLM_GTX_integer extension. </p>
|
||||
<p>Compute the intersection distance of a ray and a sphere. </p>
|
||||
<p>The ray direction vector is unit length. From GLM_GTX_intersect extension. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga6aad88cb883810890ac2b68000c544c1"></a>
|
||||
<a class="anchor" id="gad28c00515b823b579c608aafa1100c1d"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">int glm::sqrt </td>
|
||||
<td class="memname">GLM_FUNC_DECL bool glm::intersectRaySphere </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">int </td>
|
||||
<td class="paramname"><em>x</em></td><td>)</td>
|
||||
<td class="paramtype">genType const & </td>
|
||||
<td class="paramname"><em>rayStarting</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">genType const & </td>
|
||||
<td class="paramname"><em>rayNormalizedDirection</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">genType const & </td>
|
||||
<td class="paramname"><em>sphereCenter</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">const typename genType::value_type </td>
|
||||
<td class="paramname"><em>sphereRadius</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">genType & </td>
|
||||
<td class="paramname"><em>intersectionPosition</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">genType & </td>
|
||||
<td class="paramname"><em>intersectionNormal</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Returns the positive square root of x. </p>
|
||||
<p>From GLM_GTX_integer extension. </p>
|
||||
<p>Compute the intersection of a ray and a sphere. </p>
|
||||
<p>From GLM_GTX_intersect extension. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="gafb4f8acb2b577775e2ef1a86e7312340"></a>
|
||||
<a class="anchor" id="gab16c1b47c10451e7604b51b39a7ef21d"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">uint glm::sqrt </td>
|
||||
<td class="memname">GLM_FUNC_DECL bool glm::intersectRayTriangle </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">uint </td>
|
||||
<td class="paramname"><em>x</em></td><td>)</td>
|
||||
<td class="paramtype">genType const & </td>
|
||||
<td class="paramname"><em>orig</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">genType const & </td>
|
||||
<td class="paramname"><em>dir</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">genType const & </td>
|
||||
<td class="paramname"><em>vert0</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">genType const & </td>
|
||||
<td class="paramname"><em>vert1</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">genType const & </td>
|
||||
<td class="paramname"><em>vert2</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">genType & </td>
|
||||
<td class="paramname"><em>baryPosition</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Returns the positive square root of x. </p>
|
||||
<p>From GLM_GTX_integer extension. </p>
|
||||
<p>Compute the intersection of a ray and a triangle. </p>
|
||||
<p>From GLM_GTX_intersect extension. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -332,7 +391,7 @@ Functions</h2></td></tr>
|
||||
<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.8.5
|
||||
</a> 1.8.8
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user