mirror of
https://github.com/g-truc/glm.git
synced 2024-12-01 20:24:38 +00:00
153 lines
7.3 KiB
HTML
153 lines
7.3 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>GLM: glm::gtx::unsigned_int Namespace Reference</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.6.1 -->
|
||
|
<div class="navigation" id="top">
|
||
|
<div class="tabs">
|
||
|
<ul>
|
||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||
|
<li class="current"><a href="namespaces.html"><span>Namespaces</span></a></li>
|
||
|
<li><a href="files.html"><span>Files</span></a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="tabs">
|
||
|
<ul>
|
||
|
<li><a href="namespaces.html"><span>Namespace List</span></a></li>
|
||
|
<li><a href="namespacemembers.html"><span>Namespace Members</span></a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="navpath"><a class="el" href="a00124.html">glm</a>::<a class="el" href="a00150.html">gtx</a>::<a class="el" href="a00211.html">unsigned_int</a>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="contents">
|
||
|
<h1>glm::gtx::unsigned_int Namespace Reference</h1>
|
||
|
<p>GLM_GTX_unsigned_int extension: Add support for unsigned <a class="el" href="a00173.html" title="GLM_GTX_integer extension: Add support for integer for core functions.">integer</a> for <a class="el" href="a00125.html" title="GLM core. Namespace that includes all the feature define by GLSL 1.30.8 specification...">core</a> functions.
|
||
|
<a href="#_details">More...</a></p>
|
||
|
<table border="0" cellpadding="0" cellspacing="0">
|
||
|
<tr><td colspan="2"><h2>Typedefs</h2></td></tr>
|
||
|
<tr><td class="memItemLeft" align="right" valign="top">typedef signed int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00211.html#ada7e83fdfe943aba4f1d5bf80cb66f40">sint</a></td></tr>
|
||
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">32bit signed <a class="el" href="a00173.html" title="GLM_GTX_integer extension: Add support for integer for core functions.">integer</a>. <a href="#ada7e83fdfe943aba4f1d5bf80cb66f40"></a><br/></td></tr>
|
||
|
<tr><td colspan="2"><h2>Functions</h2></td></tr>
|
||
|
<tr><td class="memItemLeft" align="right" valign="top">uint </td><td class="memItemRight" valign="bottom"><a class="el" href="a00211.html#a61b96cbe026915bfa3f471d7d1e8d0e7">mod</a> (uint x, uint y)</td></tr>
|
||
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Modulus. <a href="#a61b96cbe026915bfa3f471d7d1e8d0e7"></a><br/></td></tr>
|
||
|
<tr><td class="memItemLeft" align="right" valign="top">uint </td><td class="memItemRight" valign="bottom"><a class="el" href="a00211.html#a9f8b197b576d9b2f0b5bfe63dc1f638f">pow</a> (uint x, uint y)</td></tr>
|
||
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns x raised to the y power. <a href="#a9f8b197b576d9b2f0b5bfe63dc1f638f"></a><br/></td></tr>
|
||
|
<tr><td class="memItemLeft" align="right" valign="top">uint </td><td class="memItemRight" valign="bottom"><a class="el" href="a00211.html#a0fe1b8123e6661dda5969ee76a2b23df">sqrt</a> (uint x)</td></tr>
|
||
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the positive square root of x. <a href="#a0fe1b8123e6661dda5969ee76a2b23df"></a><br/></td></tr>
|
||
|
</table>
|
||
|
<hr/><a name="_details"></a><h2>Detailed Description</h2>
|
||
|
<p>GLM_GTX_unsigned_int extension: Add support for unsigned <a class="el" href="a00173.html" title="GLM_GTX_integer extension: Add support for integer for core functions.">integer</a> for <a class="el" href="a00125.html" title="GLM core. Namespace that includes all the feature define by GLSL 1.30.8 specification...">core</a> functions. </p>
|
||
|
<hr/><h2>Typedef Documentation</h2>
|
||
|
<a class="anchor" id="ada7e83fdfe943aba4f1d5bf80cb66f40"></a><!-- doxytag: member="glm::gtx::unsigned_int::sint" ref="ada7e83fdfe943aba4f1d5bf80cb66f40" args="" -->
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">typedef signed int <a class="el" href="a00211.html#ada7e83fdfe943aba4f1d5bf80cb66f40">sint</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div class="memdoc">
|
||
|
|
||
|
<p>32bit signed <a class="el" href="a00173.html" title="GLM_GTX_integer extension: Add support for integer for core functions.">integer</a>. </p>
|
||
|
<p>From GLM_GTX_unsigned_int extension. </p>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="a00116_source.html#l00033">33</a> of file <a class="el" href="a00116_source.html">unsigned_int.hpp</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<hr/><h2>Function Documentation</h2>
|
||
|
<a class="anchor" id="a61b96cbe026915bfa3f471d7d1e8d0e7"></a><!-- doxytag: member="glm::gtx::unsigned_int::mod" ref="a61b96cbe026915bfa3f471d7d1e8d0e7" args="(uint x, uint y)" -->
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">uint glm::gtx::unsigned_int::mod </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">uint </td>
|
||
|
<td class="paramname"> <em>x</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">uint </td>
|
||
|
<td class="paramname"> <em>y</em></td><td> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<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. From GLM_GTX_unsigned_int extension. </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a9f8b197b576d9b2f0b5bfe63dc1f638f"></a><!-- doxytag: member="glm::gtx::unsigned_int::pow" ref="a9f8b197b576d9b2f0b5bfe63dc1f638f" args="(uint x, uint y)" -->
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">uint glm::gtx::unsigned_int::pow </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">uint </td>
|
||
|
<td class="paramname"> <em>x</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">uint </td>
|
||
|
<td class="paramname"> <em>y</em></td><td> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div class="memdoc">
|
||
|
|
||
|
<p>Returns x raised to the y power. </p>
|
||
|
<p>From GLM_GTX_unsigned_int extension. </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a0fe1b8123e6661dda5969ee76a2b23df"></a><!-- doxytag: member="glm::gtx::unsigned_int::sqrt" ref="a0fe1b8123e6661dda5969ee76a2b23df" args="(uint x)" -->
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">uint glm::gtx::unsigned_int::sqrt </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 positive square root of x. </p>
|
||
|
<p>From GLM_GTX_unsigned_int extension. </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<hr size="1"/><address style="text-align: right;"><small>Generated on Mon Nov 16 11:23:25 2009 for GLM by
|
||
|
<a href="http://www.doxygen.org/index.html">
|
||
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
|
||
|
</body>
|
||
|
</html>
|