Updated doxygem documentation
This commit is contained in:
@@ -56,150 +56,152 @@
|
||||
<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="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="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="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor">#include "precision.hpp"</span></div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="preprocessor">#include "type_int.hpp"</span></div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="preprocessor">#include "_fixes.hpp"</span></div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> </div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="keyword">namespace </span>glm</div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> {</div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> </div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</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="l00057"></a><span class="lineno"> 57</span> </div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</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="l00066"></a><span class="lineno"> 66</span>  </div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</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="l00075"></a><span class="lineno"> 75</span> </div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</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="l00085"></a><span class="lineno"> 85</span> </div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</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="l00098"></a><span class="lineno"> 98</span>  </div>
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"> 109</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="l00110"></a><span class="lineno"> 110</span> </div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</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="l00120"></a><span class="lineno"> 120</span> </div>
|
||||
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
||||
<div class="line"><a name="l00128"></a><span class="lineno"> 128</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="l00129"></a><span class="lineno"> 129</span> </div>
|
||||
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
||||
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  GLM_FUNC_DECL genType <a class="code" href="a00155.html#ga8cc8a75b05125fe1c30de43102ef42e1">mod</a>(</div>
|
||||
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  genType <span class="keyword">const</span> & x,</div>
|
||||
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  genType <span class="keyword">const</span> & y);</div>
|
||||
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span> </div>
|
||||
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
||||
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  GLM_FUNC_DECL genType <a class="code" href="a00155.html#ga8cc8a75b05125fe1c30de43102ef42e1">mod</a>(</div>
|
||||
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  genType <span class="keyword">const</span> & x,</div>
|
||||
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <span class="keyword">typename</span> genType::value_type <span class="keyword">const</span> & y);</div>
|
||||
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span> </div>
|
||||
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
||||
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  GLM_FUNC_DECL genType <a class="code" href="a00155.html#gae47da02eb07d660201c09a0df7298a05">modf</a>(</div>
|
||||
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  genType <span class="keyword">const</span> & x,</div>
|
||||
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  genType & i);</div>
|
||||
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span> </div>
|
||||
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
||||
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  GLM_FUNC_DECL genType <a class="code" href="a00155.html#ga3dc90dbd66c9ca1dd5625c93d9c50f02">min</a>(</div>
|
||||
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  genType <span class="keyword">const</span> & x,</div>
|
||||
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  genType <span class="keyword">const</span> & y);</div>
|
||||
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span> </div>
|
||||
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
||||
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  GLM_FUNC_DECL genType <a class="code" href="a00155.html#ga3dc90dbd66c9ca1dd5625c93d9c50f02">min</a>(</div>
|
||||
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  genType <span class="keyword">const</span> & x,</div>
|
||||
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <span class="keyword">typename</span> genType::value_type <span class="keyword">const</span> & y);</div>
|
||||
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span> </div>
|
||||
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
||||
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  GLM_FUNC_DECL genType <a class="code" href="a00155.html#gaa228561a9da55898f8f72ad2403fafac">max</a>(</div>
|
||||
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  genType <span class="keyword">const</span> & x,</div>
|
||||
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  genType <span class="keyword">const</span> & y);</div>
|
||||
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span> </div>
|
||||
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
||||
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  GLM_FUNC_DECL genType <a class="code" href="a00155.html#gaa228561a9da55898f8f72ad2403fafac">max</a>(</div>
|
||||
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  genType <span class="keyword">const</span> & x,</div>
|
||||
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  <span class="keyword">typename</span> genType::value_type <span class="keyword">const</span> & y);</div>
|
||||
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span> </div>
|
||||
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
||||
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  GLM_FUNC_DECL genType <a class="code" href="a00155.html#ga72e9e213c84f06a329a2a838b51200f4">clamp</a>(</div>
|
||||
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  genType <span class="keyword">const</span> & x,</div>
|
||||
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  genType <span class="keyword">const</span> & minVal,</div>
|
||||
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  genType <span class="keyword">const</span> & maxVal);</div>
|
||||
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span> </div>
|
||||
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType, precision P></div>
|
||||
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  GLM_FUNC_DECL genType <a class="code" href="a00155.html#ga72e9e213c84f06a329a2a838b51200f4">clamp</a>(</div>
|
||||
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  genType <span class="keyword">const</span> & x,</div>
|
||||
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  <span class="keyword">typename</span> genType::value_type <span class="keyword">const</span> & minVal,</div>
|
||||
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  <span class="keyword">typename</span> genType::value_type <span class="keyword">const</span> & maxVal);</div>
|
||||
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span> </div>
|
||||
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genTypeT, <span class="keyword">typename</span> genTypeU></div>
|
||||
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  GLM_FUNC_DECL genTypeT <a class="code" href="a00155.html#ga78aae7eea618ca112053d59fe03db239">mix</a>(</div>
|
||||
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  genTypeT <span class="keyword">const</span> & x,</div>
|
||||
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  genTypeT <span class="keyword">const</span> & y,</div>
|
||||
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  genTypeU <span class="keyword">const</span> & a);</div>
|
||||
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span> </div>
|
||||
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
||||
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  GLM_FUNC_DECL genType <a class="code" href="a00155.html#gaf21c84759af7799f573865f70c2f0a86">step</a>(</div>
|
||||
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  genType <span class="keyword">const</span> & edge,</div>
|
||||
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  genType <span class="keyword">const</span> & x);</div>
|
||||
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span> </div>
|
||||
<div class="line"><a name="l00280"></a><span class="lineno"> 280</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="l00281"></a><span class="lineno"> 281</span>  GLM_FUNC_DECL vecType<T, P> <a class="code" href="a00155.html#gaf21c84759af7799f573865f70c2f0a86">step</a>(</div>
|
||||
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  T <span class="keyword">const</span> & edge,</div>
|
||||
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  vecType<T, P> <span class="keyword">const</span> & x);</div>
|
||||
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span> </div>
|
||||
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
||||
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  GLM_FUNC_DECL genType <a class="code" href="a00155.html#ga754103c8d2cdaf40f71429252457c10a">smoothstep</a>(</div>
|
||||
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  genType <span class="keyword">const</span> & edge0,</div>
|
||||
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  genType <span class="keyword">const</span> & edge1,</div>
|
||||
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  genType <span class="keyword">const</span> & x);</div>
|
||||
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span> </div>
|
||||
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
||||
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  GLM_FUNC_DECL genType <a class="code" href="a00155.html#ga754103c8d2cdaf40f71429252457c10a">smoothstep</a>(</div>
|
||||
<div class="line"><a name="l00307"></a><span class="lineno"> 307</span>  <span class="keyword">typename</span> genType::value_type <span class="keyword">const</span> & edge0,</div>
|
||||
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span>  <span class="keyword">typename</span> genType::value_type <span class="keyword">const</span> & edge1,</div>
|
||||
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  genType <span class="keyword">const</span> & x);</div>
|
||||
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span> </div>
|
||||
<div class="line"><a name="l00323"></a><span class="lineno"> 323</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType> </div>
|
||||
<div class="line"><a name="l00324"></a><span class="lineno"> 324</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="l00325"></a><span class="lineno"> 325</span> </div>
|
||||
<div class="line"><a name="l00336"></a><span class="lineno"> 336</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType> </div>
|
||||
<div class="line"><a name="l00337"></a><span class="lineno"> 337</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="l00338"></a><span class="lineno"> 338</span> </div>
|
||||
<div class="line"><a name="l00345"></a><span class="lineno"> 345</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="l00346"></a><span class="lineno"> 346</span> </div>
|
||||
<div class="line"><a name="l00353"></a><span class="lineno"> 353</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="l00354"></a><span class="lineno"> 354</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="l00355"></a><span class="lineno"> 355</span> </div>
|
||||
<div class="line"><a name="l00362"></a><span class="lineno"> 362</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="l00363"></a><span class="lineno"> 363</span> </div>
|
||||
<div class="line"><a name="l00370"></a><span class="lineno"> 370</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="l00371"></a><span class="lineno"> 371</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="l00372"></a><span class="lineno"> 372</span> </div>
|
||||
<div class="line"><a name="l00381"></a><span class="lineno"> 381</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="l00382"></a><span class="lineno"> 382</span> </div>
|
||||
<div class="line"><a name="l00391"></a><span class="lineno"> 391</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="l00392"></a><span class="lineno"> 392</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="l00393"></a><span class="lineno"> 393</span> </div>
|
||||
<div class="line"><a name="l00402"></a><span class="lineno"> 402</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="l00403"></a><span class="lineno"> 403</span> </div>
|
||||
<div class="line"><a name="l00412"></a><span class="lineno"> 412</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="l00413"></a><span class="lineno"> 413</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="l00414"></a><span class="lineno"> 414</span> </div>
|
||||
<div class="line"><a name="l00421"></a><span class="lineno"> 421</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
||||
<div class="line"><a name="l00422"></a><span class="lineno"> 422</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="l00423"></a><span class="lineno"> 423</span> </div>
|
||||
<div class="line"><a name="l00438"></a><span class="lineno"> 438</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType, <span class="keyword">typename</span> genIType></div>
|
||||
<div class="line"><a name="l00439"></a><span class="lineno"> 439</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="l00440"></a><span class="lineno"> 440</span> </div>
|
||||
<div class="line"><a name="l00452"></a><span class="lineno"> 452</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType, <span class="keyword">typename</span> genIType></div>
|
||||
<div class="line"><a name="l00453"></a><span class="lineno"> 453</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="l00454"></a><span class="lineno"> 454</span> </div>
|
||||
<div class="line"><a name="l00456"></a><span class="lineno"> 456</span> }<span class="comment">//namespace glm</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="line"><a name="l00458"></a><span class="lineno"> 458</span> <span class="preprocessor">#include "func_common.inl"</span></div>
|
||||
<div class="line"><a name="l00459"></a><span class="lineno"> 459</span> </div>
|
||||
<div class="line"><a name="l00460"></a><span class="lineno"> 460</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>
|
||||
|
||||
Reference in New Issue
Block a user