Updated API documentation
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<title>func_packing.hpp Source File</title>
|
||||
<meta name="generator" content="Doxygen 1.8.5"/>
|
||||
<title>GLM: func_common.hpp Source File</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>
|
||||
@@ -15,18 +16,23 @@
|
||||
<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>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.2 -->
|
||||
<!-- Generated by Doxygen 1.8.5 -->
|
||||
<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 class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
@@ -37,91 +43,196 @@
|
||||
</div>
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_934f46a345653ef2b3014a1b37a162c1.html">G:</a></li><li class="navelem"><a class="el" href="dir_bf513233250988b6ff3b72f8482c1597.html">Repository</a></li><li class="navelem"><a class="el" href="dir_e217bba5d90990da93f61f0ea8b942dc.html">glm</a></li><li class="navelem"><a class="el" href="dir_a844bf6d5a07b8853f8463b41029861e.html">glm</a></li><li class="navelem"><a class="el" href="dir_61748fa02e1156ca28a06d1638c8a86e.html">core</a></li> </ul>
|
||||
<li class="navelem"><a class="el" href="dir_8ceffd4ee35c3518d4e8bdc7e638efe8.html">Users</a></li><li class="navelem"><a class="el" href="dir_968fb7988749a6351e7b3d0c1783dec4.html">Groove</a></li><li class="navelem"><a class="el" href="dir_6e418c18ca640a0404613de005739e2e.html">Documents</a></li><li class="navelem"><a class="el" href="dir_e3ecd7863bd215c92a17f47e2ae3be43.html">GitHub</a></li><li class="navelem"><a class="el" href="dir_edf753475b928be648c1cf1c6443cf63.html">glm</a></li><li class="navelem"><a class="el" href="dir_e50778361fd4ab4de52181ed9eb2b726.html">glm</a></li><li class="navelem"><a class="el" href="dir_4d1ca7e3aefdd5b86b5dba8da1c3d503.html">detail</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">func_packing.hpp</div> </div>
|
||||
<div class="title">func_common.hpp</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<a href="a00032.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> </div>
|
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> </div>
|
||||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> </div>
|
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> </div>
|
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> </div>
|
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> </div>
|
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> </div>
|
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> </div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> </div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> </div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> </div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> </div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> </div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> </div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> </div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor">#ifndef GLM_CORE_func_packing</span></div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor"></span><span class="preprocessor">#define GLM_CORE_func_packing GLM_VERSION</span></div>
|
||||
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> </div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor">#ifndef GLM_FUNC_COMMON_INCLUDED</span></div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor"></span><span class="preprocessor">#define GLM_FUNC_COMMON_INCLUDED</span></div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="keyword">namespace </span>glm</div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> {</div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> </div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  detail::uint32 <a class="code" href="a00135.html#gae4cbe68e49e238fce5bf83c2ab03746c" title="First, converts each component of the normalized floating-point value v into 8- or 16-bit integer val...">packUnorm2x16</a>(detail::tvec2<detail::float32> <span class="keyword">const</span> & v);</div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> </div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  detail::uint32 <a class="code" href="a00135.html#ga85552b13309c20c90a43fcf4906e6314" title="First, converts each component of the normalized floating-point value v into 8- or 16-bit integer val...">packSnorm2x16</a>(detail::tvec2<detail::float32> <span class="keyword">const</span> & v);</div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span> </div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  detail::uint32 <a class="code" href="a00135.html#ga58d4ebc6f2824dcbcef73e3764339ea4" title="First, converts each component of the normalized floating-point value v into 8- or 16-bit integer val...">packUnorm4x8</a>(detail::tvec4<detail::float32> <span class="keyword">const</span> & v);</div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> </div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  detail::uint32 <a class="code" href="a00135.html#gaa9d1bf79e69382e55eb3adf51f978afd" title="First, converts each component of the normalized floating-point value v into 8- or 16-bit integer val...">packSnorm4x8</a>(detail::tvec4<detail::float32> <span class="keyword">const</span> & v);</div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span> </div>
|
||||
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  detail::tvec2<detail::float32> <a class="code" href="a00135.html#gad146587dbc78ae05c48b8b0e7af7e640" title="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.">unpackUnorm2x16</a>(detail::uint32 <span class="keyword">const</span> & p);</div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor">#include "setup.hpp"</span></div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor">#include "_fixes.hpp"</span></div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="keyword">namespace </span>glm</div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> {</div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> </div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  GLM_FUNC_DECL genType <a class="code" href="a00155.html#gaea946f96ec1df259802effe9f532e1c1">abs</a>(genType <span class="keyword">const</span> & x);</div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> </div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  GLM_FUNC_DECL genType <a class="code" href="a00155.html#gaa7afd59ab947e313d41cb6d9c655a80c">sign</a>(genType <span class="keyword">const</span> & x);</div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  </div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  GLM_FUNC_DECL genType <a class="code" href="a00155.html#ga86350252cc9bf86421317460bbd1f21c">floor</a>(genType <span class="keyword">const</span> & x);</div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> </div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  GLM_FUNC_DECL genType <a class="code" href="a00155.html#gadb091aed51e45872f6dc841affa41c5c">trunc</a>(genType <span class="keyword">const</span> & x);</div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span> </div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  GLM_FUNC_DECL genType <a class="code" href="a00155.html#ga75ebab3fe88a9c5c769135cf5a2649ef">round</a>(genType <span class="keyword">const</span> & x);</div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  </div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
||||
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  GLM_FUNC_DECL genType <a class="code" href="a00155.html#ga6535952553479a4bbca7f1f12a011b17">roundEven</a>(genType <span class="keyword">const</span> & x);</div>
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span> </div>
|
||||
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  detail::tvec2<detail::float32> <a class="code" href="a00135.html#gaaf9e09346412610f361fa17a1e502090" title="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.">unpackSnorm2x16</a>(detail::uint32 <span class="keyword">const</span> & p);</div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span> </div>
|
||||
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  detail::tvec4<detail::float32> <a class="code" href="a00135.html#gaeccbff725476f317b1464a0a0fae3be7" title="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.">unpackUnorm4x8</a>(detail::uint32 <span class="keyword">const</span> & p);</div>
|
||||
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span> </div>
|
||||
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  detail::tvec4<detail::float32> <a class="code" href="a00135.html#ga014513c3f058e755660f702b65559215" title="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.">unpackSnorm4x8</a>(detail::uint32 <span class="keyword">const</span> & p);</div>
|
||||
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span> </div>
|
||||
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <span class="keywordtype">double</span> <a class="code" href="a00135.html#gab7776e189f8fb8210dbaf4685f9d400a" title="Returns a double-precision value obtained by packing the components of v into a 64-bit value...">packDouble2x32</a>(detail::tvec2<detail::uint32> <span class="keyword">const</span> & v);</div>
|
||||
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span> </div>
|
||||
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  detail::tvec2<detail::uint32> <a class="code" href="a00135.html#gadfbce841431cb5fb8531469a6c1e01d9" title="Returns a two-component unsigned integer vector representation of v.">unpackDouble2x32</a>(<span class="keywordtype">double</span> <span class="keyword">const</span> & v);</div>
|
||||
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span> </div>
|
||||
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  <a class="code" href="a00143.html#ga4d16da297112d05af72fc456a1c4f386" title="Unsigned integer type.">uint</a> <a class="code" href="a00135.html#ga5f63a9353416d3d240962520d5e77dbc" title="Returns an unsigned integer obtained by converting the components of a two-component floating-point v...">packHalf2x16</a>(<a class="code" href="a00142.html#ga80139c81aa2687717598312039cea8d1" title="2 components vector of floating-point numbers.">vec2</a> <span class="keyword">const</span> & v);</div>
|
||||
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  </div>
|
||||
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  <a class="code" href="a00142.html#ga80139c81aa2687717598312039cea8d1" title="2 components vector of floating-point numbers.">vec2</a> <a class="code" href="a00135.html#ga74e86400717e9a83f30ef8610a122daf" title="Returns a two-component floating-point vector with components obtained by unpacking a 32-bit unsigned...">unpackHalf2x16</a>(<a class="code" href="a00143.html#ga4d16da297112d05af72fc456a1c4f386" title="Unsigned integer type.">uint</a> <span class="keyword">const</span> & v);</div>
|
||||
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  </div>
|
||||
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span> }<span class="comment">//namespace glm</span></div>
|
||||
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span> </div>
|
||||
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span> <span class="preprocessor">#include "func_packing.inl"</span></div>
|
||||
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span> </div>
|
||||
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span> <span class="preprocessor">#endif//GLM_CORE_func_packing</span></div>
|
||||
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  GLM_FUNC_DECL genType <a class="code" href="a00155.html#gab81e02fff55c9391e28fa47e68c3c903">ceil</a>(genType <span class="keyword">const</span> & x);</div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> </div>
|
||||
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
||||
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  GLM_FUNC_DECL genType <a class="code" href="a00155.html#gad04ac2908d032d5518d5f6c8403dbc8b">fract</a>(genType <span class="keyword">const</span> & x);</div>
|
||||
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span> </div>
|
||||
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
||||
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  GLM_FUNC_DECL genType <a class="code" href="a00155.html#ga8cc8a75b05125fe1c30de43102ef42e1">mod</a>(</div>
|
||||
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  genType <span class="keyword">const</span> & x,</div>
|
||||
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  genType <span class="keyword">const</span> & y);</div>
|
||||
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span> </div>
|
||||
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
||||
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  GLM_FUNC_DECL genType <a class="code" href="a00155.html#ga8cc8a75b05125fe1c30de43102ef42e1">mod</a>(</div>
|
||||
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  genType <span class="keyword">const</span> & x,</div>
|
||||
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <span class="keyword">typename</span> genType::value_type <span class="keyword">const</span> & y);</div>
|
||||
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span> </div>
|
||||
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
||||
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  GLM_FUNC_DECL genType <a class="code" href="a00155.html#gae47da02eb07d660201c09a0df7298a05">modf</a>(</div>
|
||||
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  genType <span class="keyword">const</span> & x,</div>
|
||||
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  genType & i);</div>
|
||||
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span> </div>
|
||||
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
||||
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  GLM_FUNC_DECL genType <a class="code" href="a00155.html#ga3dc90dbd66c9ca1dd5625c93d9c50f02">min</a>(</div>
|
||||
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  genType <span class="keyword">const</span> & x,</div>
|
||||
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  genType <span class="keyword">const</span> & y);</div>
|
||||
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span> </div>
|
||||
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
||||
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  GLM_FUNC_DECL genType <a class="code" href="a00155.html#ga3dc90dbd66c9ca1dd5625c93d9c50f02">min</a>(</div>
|
||||
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  genType <span class="keyword">const</span> & x,</div>
|
||||
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  <span class="keyword">typename</span> genType::value_type <span class="keyword">const</span> & y);</div>
|
||||
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span> </div>
|
||||
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
||||
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  GLM_FUNC_DECL genType <a class="code" href="a00155.html#gaa228561a9da55898f8f72ad2403fafac">max</a>(</div>
|
||||
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  genType <span class="keyword">const</span> & x,</div>
|
||||
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  genType <span class="keyword">const</span> & y);</div>
|
||||
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span> </div>
|
||||
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
||||
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  GLM_FUNC_DECL genType <a class="code" href="a00155.html#gaa228561a9da55898f8f72ad2403fafac">max</a>(</div>
|
||||
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  genType <span class="keyword">const</span> & x,</div>
|
||||
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  <span class="keyword">typename</span> genType::value_type <span class="keyword">const</span> & y);</div>
|
||||
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span> </div>
|
||||
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
||||
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  GLM_FUNC_DECL genType <a class="code" href="a00155.html#ga72e9e213c84f06a329a2a838b51200f4">clamp</a>(</div>
|
||||
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  genType <span class="keyword">const</span> & x,</div>
|
||||
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  genType <span class="keyword">const</span> & minVal,</div>
|
||||
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  genType <span class="keyword">const</span> & maxVal);</div>
|
||||
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span> </div>
|
||||
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType, precision P></div>
|
||||
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  GLM_FUNC_DECL genType <a class="code" href="a00155.html#ga72e9e213c84f06a329a2a838b51200f4">clamp</a>(</div>
|
||||
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  genType <span class="keyword">const</span> & x,</div>
|
||||
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  <span class="keyword">typename</span> genType::value_type <span class="keyword">const</span> & minVal,</div>
|
||||
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  <span class="keyword">typename</span> genType::value_type <span class="keyword">const</span> & maxVal);</div>
|
||||
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span> </div>
|
||||
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genTypeT, <span class="keyword">typename</span> genTypeU></div>
|
||||
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  GLM_FUNC_DECL genTypeT <a class="code" href="a00155.html#ga78aae7eea618ca112053d59fe03db239">mix</a>(</div>
|
||||
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  genTypeT <span class="keyword">const</span> & x,</div>
|
||||
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  genTypeT <span class="keyword">const</span> & y,</div>
|
||||
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  genTypeU <span class="keyword">const</span> & a);</div>
|
||||
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span> </div>
|
||||
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
||||
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  GLM_FUNC_DECL genType <a class="code" href="a00155.html#gaf21c84759af7799f573865f70c2f0a86">step</a>(</div>
|
||||
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  genType <span class="keyword">const</span> & edge,</div>
|
||||
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  genType <span class="keyword">const</span> & x);</div>
|
||||
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span> </div>
|
||||
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  <span class="keyword">template</span> <<span class="keyword">template</span> <<span class="keyword">typename</span>, precision> <span class="keyword">class </span>vecType, <span class="keyword">typename</span> T, precision P></div>
|
||||
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  GLM_FUNC_DECL vecType<T, P> <a class="code" href="a00155.html#gaf21c84759af7799f573865f70c2f0a86">step</a>(</div>
|
||||
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  T <span class="keyword">const</span> & edge,</div>
|
||||
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  vecType<T, P> <span class="keyword">const</span> & x);</div>
|
||||
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span> </div>
|
||||
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
||||
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  GLM_FUNC_DECL genType <a class="code" href="a00155.html#ga754103c8d2cdaf40f71429252457c10a">smoothstep</a>(</div>
|
||||
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  genType <span class="keyword">const</span> & edge0,</div>
|
||||
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  genType <span class="keyword">const</span> & edge1,</div>
|
||||
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  genType <span class="keyword">const</span> & x);</div>
|
||||
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span> </div>
|
||||
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
||||
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  GLM_FUNC_DECL genType <a class="code" href="a00155.html#ga754103c8d2cdaf40f71429252457c10a">smoothstep</a>(</div>
|
||||
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  <span class="keyword">typename</span> genType::value_type <span class="keyword">const</span> & edge0,</div>
|
||||
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  <span class="keyword">typename</span> genType::value_type <span class="keyword">const</span> & edge1,</div>
|
||||
<div class="line"><a name="l00307"></a><span class="lineno"> 307</span>  genType <span class="keyword">const</span> & x);</div>
|
||||
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span> </div>
|
||||
<div class="line"><a name="l00321"></a><span class="lineno"> 321</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType> </div>
|
||||
<div class="line"><a name="l00322"></a><span class="lineno"> 322</span>  GLM_FUNC_DECL <span class="keyword">typename</span> genType::bool_type <a class="code" href="a00155.html#ga8a9dec5200888766fbcb51b6a5898728">isnan</a>(genType <span class="keyword">const</span> & x);</div>
|
||||
<div class="line"><a name="l00323"></a><span class="lineno"> 323</span> </div>
|
||||
<div class="line"><a name="l00334"></a><span class="lineno"> 334</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType> </div>
|
||||
<div class="line"><a name="l00335"></a><span class="lineno"> 335</span>  GLM_FUNC_DECL <span class="keyword">typename</span> genType::bool_type <a class="code" href="a00155.html#ga9fce6a337c7e8ad089b9dc17c70cb873">isinf</a>(genType <span class="keyword">const</span> & x);</div>
|
||||
<div class="line"><a name="l00336"></a><span class="lineno"> 336</span> </div>
|
||||
<div class="line"><a name="l00343"></a><span class="lineno"> 343</span>  GLM_FUNC_DECL <span class="keywordtype">int</span> <a class="code" href="a00155.html#ga1425c1c3160ec51214b03a0469a3013d">floatBitsToInt</a>(<span class="keywordtype">float</span> <span class="keyword">const</span> & v);</div>
|
||||
<div class="line"><a name="l00344"></a><span class="lineno"> 344</span> </div>
|
||||
<div class="line"><a name="l00351"></a><span class="lineno"> 351</span>  <span class="keyword">template</span> <<span class="keyword">template</span> <<span class="keyword">typename</span>, precision> <span class="keyword">class </span>vecType, precision P></div>
|
||||
<div class="line"><a name="l00352"></a><span class="lineno"> 352</span>  GLM_FUNC_DECL vecType<int, P> <a class="code" href="a00155.html#ga1425c1c3160ec51214b03a0469a3013d">floatBitsToInt</a>(vecType<float, P> <span class="keyword">const</span> & v);</div>
|
||||
<div class="line"><a name="l00353"></a><span class="lineno"> 353</span> </div>
|
||||
<div class="line"><a name="l00360"></a><span class="lineno"> 360</span>  GLM_FUNC_DECL <a class="code" href="a00169.html#ga91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> <a class="code" href="a00155.html#ga70e0271c34af52f3100c7960e18c3f2b">floatBitsToUint</a>(<span class="keywordtype">float</span> <span class="keyword">const</span> & v);</div>
|
||||
<div class="line"><a name="l00361"></a><span class="lineno"> 361</span> </div>
|
||||
<div class="line"><a name="l00368"></a><span class="lineno"> 368</span>  <span class="keyword">template</span> <<span class="keyword">template</span> <<span class="keyword">typename</span>, precision> <span class="keyword">class </span>vecType, precision P></div>
|
||||
<div class="line"><a name="l00369"></a><span class="lineno"> 369</span>  GLM_FUNC_DECL vecType<uint, P> <a class="code" href="a00155.html#ga70e0271c34af52f3100c7960e18c3f2b">floatBitsToUint</a>(vecType<float, P> <span class="keyword">const</span> & v);</div>
|
||||
<div class="line"><a name="l00370"></a><span class="lineno"> 370</span> </div>
|
||||
<div class="line"><a name="l00379"></a><span class="lineno"> 379</span>  GLM_FUNC_DECL <span class="keywordtype">float</span> <a class="code" href="a00155.html#ga4fb7c21c2dce064b26fd9ccdaf9adcd4">intBitsToFloat</a>(<span class="keywordtype">int</span> <span class="keyword">const</span> & v);</div>
|
||||
<div class="line"><a name="l00380"></a><span class="lineno"> 380</span> </div>
|
||||
<div class="line"><a name="l00389"></a><span class="lineno"> 389</span>  <span class="keyword">template</span> <<span class="keyword">template</span> <<span class="keyword">typename</span>, precision> <span class="keyword">class </span>vecType, precision P></div>
|
||||
<div class="line"><a name="l00390"></a><span class="lineno"> 390</span>  GLM_FUNC_DECL vecType<float, P> <a class="code" href="a00155.html#ga4fb7c21c2dce064b26fd9ccdaf9adcd4">intBitsToFloat</a>(vecType<int, P> <span class="keyword">const</span> & v);</div>
|
||||
<div class="line"><a name="l00391"></a><span class="lineno"> 391</span> </div>
|
||||
<div class="line"><a name="l00400"></a><span class="lineno"> 400</span>  GLM_FUNC_DECL <span class="keywordtype">float</span> <a class="code" href="a00155.html#gab2bae0d15dcdca6093f88f76b3975d97">uintBitsToFloat</a>(<a class="code" href="a00169.html#ga91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> <span class="keyword">const</span> & v);</div>
|
||||
<div class="line"><a name="l00401"></a><span class="lineno"> 401</span> </div>
|
||||
<div class="line"><a name="l00410"></a><span class="lineno"> 410</span>  <span class="keyword">template</span> <<span class="keyword">template</span> <<span class="keyword">typename</span>, precision> <span class="keyword">class </span>vecType, precision P></div>
|
||||
<div class="line"><a name="l00411"></a><span class="lineno"> 411</span>  GLM_FUNC_DECL vecType<float, P> <a class="code" href="a00155.html#gab2bae0d15dcdca6093f88f76b3975d97">uintBitsToFloat</a>(vecType<uint, P> <span class="keyword">const</span> & v);</div>
|
||||
<div class="line"><a name="l00412"></a><span class="lineno"> 412</span> </div>
|
||||
<div class="line"><a name="l00419"></a><span class="lineno"> 419</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
||||
<div class="line"><a name="l00420"></a><span class="lineno"> 420</span>  GLM_FUNC_DECL genType <a class="code" href="a00155.html#gad0f444d4b81cc53c3b6edf5aa25078c2">fma</a>(genType <span class="keyword">const</span> & a, genType <span class="keyword">const</span> & b, genType <span class="keyword">const</span> & c);</div>
|
||||
<div class="line"><a name="l00421"></a><span class="lineno"> 421</span> </div>
|
||||
<div class="line"><a name="l00436"></a><span class="lineno"> 436</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType, <span class="keyword">typename</span> genIType></div>
|
||||
<div class="line"><a name="l00437"></a><span class="lineno"> 437</span>  GLM_FUNC_DECL genType <a class="code" href="a00155.html#ga20620e83544d1a988857a3bc4ebe0e1d">frexp</a>(genType <span class="keyword">const</span> & x, genIType & <a class="code" href="a00156.html#gae154699ba6bda068d4b87cf9b987381f">exp</a>);</div>
|
||||
<div class="line"><a name="l00438"></a><span class="lineno"> 438</span> </div>
|
||||
<div class="line"><a name="l00450"></a><span class="lineno"> 450</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType, <span class="keyword">typename</span> genIType></div>
|
||||
<div class="line"><a name="l00451"></a><span class="lineno"> 451</span>  GLM_FUNC_DECL genType <a class="code" href="a00155.html#ga52e319d7289b849ec92055abd4830533">ldexp</a>(genType <span class="keyword">const</span> & x, genIType <span class="keyword">const</span> & <a class="code" href="a00156.html#gae154699ba6bda068d4b87cf9b987381f">exp</a>);</div>
|
||||
<div class="line"><a name="l00452"></a><span class="lineno"> 452</span> </div>
|
||||
<div class="line"><a name="l00454"></a><span class="lineno"> 454</span> }<span class="comment">//namespace glm</span></div>
|
||||
<div class="line"><a name="l00455"></a><span class="lineno"> 455</span> </div>
|
||||
<div class="line"><a name="l00456"></a><span class="lineno"> 456</span> <span class="preprocessor">#include "func_common.inl"</span></div>
|
||||
<div class="line"><a name="l00457"></a><span class="lineno"> 457</span> </div>
|
||||
<div class="line"><a name="l00458"></a><span class="lineno"> 458</span> <span class="preprocessor">#endif//GLM_FUNC_COMMON_INCLUDED</span></div>
|
||||
<div class="ttc" id="a00155_html_ga86350252cc9bf86421317460bbd1f21c"><div class="ttname"><a href="a00155.html#ga86350252cc9bf86421317460bbd1f21c">glm::floor</a></div><div class="ttdeci">GLM_FUNC_DECL genType floor(genType const &x)</div><div class="ttdoc">Returns a value equal to the nearest integer that is less then or equal to x. </div></div>
|
||||
<div class="ttc" id="a00155_html_ga78aae7eea618ca112053d59fe03db239"><div class="ttname"><a href="a00155.html#ga78aae7eea618ca112053d59fe03db239">glm::mix</a></div><div class="ttdeci">GLM_FUNC_DECL genTypeT mix(genTypeT const &x, genTypeT const &y, genTypeU const &a)</div><div class="ttdoc">If genTypeU is a floating scalar or vector: Returns x * (1.0 - a) + y * a, i.e., the linear blend of ...</div></div>
|
||||
<div class="ttc" id="a00169_html_ga91ad9478d81a7aaf2593e8d9c3d06a14"><div class="ttname"><a href="a00169.html#ga91ad9478d81a7aaf2593e8d9c3d06a14">glm::uint</a></div><div class="ttdeci">unsigned int uint</div><div class="ttdoc">Unsigned integer type. </div><div class="ttdef"><b>Definition:</b> <a href="a00121_source.html#l00171">type_int.hpp:171</a></div></div>
|
||||
<div class="ttc" id="a00155_html_ga8cc8a75b05125fe1c30de43102ef42e1"><div class="ttname"><a href="a00155.html#ga8cc8a75b05125fe1c30de43102ef42e1">glm::mod</a></div><div class="ttdeci">GLM_FUNC_DECL genType mod(genType const &x, genType const &y)</div><div class="ttdoc">Modulus. </div></div>
|
||||
<div class="ttc" id="a00155_html_gae47da02eb07d660201c09a0df7298a05"><div class="ttname"><a href="a00155.html#gae47da02eb07d660201c09a0df7298a05">glm::modf</a></div><div class="ttdeci">GLM_FUNC_DECL genType modf(genType const &x, genType &i)</div><div class="ttdoc">Returns the fractional part of x and sets i to the integer part (as a whole number floating point val...</div></div>
|
||||
<div class="ttc" id="a00156_html_gae154699ba6bda068d4b87cf9b987381f"><div class="ttname"><a href="a00156.html#gae154699ba6bda068d4b87cf9b987381f">glm::exp</a></div><div class="ttdeci">GLM_FUNC_DECL genType exp(genType const &x)</div><div class="ttdoc">Returns the natural exponentiation of x, i.e., e^x. </div></div>
|
||||
<div class="ttc" id="a00155_html_gad04ac2908d032d5518d5f6c8403dbc8b"><div class="ttname"><a href="a00155.html#gad04ac2908d032d5518d5f6c8403dbc8b">glm::fract</a></div><div class="ttdeci">GLM_FUNC_DECL genType fract(genType const &x)</div><div class="ttdoc">Return x - floor(x). </div></div>
|
||||
<div class="ttc" id="a00155_html_gab81e02fff55c9391e28fa47e68c3c903"><div class="ttname"><a href="a00155.html#gab81e02fff55c9391e28fa47e68c3c903">glm::ceil</a></div><div class="ttdeci">GLM_FUNC_DECL genType ceil(genType const &x)</div><div class="ttdoc">Returns a value equal to the nearest integer that is greater than or equal to x. </div></div>
|
||||
<div class="ttc" id="a00155_html_ga8a9dec5200888766fbcb51b6a5898728"><div class="ttname"><a href="a00155.html#ga8a9dec5200888766fbcb51b6a5898728">glm::isnan</a></div><div class="ttdeci">GLM_FUNC_DECL genType::bool_type isnan(genType const &x)</div><div class="ttdoc">Returns true if x holds a NaN (not a number) representation in the underlying implementation&#39;s set of...</div></div>
|
||||
<div class="ttc" id="a00155_html_gad0f444d4b81cc53c3b6edf5aa25078c2"><div class="ttname"><a href="a00155.html#gad0f444d4b81cc53c3b6edf5aa25078c2">glm::fma</a></div><div class="ttdeci">GLM_FUNC_DECL genType fma(genType const &a, genType const &b, genType const &c)</div><div class="ttdoc">Computes and returns a * b + c. </div></div>
|
||||
<div class="ttc" id="a00155_html_ga4fb7c21c2dce064b26fd9ccdaf9adcd4"><div class="ttname"><a href="a00155.html#ga4fb7c21c2dce064b26fd9ccdaf9adcd4">glm::intBitsToFloat</a></div><div class="ttdeci">GLM_FUNC_DECL float intBitsToFloat(int const &v)</div><div class="ttdoc">Returns a floating-point value corresponding to a signed integer encoding of a floating-point value...</div></div>
|
||||
<div class="ttc" id="a00155_html_gaf21c84759af7799f573865f70c2f0a86"><div class="ttname"><a href="a00155.html#gaf21c84759af7799f573865f70c2f0a86">glm::step</a></div><div class="ttdeci">GLM_FUNC_DECL genType step(genType const &edge, genType const &x)</div><div class="ttdoc">Returns 0.0 if x &lt; edge, otherwise it returns 1.0 for each component of a genType. </div></div>
|
||||
<div class="ttc" id="a00155_html_ga1425c1c3160ec51214b03a0469a3013d"><div class="ttname"><a href="a00155.html#ga1425c1c3160ec51214b03a0469a3013d">glm::floatBitsToInt</a></div><div class="ttdeci">GLM_FUNC_DECL int floatBitsToInt(float const &v)</div><div class="ttdoc">Returns a signed integer value representing the encoding of a floating-point value. </div></div>
|
||||
<div class="ttc" id="a00155_html_gadb091aed51e45872f6dc841affa41c5c"><div class="ttname"><a href="a00155.html#gadb091aed51e45872f6dc841affa41c5c">glm::trunc</a></div><div class="ttdeci">GLM_FUNC_DECL genType trunc(genType const &x)</div><div class="ttdoc">Returns a value equal to the nearest integer to x whose absolute value is not larger than the absolut...</div></div>
|
||||
<div class="ttc" id="a00155_html_ga6535952553479a4bbca7f1f12a011b17"><div class="ttname"><a href="a00155.html#ga6535952553479a4bbca7f1f12a011b17">glm::roundEven</a></div><div class="ttdeci">GLM_FUNC_DECL genType roundEven(genType const &x)</div><div class="ttdoc">Returns a value equal to the nearest integer to x. </div></div>
|
||||
<div class="ttc" id="a00155_html_ga75ebab3fe88a9c5c769135cf5a2649ef"><div class="ttname"><a href="a00155.html#ga75ebab3fe88a9c5c769135cf5a2649ef">glm::round</a></div><div class="ttdeci">GLM_FUNC_DECL genType round(genType const &x)</div><div class="ttdoc">Returns a value equal to the nearest integer to x. </div></div>
|
||||
<div class="ttc" id="a00155_html_gab2bae0d15dcdca6093f88f76b3975d97"><div class="ttname"><a href="a00155.html#gab2bae0d15dcdca6093f88f76b3975d97">glm::uintBitsToFloat</a></div><div class="ttdeci">GLM_FUNC_DECL float uintBitsToFloat(uint const &v)</div><div class="ttdoc">Returns a floating-point value corresponding to a unsigned integer encoding of a floating-point value...</div></div>
|
||||
<div class="ttc" id="a00155_html_ga70e0271c34af52f3100c7960e18c3f2b"><div class="ttname"><a href="a00155.html#ga70e0271c34af52f3100c7960e18c3f2b">glm::floatBitsToUint</a></div><div class="ttdeci">GLM_FUNC_DECL uint floatBitsToUint(float const &v)</div><div class="ttdoc">Returns a unsigned integer value representing the encoding of a floating-point value. </div></div>
|
||||
<div class="ttc" id="a00155_html_gaea946f96ec1df259802effe9f532e1c1"><div class="ttname"><a href="a00155.html#gaea946f96ec1df259802effe9f532e1c1">glm::abs</a></div><div class="ttdeci">GLM_FUNC_DECL genType abs(genType const &x)</div><div class="ttdoc">Returns x if x &gt;= 0; otherwise, it returns -x. </div></div>
|
||||
<div class="ttc" id="a00155_html_ga9fce6a337c7e8ad089b9dc17c70cb873"><div class="ttname"><a href="a00155.html#ga9fce6a337c7e8ad089b9dc17c70cb873">glm::isinf</a></div><div class="ttdeci">GLM_FUNC_DECL genType::bool_type isinf(genType const &x)</div><div class="ttdoc">Returns true if x holds a positive infinity or negative infinity representation in the underlying imp...</div></div>
|
||||
<div class="ttc" id="a00155_html_ga52e319d7289b849ec92055abd4830533"><div class="ttname"><a href="a00155.html#ga52e319d7289b849ec92055abd4830533">glm::ldexp</a></div><div class="ttdeci">GLM_FUNC_DECL genType ldexp(genType const &x, genIType const &exp)</div><div class="ttdoc">Builds a floating-point number from x and the corresponding integral exponent of two in exp...</div></div>
|
||||
<div class="ttc" id="a00155_html_ga754103c8d2cdaf40f71429252457c10a"><div class="ttname"><a href="a00155.html#ga754103c8d2cdaf40f71429252457c10a">glm::smoothstep</a></div><div class="ttdeci">GLM_FUNC_DECL genType smoothstep(genType const &edge0, genType const &edge1, genType const &x)</div><div class="ttdoc">Returns 0.0 if x &lt;= edge0 and 1.0 if x &gt;= edge1 and performs smooth Hermite interpolation between 0 a...</div></div>
|
||||
<div class="ttc" id="a00155_html_ga72e9e213c84f06a329a2a838b51200f4"><div class="ttname"><a href="a00155.html#ga72e9e213c84f06a329a2a838b51200f4">glm::clamp</a></div><div class="ttdeci">GLM_FUNC_DECL genType clamp(genType const &x, genType const &minVal, genType const &maxVal)</div><div class="ttdoc">Returns min(max(x, minVal), maxVal) for each component in x using the floating-point values minVal an...</div></div>
|
||||
<div class="ttc" id="a00155_html_gaa228561a9da55898f8f72ad2403fafac"><div class="ttname"><a href="a00155.html#gaa228561a9da55898f8f72ad2403fafac">glm::max</a></div><div class="ttdeci">GLM_FUNC_DECL genType max(genType const &x, genType const &y)</div><div class="ttdoc">Returns y if x &lt; y; otherwise, it returns x. </div></div>
|
||||
<div class="ttc" id="a00155_html_gaa7afd59ab947e313d41cb6d9c655a80c"><div class="ttname"><a href="a00155.html#gaa7afd59ab947e313d41cb6d9c655a80c">glm::sign</a></div><div class="ttdeci">GLM_FUNC_DECL genType sign(genType const &x)</div><div class="ttdoc">Returns 1.0 if x &gt; 0, 0.0 if x == 0, or -1.0 if x &lt; 0. </div></div>
|
||||
<div class="ttc" id="a00155_html_ga3dc90dbd66c9ca1dd5625c93d9c50f02"><div class="ttname"><a href="a00155.html#ga3dc90dbd66c9ca1dd5625c93d9c50f02">glm::min</a></div><div class="ttdeci">GLM_FUNC_DECL genType min(genType const &x, genType const &y)</div><div class="ttdoc">Returns y if y &lt; x; otherwise, it returns x. </div></div>
|
||||
<div class="ttc" id="a00155_html_ga20620e83544d1a988857a3bc4ebe0e1d"><div class="ttname"><a href="a00155.html#ga20620e83544d1a988857a3bc4ebe0e1d">glm::frexp</a></div><div class="ttdeci">GLM_FUNC_DECL genType frexp(genType const &x, genIType &exp)</div><div class="ttdoc">Splits x into a floating-point significand in the range [0.5, 1.0) and an integral exponent of two...</div></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<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.2
|
||||
</a> 1.8.5
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user