glm/doc/api-0.9.3/a00211.html

178 lines
21 KiB
HTML
Raw Normal View History

2011-10-24 14:24:48 +00:00
<!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>GLM_GTX_random: Random</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
2011-11-12 23:26:02 +00:00
<!-- Generated by Doxygen 1.7.3 -->
2011-10-24 14:24:48 +00:00
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
2011-11-12 23:26:02 +00:00
<td id="projectlogo"><img alt="Logo" src="logo-mini.png"></td>
2011-10-24 14:24:48 +00:00
</tr>
</tbody>
</table>
</div>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
2011-11-12 23:26:02 +00:00
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
2011-10-24 14:24:48 +00:00
<li><a href="modules.html"><span>Modules</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">
2011-11-12 23:26:02 +00:00
<h1>GLM_GTX_random: Random</h1> </div>
<div class="ingroups"><a class="el" href="a00152.html">GTX Extensions (Experimental)</a></div></div>
2011-10-24 14:24:48 +00:00
<div class="contents">
<p>Generate random number from various distribution methods.
2011-11-12 23:26:02 +00:00
<a href="#_details">More...</a></p>
2011-10-24 14:24:48 +00:00
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga31930fcaab3480065cea3505e503eec9"></a><!-- doxytag: member="gtx_random::compRand1" ref="ga31930fcaab3480065cea3505e503eec9" args="()" -->
2011-10-24 14:24:48 +00:00
template&lt;typename T &gt; </td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00211.html#ga31930fcaab3480065cea3505e503eec9">compRand1</a> ()</td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga07f40e736608c2bcf0d4f6a40aea5967"></a><!-- doxytag: member="gtx_random::compRand1" ref="ga07f40e736608c2bcf0d4f6a40aea5967" args="(T Min, T Max)" -->
2011-10-24 14:24:48 +00:00
template&lt;typename T &gt; </td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00211.html#ga07f40e736608c2bcf0d4f6a40aea5967">compRand1</a> (T Min, T Max)</td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="gaf2aca3b78f39e0336936f01ce374443f"></a><!-- doxytag: member="gtx_random::compRand2" ref="gaf2aca3b78f39e0336936f01ce374443f" args="(T Min, T Max)" -->
2011-10-24 14:24:48 +00:00
template&lt;typename T &gt; </td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tvec2&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00211.html#gaf2aca3b78f39e0336936f01ce374443f">compRand2</a> (T Min, T Max)</td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="gaad4ced272c0b3e8bc88f474e7e7f077a"></a><!-- doxytag: member="gtx_random::compRand2" ref="gaad4ced272c0b3e8bc88f474e7e7f077a" args="(const detail::tvec2&lt; T &gt; &amp;Min, const detail::tvec2&lt; T &gt; &amp;Max)" -->
2011-10-24 14:24:48 +00:00
template&lt;typename T &gt; </td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tvec2&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00211.html#gaad4ced272c0b3e8bc88f474e7e7f077a">compRand2</a> (const detail::tvec2&lt; T &gt; &amp;Min, const detail::tvec2&lt; T &gt; &amp;Max)</td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="gad23db192edaf665db9144fb3198829a6"></a><!-- doxytag: member="gtx_random::compRand3" ref="gad23db192edaf665db9144fb3198829a6" args="(T Min, T Max)" -->
2011-10-24 14:24:48 +00:00
template&lt;typename T &gt; </td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tvec3&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00211.html#gad23db192edaf665db9144fb3198829a6">compRand3</a> (T Min, T Max)</td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga0a6619d0280004edac3884641aefd1ec"></a><!-- doxytag: member="gtx_random::compRand3" ref="ga0a6619d0280004edac3884641aefd1ec" args="(const detail::tvec3&lt; T &gt; &amp;Min, const detail::tvec3&lt; T &gt; &amp;Max)" -->
2011-10-24 14:24:48 +00:00
template&lt;typename T &gt; </td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tvec3&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00211.html#ga0a6619d0280004edac3884641aefd1ec">compRand3</a> (const detail::tvec3&lt; T &gt; &amp;Min, const detail::tvec3&lt; T &gt; &amp;Max)</td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="gaa7acc7aa2589385c31aca3ebf30be692"></a><!-- doxytag: member="gtx_random::compRand4" ref="gaa7acc7aa2589385c31aca3ebf30be692" args="(const detail::tvec4&lt; T &gt; &amp;Min, const detail::tvec4&lt; T &gt; &amp;Max)" -->
2011-10-24 14:24:48 +00:00
template&lt;typename T &gt; </td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tvec3&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00211.html#gaa7acc7aa2589385c31aca3ebf30be692">compRand4</a> (const detail::tvec4&lt; T &gt; &amp;Min, const detail::tvec4&lt; T &gt; &amp;Max)</td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="gae49d5dbe000145870044ce6ad4cb0c7f"></a><!-- doxytag: member="gtx_random::compRand4" ref="gae49d5dbe000145870044ce6ad4cb0c7f" args="(T Min, T Max)" -->
2011-10-24 14:24:48 +00:00
template&lt;typename T &gt; </td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tvec4&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00211.html#gae49d5dbe000145870044ce6ad4cb0c7f">compRand4</a> (T Min, T Max)</td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="gaaa22bdcc88503b9cb22d241e7525af3d"></a><!-- doxytag: member="gtx_random::gaussRand1" ref="gaaa22bdcc88503b9cb22d241e7525af3d" args="(T mean, T std_deviation)" -->
2011-10-24 14:24:48 +00:00
template&lt;typename T &gt; </td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00211.html#gaaa22bdcc88503b9cb22d241e7525af3d">gaussRand1</a> (T mean, T std_deviation)</td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga52deeefc9941716725333ec0d729eef3"></a><!-- doxytag: member="gtx_random::gaussRand2" ref="ga52deeefc9941716725333ec0d729eef3" args="(const detail::tvec2&lt; T &gt; &amp;mean, const detail::tvec2&lt; T &gt; &amp;std_deviation)" -->
2011-10-24 14:24:48 +00:00
template&lt;typename T &gt; </td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tvec2&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00211.html#ga52deeefc9941716725333ec0d729eef3">gaussRand2</a> (const detail::tvec2&lt; T &gt; &amp;mean, const detail::tvec2&lt; T &gt; &amp;std_deviation)</td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="gad6f4f24132b9423e3cc3775083575b1d"></a><!-- doxytag: member="gtx_random::gaussRand2" ref="gad6f4f24132b9423e3cc3775083575b1d" args="(T mean, T std_deviation)" -->
2011-10-24 14:24:48 +00:00
template&lt;typename T &gt; </td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tvec2&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00211.html#gad6f4f24132b9423e3cc3775083575b1d">gaussRand2</a> (T mean, T std_deviation)</td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga76ebf05c84e63b5ecc47b03080a18518"></a><!-- doxytag: member="gtx_random::gaussRand2" ref="ga76ebf05c84e63b5ecc47b03080a18518" args="(const detail::tvec2&lt; T &gt; &amp;mean, T std_deviation)" -->
2011-10-24 14:24:48 +00:00
template&lt;typename T &gt; </td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tvec2&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00211.html#ga76ebf05c84e63b5ecc47b03080a18518">gaussRand2</a> (const detail::tvec2&lt; T &gt; &amp;mean, T std_deviation)</td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga3e9368d7f5eaff3d975d4ca934be85dc"></a><!-- doxytag: member="gtx_random::gaussRand2" ref="ga3e9368d7f5eaff3d975d4ca934be85dc" args="(T mean, const detail::tvec2&lt; T &gt; &amp;std_deviation)" -->
2011-10-24 14:24:48 +00:00
template&lt;typename T &gt; </td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tvec2&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00211.html#ga3e9368d7f5eaff3d975d4ca934be85dc">gaussRand2</a> (T mean, const detail::tvec2&lt; T &gt; &amp;std_deviation)</td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga5ab7572c8ad670c7470e4dd738d97f9d"></a><!-- doxytag: member="gtx_random::gaussRand3" ref="ga5ab7572c8ad670c7470e4dd738d97f9d" args="(const detail::tvec3&lt; T &gt; &amp;mean, const detail::tvec3&lt; T &gt; &amp;std_deviation)" -->
2011-10-24 14:24:48 +00:00
template&lt;typename T &gt; </td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tvec3&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00211.html#ga5ab7572c8ad670c7470e4dd738d97f9d">gaussRand3</a> (const detail::tvec3&lt; T &gt; &amp;mean, const detail::tvec3&lt; T &gt; &amp;std_deviation)</td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga39ea20df78a4430afa6a808ed625d0c0"></a><!-- doxytag: member="gtx_random::gaussRand3" ref="ga39ea20df78a4430afa6a808ed625d0c0" args="(T mean, T std_deviation)" -->
2011-10-24 14:24:48 +00:00
template&lt;typename T &gt; </td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tvec3&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00211.html#ga39ea20df78a4430afa6a808ed625d0c0">gaussRand3</a> (T mean, T std_deviation)</td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga0d2402e470a13c21f0c1beae1769aea8"></a><!-- doxytag: member="gtx_random::gaussRand3" ref="ga0d2402e470a13c21f0c1beae1769aea8" args="(const detail::tvec3&lt; T &gt; &amp;mean, T std_deviation)" -->
2011-10-24 14:24:48 +00:00
template&lt;typename T &gt; </td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tvec3&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00211.html#ga0d2402e470a13c21f0c1beae1769aea8">gaussRand3</a> (const detail::tvec3&lt; T &gt; &amp;mean, T std_deviation)</td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="gaa1a66a3c5662f20da8f4f6b2c43b1b61"></a><!-- doxytag: member="gtx_random::gaussRand3" ref="gaa1a66a3c5662f20da8f4f6b2c43b1b61" args="(T mean, const detail::tvec3&lt; T &gt; &amp;std_deviation)" -->
2011-10-24 14:24:48 +00:00
template&lt;typename T &gt; </td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tvec3&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00211.html#gaa1a66a3c5662f20da8f4f6b2c43b1b61">gaussRand3</a> (T mean, const detail::tvec3&lt; T &gt; &amp;std_deviation)</td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="gac0883140cb1a1fc67ff3008d73617d79"></a><!-- doxytag: member="gtx_random::gaussRand4" ref="gac0883140cb1a1fc67ff3008d73617d79" args="(T mean, T std_deviation)" -->
2011-10-24 14:24:48 +00:00
template&lt;typename T &gt; </td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tvec4&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00211.html#gac0883140cb1a1fc67ff3008d73617d79">gaussRand4</a> (T mean, T std_deviation)</td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="gadb97381056f44a75e955e5aa26de6db4"></a><!-- doxytag: member="gtx_random::gaussRand4" ref="gadb97381056f44a75e955e5aa26de6db4" args="(T mean, const detail::tvec4&lt; T &gt; &amp;std_deviation)" -->
2011-10-24 14:24:48 +00:00
template&lt;typename T &gt; </td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tvec4&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00211.html#gadb97381056f44a75e955e5aa26de6db4">gaussRand4</a> (T mean, const detail::tvec4&lt; T &gt; &amp;std_deviation)</td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga782a40c2ef65ff3bde45ee90b22015c6"></a><!-- doxytag: member="gtx_random::gaussRand4" ref="ga782a40c2ef65ff3bde45ee90b22015c6" args="(const detail::tvec4&lt; T &gt; &amp;mean, const detail::tvec4&lt; T &gt; &amp;std_deviation)" -->
2011-10-24 14:24:48 +00:00
template&lt;typename T &gt; </td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tvec4&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00211.html#ga782a40c2ef65ff3bde45ee90b22015c6">gaussRand4</a> (const detail::tvec4&lt; T &gt; &amp;mean, const detail::tvec4&lt; T &gt; &amp;std_deviation)</td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga24c266b92edd0355459424d1bd65f696"></a><!-- doxytag: member="gtx_random::gaussRand4" ref="ga24c266b92edd0355459424d1bd65f696" args="(const detail::tvec4&lt; T &gt; &amp;mean, T std_deviation)" -->
2011-10-24 14:24:48 +00:00
template&lt;typename T &gt; </td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tvec4&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00211.html#ga24c266b92edd0355459424d1bd65f696">gaussRand4</a> (const detail::tvec4&lt; T &gt; &amp;mean, T std_deviation)</td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="gaee7f9823eade12a75e6c322b1fc4bd85"></a><!-- doxytag: member="gtx_random::normalizedRand2" ref="gaee7f9823eade12a75e6c322b1fc4bd85" args="()" -->
2011-10-24 14:24:48 +00:00
template&lt;typename T &gt; </td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tvec2&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00211.html#gaee7f9823eade12a75e6c322b1fc4bd85">normalizedRand2</a> ()</td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga61eb10531e67e8e2d75579142ee5d827"></a><!-- doxytag: member="gtx_random::normalizedRand2" ref="ga61eb10531e67e8e2d75579142ee5d827" args="(T Min, T Max)" -->
2011-10-24 14:24:48 +00:00
template&lt;typename T &gt; </td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tvec2&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00211.html#ga61eb10531e67e8e2d75579142ee5d827">normalizedRand2</a> (T Min, T Max)</td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga66d6013d8212ab2a4f9d1353618def9e"></a><!-- doxytag: member="gtx_random::normalizedRand3" ref="ga66d6013d8212ab2a4f9d1353618def9e" args="(T Min, T Max)" -->
2011-10-24 14:24:48 +00:00
template&lt;typename T &gt; </td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tvec3&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00211.html#ga66d6013d8212ab2a4f9d1353618def9e">normalizedRand3</a> (T Min, T Max)</td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="gacfe906615f25a969ff96862436b3a6c2"></a><!-- doxytag: member="gtx_random::normalizedRand3" ref="gacfe906615f25a969ff96862436b3a6c2" args="()" -->
2011-10-24 14:24:48 +00:00
template&lt;typename T &gt; </td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tvec3&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00211.html#gacfe906615f25a969ff96862436b3a6c2">normalizedRand3</a> ()</td></tr>
2011-10-24 14:24:48 +00:00
<tr><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00211.html#ga218a1af6f744e33c8066857746f49075">signedRand1</a> ()</td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="gaa9200c83346d3386a420e63107f529e3"></a><!-- doxytag: member="gtx_random::signedRand2" ref="gaa9200c83346d3386a420e63107f529e3" args="()" -->
2011-10-24 14:24:48 +00:00
template&lt;typename T &gt; </td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tvec2&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00211.html#gaa9200c83346d3386a420e63107f529e3">signedRand2</a> ()</td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga0db9ea5e8bd05083ae3d26270101cdf5"></a><!-- doxytag: member="gtx_random::signedRand3" ref="ga0db9ea5e8bd05083ae3d26270101cdf5" args="()" -->
2011-10-24 14:24:48 +00:00
template&lt;typename T &gt; </td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tvec3&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00211.html#ga0db9ea5e8bd05083ae3d26270101cdf5">signedRand3</a> ()</td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga0c31c8d3c112013d7a6a95bbc1219998"></a><!-- doxytag: member="gtx_random::signedRand4" ref="ga0c31c8d3c112013d7a6a95bbc1219998" args="()" -->
2011-10-24 14:24:48 +00:00
template&lt;typename T &gt; </td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tvec4&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00211.html#ga0c31c8d3c112013d7a6a95bbc1219998">signedRand4</a> ()</td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga5c763077eb0de671bb26456aa3845176"></a><!-- doxytag: member="gtx_random::vecRand2" ref="ga5c763077eb0de671bb26456aa3845176" args="()" -->
2011-10-24 14:24:48 +00:00
template&lt;typename T &gt; </td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tvec2&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00211.html#ga5c763077eb0de671bb26456aa3845176">vecRand2</a> ()</td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga5cccb8936f390b7f279e573784b1e007"></a><!-- doxytag: member="gtx_random::vecRand2" ref="ga5cccb8936f390b7f279e573784b1e007" args="(T MinRadius, T MaxRadius)" -->
2011-10-24 14:24:48 +00:00
template&lt;typename T &gt; </td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tvec2&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00211.html#ga5cccb8936f390b7f279e573784b1e007">vecRand2</a> (T MinRadius, T MaxRadius)</td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga451820a46dc2cc4cee6ba1ec1f1ec67c"></a><!-- doxytag: member="gtx_random::vecRand3" ref="ga451820a46dc2cc4cee6ba1ec1f1ec67c" args="()" -->
2011-10-24 14:24:48 +00:00
template&lt;typename T &gt; </td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tvec3&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00211.html#ga451820a46dc2cc4cee6ba1ec1f1ec67c">vecRand3</a> ()</td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="gab4898c30ba9c56fd2f544db8a790a798"></a><!-- doxytag: member="gtx_random::vecRand3" ref="gab4898c30ba9c56fd2f544db8a790a798" args="(T MinRadius, T MaxRadius)" -->
2011-10-24 14:24:48 +00:00
template&lt;typename T &gt; </td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tvec3&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00211.html#gab4898c30ba9c56fd2f544db8a790a798">vecRand3</a> (T MinRadius, T MaxRadius)</td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga20d5ddc9745a50876111110024040ec7"></a><!-- doxytag: member="gtx_random::vecRand4" ref="ga20d5ddc9745a50876111110024040ec7" args="(T MinRadius, T MaxRadius)" -->
2011-10-24 14:24:48 +00:00
template&lt;typename T &gt; </td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tvec4&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00211.html#ga20d5ddc9745a50876111110024040ec7">vecRand4</a> (T MinRadius, T MaxRadius)</td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="gaf4a7a33230dd443e0f6e7e141134c869"></a><!-- doxytag: member="gtx_random::vecRand4" ref="gaf4a7a33230dd443e0f6e7e141134c869" args="()" -->
2011-10-24 14:24:48 +00:00
template&lt;typename T &gt; </td></tr>
2011-11-12 23:26:02 +00:00
<tr><td class="memTemplItemLeft" align="right" valign="top">detail::tvec4&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00211.html#gaf4a7a33230dd443e0f6e7e141134c869">vecRand4</a> ()</td></tr>
2011-10-24 14:24:48 +00:00
</table>
2011-11-12 23:26:02 +00:00
<hr/><a name="_details"></a><h2>Detailed Description</h2>
2011-10-24 14:24:48 +00:00
<p>Generate random number from various distribution methods. </p>
2011-11-12 23:26:02 +00:00
<p>&lt;<a class="el" href="a00094.html" title="OpenGL Mathematics (glm.g-truc.net)">glm/gtx/random.hpp</a>&gt; need to be included to use these functionalities. </p>
2011-10-24 14:24:48 +00:00
<hr/><h2>Function Documentation</h2>
2011-11-12 23:26:02 +00:00
<a class="anchor" id="ga218a1af6f744e33c8066857746f49075"></a><!-- doxytag: member="glm::signedRand1" ref="ga218a1af6f744e33c8066857746f49075" args="()" -->
2011-10-24 14:24:48 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2011-11-12 23:26:02 +00:00
<td class="memname">T glm::signedRand1 </td>
2011-10-24 14:24:48 +00:00
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Generate a random number in the interval [-1, 1], according a linear distribution. </p>
<p>From GLM_GTX_random extension. </p>
</div>
</div>
</div>
<hr class="footer"/><address class="footer"><small>Generated by&#160;
<a href="http://www.doxygen.org/index.html">
2011-11-12 23:26:02 +00:00
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
2011-10-24 14:24:48 +00:00
</body>
</html>