mirror of https://github.com/g-truc/glm.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
258 lines
43 KiB
HTML
258 lines
43 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.18"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>1.0.0 API documentation: 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>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectlogo"><img alt="Logo" src="logo-mini.png"/></td>
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">1.0.0 API documentation
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.18 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */</script>
|
|
<div id="main-nav"></div>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_885cc87fac2d91e269af0a5a959fa5f6.html">E:</a></li><li class="navelem"><a class="el" href="dir_63ed049134a778d525e06b63afc2c979.html">Github</a></li><li class="navelem"><a class="el" href="dir_c98a9ac98258ab9f831b188d66361a70.html">g-truc</a></li><li class="navelem"><a class="el" href="dir_50f12b6ceb23d7f6adfb377a1ae8b006.html">glm</a></li><li class="navelem"><a class="el" href="dir_fca33f1b5115d46f42c670590789c0d2.html">glm</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">common.hpp</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="a00002.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="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#pragma once</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> <span class="preprocessor">#include "detail/qualifier.hpp"</span></div>
|
|
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include "detail/_fixes.hpp"</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> <span class="keyword">namespace </span>glm</div>
|
|
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> {</div>
|
|
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  </div>
|
|
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="keyword">template</span><<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="a00803.html#ga439e60a72eadecfeda2df5449c613a64"> 32</a></span>  GLM_FUNC_DECL GLM_CONSTEXPR genType <a class="code" href="a00803.html#ga81d3abddd0ef0c8de579bc541ecadab6">abs</a>(genType x);</div>
|
|
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  </div>
|
|
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keyword">template</span><length_t L, <span class="keyword">typename</span> T, qualifier Q></div>
|
|
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="a00803.html#ga81d3abddd0ef0c8de579bc541ecadab6"> 43</a></span>  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> <a class="code" href="a00803.html#ga81d3abddd0ef0c8de579bc541ecadab6">abs</a>(vec<L, T, Q> <span class="keyword">const</span>& x);</div>
|
|
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  </div>
|
|
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keyword">template</span><length_t L, <span class="keyword">typename</span> T, qualifier Q></div>
|
|
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="a00803.html#ga589807f35ad0a1d173762bfac3288929"> 54</a></span>  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> <a class="code" href="a00803.html#ga589807f35ad0a1d173762bfac3288929">sign</a>(vec<L, T, Q> <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="l00064"></a><span class="lineno"> 64</span>  <span class="keyword">template</span><length_t L, <span class="keyword">typename</span> T, qualifier Q></div>
|
|
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="a00803.html#gaa9d0742639e85b29c7c5de11cfd6840d"> 65</a></span>  GLM_FUNC_DECL vec<L, T, Q> <a class="code" href="a00803.html#gaa9d0742639e85b29c7c5de11cfd6840d">floor</a>(vec<L, T, Q> <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="l00076"></a><span class="lineno"> 76</span>  <span class="keyword">template</span><length_t L, <span class="keyword">typename</span> T, qualifier Q></div>
|
|
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="a00803.html#gaf9375e3e06173271d49e6ffa3a334259"> 77</a></span>  GLM_FUNC_DECL vec<L, T, Q> <a class="code" href="a00803.html#gaf9375e3e06173271d49e6ffa3a334259">trunc</a>(vec<L, T, Q> <span class="keyword">const</span>& x);</div>
|
|
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  </div>
|
|
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keyword">template</span><length_t L, <span class="keyword">typename</span> T, qualifier Q></div>
|
|
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="a00803.html#gafa03aca8c4713e1cc892aa92ca135a7e"> 92</a></span>  GLM_FUNC_DECL vec<L, T, Q> <a class="code" href="a00803.html#gafa03aca8c4713e1cc892aa92ca135a7e">round</a>(vec<L, T, Q> <span class="keyword">const</span>& x);</div>
|
|
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  </div>
|
|
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="keyword">template</span><length_t L, <span class="keyword">typename</span> T, qualifier Q></div>
|
|
<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="a00803.html#ga76b81785045a057989a84d99aeeb1578"> 106</a></span>  GLM_FUNC_DECL vec<L, T, Q> <a class="code" href="a00803.html#ga76b81785045a057989a84d99aeeb1578">roundEven</a>(vec<L, T, Q> <span class="keyword">const</span>& x);</div>
|
|
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  </div>
|
|
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="keyword">template</span><length_t L, <span class="keyword">typename</span> T, qualifier Q></div>
|
|
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="a00803.html#gafb9d2a645a23aca12d4d6de0104b7657"> 118</a></span>  GLM_FUNC_DECL vec<L, T, Q> <a class="code" href="a00803.html#gafb9d2a645a23aca12d4d6de0104b7657">ceil</a>(vec<L, T, Q> <span class="keyword">const</span>& x);</div>
|
|
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  </div>
|
|
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="keyword">template</span><<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="a00803.html#ga8ba89e40e55ae5cdf228548f9b7639c7"> 127</a></span>  GLM_FUNC_DECL genType <a class="code" href="a00803.html#ga2df623004f634b440d61e018d62c751b">fract</a>(genType x);</div>
|
|
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  </div>
|
|
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <span class="keyword">template</span><length_t L, <span class="keyword">typename</span> T, qualifier Q></div>
|
|
<div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="a00803.html#ga2df623004f634b440d61e018d62c751b"> 138</a></span>  GLM_FUNC_DECL vec<L, T, Q> <a class="code" href="a00803.html#ga2df623004f634b440d61e018d62c751b">fract</a>(vec<L, T, Q> <span class="keyword">const</span>& x);</div>
|
|
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  </div>
|
|
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <span class="keyword">template</span><<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  GLM_FUNC_DECL genType <a class="code" href="a00803.html#ga9b197a452cd52db3c5c18bac72bd7798">mod</a>(genType x, genType y);</div>
|
|
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  </div>
|
|
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <span class="keyword">template</span><length_t L, <span class="keyword">typename</span> T, qualifier Q></div>
|
|
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  GLM_FUNC_DECL vec<L, T, Q> <a class="code" href="a00803.html#ga9b197a452cd52db3c5c18bac72bd7798">mod</a>(vec<L, T, Q> <span class="keyword">const</span>& x, T y);</div>
|
|
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  </div>
|
|
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  <span class="keyword">template</span><length_t L, <span class="keyword">typename</span> T, qualifier Q></div>
|
|
<div class="line"><a name="l00156"></a><span class="lineno"><a class="line" href="a00803.html#ga9b197a452cd52db3c5c18bac72bd7798"> 156</a></span>  GLM_FUNC_DECL vec<L, T, Q> <a class="code" href="a00803.html#ga9b197a452cd52db3c5c18bac72bd7798">mod</a>(vec<L, T, Q> <span class="keyword">const</span>& x, vec<L, T, Q> <span class="keyword">const</span>& y);</div>
|
|
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  </div>
|
|
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <span class="keyword">template</span><<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="a00803.html#ga85e33f139b8db1b39b590a5713b9e679"> 168</a></span>  GLM_FUNC_DECL genType <a class="code" href="a00803.html#ga85e33f139b8db1b39b590a5713b9e679">modf</a>(genType x, genType& i);</div>
|
|
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  </div>
|
|
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  <span class="keyword">template</span><<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00177"></a><span class="lineno"><a class="line" href="a00803.html#ga6cf8098827054a270ee36b18e30d471d"> 177</a></span>  GLM_FUNC_DECL GLM_CONSTEXPR genType <a class="code" href="a00803.html#ga31f49ef9e7d1beb003160c5e009b0c48">min</a>(genType x, genType y);</div>
|
|
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  </div>
|
|
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  <span class="keyword">template</span><length_t L, <span class="keyword">typename</span> T, qualifier Q></div>
|
|
<div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="a00803.html#gaa7d015eba1f9f48519251f4abe69b14d"> 188</a></span>  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> <a class="code" href="a00803.html#ga31f49ef9e7d1beb003160c5e009b0c48">min</a>(vec<L, T, Q> <span class="keyword">const</span>& x, T y);</div>
|
|
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  </div>
|
|
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  <span class="keyword">template</span><length_t L, <span class="keyword">typename</span> T, qualifier Q></div>
|
|
<div class="line"><a name="l00199"></a><span class="lineno"><a class="line" href="a00803.html#ga31f49ef9e7d1beb003160c5e009b0c48"> 199</a></span>  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> <a class="code" href="a00803.html#ga31f49ef9e7d1beb003160c5e009b0c48">min</a>(vec<L, T, Q> <span class="keyword">const</span>& x, vec<L, T, Q> <span class="keyword">const</span>& y);</div>
|
|
<div class="line"><a name="l00200"></a><span class="lineno"> 200</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"><a class="line" href="a00803.html#gae02d42887fc5570451f880e3c624b9ac"> 208</a></span>  GLM_FUNC_DECL GLM_CONSTEXPR genType <a class="code" href="a00803.html#gac1fec0c3303b572a6d4697a637213870">max</a>(genType x, genType y);</div>
|
|
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  </div>
|
|
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  <span class="keyword">template</span><length_t L, <span class="keyword">typename</span> T, qualifier Q></div>
|
|
<div class="line"><a name="l00219"></a><span class="lineno"><a class="line" href="a00803.html#ga03e45d6e60d1c36edb00c52edeea0f31"> 219</a></span>  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> <a class="code" href="a00803.html#gac1fec0c3303b572a6d4697a637213870">max</a>(vec<L, T, Q> <span class="keyword">const</span>& x, T y);</div>
|
|
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  </div>
|
|
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  <span class="keyword">template</span><length_t L, <span class="keyword">typename</span> T, qualifier Q></div>
|
|
<div class="line"><a name="l00230"></a><span class="lineno"><a class="line" href="a00803.html#gac1fec0c3303b572a6d4697a637213870"> 230</a></span>  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> <a class="code" href="a00803.html#gac1fec0c3303b572a6d4697a637213870">max</a>(vec<L, T, Q> <span class="keyword">const</span>& x, vec<L, T, Q> <span class="keyword">const</span>& y);</div>
|
|
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  </div>
|
|
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  <span class="keyword">template</span><<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00240"></a><span class="lineno"><a class="line" href="a00803.html#ga7cd77683da6361e297c56443fc70806d"> 240</a></span>  GLM_FUNC_DECL GLM_CONSTEXPR genType <a class="code" href="a00803.html#gaa0f2f12e9108b09e22a3f0b2008a0b5d">clamp</a>(genType x, genType minVal, genType maxVal);</div>
|
|
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  </div>
|
|
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  <span class="keyword">template</span><length_t L, <span class="keyword">typename</span> T, qualifier Q></div>
|
|
<div class="line"><a name="l00252"></a><span class="lineno"><a class="line" href="a00803.html#gafba2e0674deb5953878d89483cd6323d"> 252</a></span>  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> <a class="code" href="a00803.html#gaa0f2f12e9108b09e22a3f0b2008a0b5d">clamp</a>(vec<L, T, Q> <span class="keyword">const</span>& x, T minVal, T maxVal);</div>
|
|
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  </div>
|
|
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  <span class="keyword">template</span><length_t L, <span class="keyword">typename</span> T, qualifier Q></div>
|
|
<div class="line"><a name="l00264"></a><span class="lineno"><a class="line" href="a00803.html#gaa0f2f12e9108b09e22a3f0b2008a0b5d"> 264</a></span>  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> <a class="code" href="a00803.html#gaa0f2f12e9108b09e22a3f0b2008a0b5d">clamp</a>(vec<L, T, Q> <span class="keyword">const</span>& x, vec<L, T, Q> <span class="keyword">const</span>& minVal, vec<L, T, Q> <span class="keyword">const</span>& maxVal);</div>
|
|
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  </div>
|
|
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span>  <span class="keyword">template</span><<span class="keyword">typename</span> genTypeT, <span class="keyword">typename</span> genTypeU></div>
|
|
<div class="line"><a name="l00309"></a><span class="lineno"><a class="line" href="a00803.html#ga6b6e0c7ecb4a5b78f929566355bb7416"> 309</a></span>  GLM_FUNC_DECL GLM_CONSTEXPR genTypeT <a class="code" href="a00803.html#ga6b6e0c7ecb4a5b78f929566355bb7416">mix</a>(genTypeT x, genTypeT y, genTypeU a);</div>
|
|
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  </div>
|
|
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  <span class="keyword">template</span><length_t L, <span class="keyword">typename</span> T, <span class="keyword">typename</span> U, qualifier Q></div>
|
|
<div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> <a class="code" href="a00803.html#ga6b6e0c7ecb4a5b78f929566355bb7416">mix</a>(vec<L, T, Q> <span class="keyword">const</span>& x, vec<L, T, Q> <span class="keyword">const</span>& y, vec<L, U, Q> <span class="keyword">const</span>& a);</div>
|
|
<div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  </div>
|
|
<div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  <span class="keyword">template</span><length_t L, <span class="keyword">typename</span> T, <span class="keyword">typename</span> U, qualifier Q></div>
|
|
<div class="line"><a name="l00315"></a><span class="lineno"> 315</span>  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> <a class="code" href="a00803.html#ga6b6e0c7ecb4a5b78f929566355bb7416">mix</a>(vec<L, T, Q> <span class="keyword">const</span>& x, vec<L, T, Q> <span class="keyword">const</span>& y, U a);</div>
|
|
<div class="line"><a name="l00316"></a><span class="lineno"> 316</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"><a class="line" href="a00803.html#ga015a1261ff23e12650211aa872863cce"> 322</a></span>  GLM_FUNC_DECL genType <a class="code" href="a00803.html#gaf4a5fc81619c7d3e8b22f53d4a098c7f">step</a>(genType edge, genType x);</div>
|
|
<div class="line"><a name="l00323"></a><span class="lineno"> 323</span>  </div>
|
|
<div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  <span class="keyword">template</span><length_t L, <span class="keyword">typename</span> T, qualifier Q></div>
|
|
<div class="line"><a name="l00333"></a><span class="lineno"><a class="line" href="a00803.html#ga8f9a911a48ef244b51654eaefc81c551"> 333</a></span>  GLM_FUNC_DECL vec<L, T, Q> <a class="code" href="a00803.html#gaf4a5fc81619c7d3e8b22f53d4a098c7f">step</a>(T edge, vec<L, T, Q> <span class="keyword">const</span>& x);</div>
|
|
<div class="line"><a name="l00334"></a><span class="lineno"> 334</span>  </div>
|
|
<div class="line"><a name="l00343"></a><span class="lineno"> 343</span>  <span class="keyword">template</span><length_t L, <span class="keyword">typename</span> T, qualifier Q></div>
|
|
<div class="line"><a name="l00344"></a><span class="lineno"><a class="line" href="a00803.html#gaf4a5fc81619c7d3e8b22f53d4a098c7f"> 344</a></span>  GLM_FUNC_DECL vec<L, T, Q> <a class="code" href="a00803.html#gaf4a5fc81619c7d3e8b22f53d4a098c7f">step</a>(vec<L, T, Q> <span class="keyword">const</span>& edge, vec<L, T, Q> <span class="keyword">const</span>& x);</div>
|
|
<div class="line"><a name="l00345"></a><span class="lineno"> 345</span>  </div>
|
|
<div class="line"><a name="l00360"></a><span class="lineno"> 360</span>  <span class="keyword">template</span><<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00361"></a><span class="lineno"><a class="line" href="a00803.html#ga562edf7eca082cc5b7a0aaf180436daf"> 361</a></span>  GLM_FUNC_DECL genType <a class="code" href="a00803.html#ga562edf7eca082cc5b7a0aaf180436daf">smoothstep</a>(genType edge0, genType edge1, genType x);</div>
|
|
<div class="line"><a name="l00362"></a><span class="lineno"> 362</span>  </div>
|
|
<div class="line"><a name="l00363"></a><span class="lineno"> 363</span>  <span class="keyword">template</span><length_t L, <span class="keyword">typename</span> T, qualifier Q></div>
|
|
<div class="line"><a name="l00364"></a><span class="lineno"> 364</span>  GLM_FUNC_DECL vec<L, T, Q> <a class="code" href="a00803.html#ga562edf7eca082cc5b7a0aaf180436daf">smoothstep</a>(T edge0, T edge1, vec<L, T, Q> <span class="keyword">const</span>& x);</div>
|
|
<div class="line"><a name="l00365"></a><span class="lineno"> 365</span>  </div>
|
|
<div class="line"><a name="l00366"></a><span class="lineno"> 366</span>  <span class="keyword">template</span><length_t L, <span class="keyword">typename</span> T, qualifier Q></div>
|
|
<div class="line"><a name="l00367"></a><span class="lineno"> 367</span>  GLM_FUNC_DECL vec<L, T, Q> <a class="code" href="a00803.html#ga562edf7eca082cc5b7a0aaf180436daf">smoothstep</a>(vec<L, T, Q> <span class="keyword">const</span>& edge0, vec<L, T, Q> <span class="keyword">const</span>& edge1, vec<L, T, Q> <span class="keyword">const</span>& x);</div>
|
|
<div class="line"><a name="l00368"></a><span class="lineno"> 368</span>  </div>
|
|
<div class="line"><a name="l00383"></a><span class="lineno"> 383</span>  <span class="keyword">template</span><length_t L, <span class="keyword">typename</span> T, qualifier Q></div>
|
|
<div class="line"><a name="l00384"></a><span class="lineno"><a class="line" href="a00803.html#ga29ef934c00306490de837b4746b4e14d"> 384</a></span>  GLM_FUNC_DECL vec<L, bool, Q> <a class="code" href="a00803.html#ga29ef934c00306490de837b4746b4e14d">isnan</a>(vec<L, T, Q> <span class="keyword">const</span>& x);</div>
|
|
<div class="line"><a name="l00385"></a><span class="lineno"> 385</span>  </div>
|
|
<div class="line"><a name="l00398"></a><span class="lineno"> 398</span>  <span class="keyword">template</span><length_t L, <span class="keyword">typename</span> T, qualifier Q></div>
|
|
<div class="line"><a name="l00399"></a><span class="lineno"><a class="line" href="a00803.html#ga2885587c23a106301f20443896365b62"> 399</a></span>  GLM_FUNC_DECL vec<L, bool, Q> <a class="code" href="a00803.html#ga2885587c23a106301f20443896365b62">isinf</a>(vec<L, T, Q> <span class="keyword">const</span>& x);</div>
|
|
<div class="line"><a name="l00400"></a><span class="lineno"> 400</span>  </div>
|
|
<div class="line"><a name="l00407"></a><span class="lineno"><a class="line" href="a00803.html#ga8a23e454d8ae48b8f6dfdaea4b756072"> 407</a></span>  GLM_FUNC_DECL <span class="keywordtype">int</span> <a class="code" href="a00803.html#ga99f7d62f78ac5ea3b49bae715c9488ed">floatBitsToInt</a>(<span class="keywordtype">float</span> v);</div>
|
|
<div class="line"><a name="l00408"></a><span class="lineno"> 408</span>  </div>
|
|
<div class="line"><a name="l00418"></a><span class="lineno"> 418</span>  <span class="keyword">template</span><length_t L, qualifier Q></div>
|
|
<div class="line"><a name="l00419"></a><span class="lineno"><a class="line" href="a00803.html#ga99f7d62f78ac5ea3b49bae715c9488ed"> 419</a></span>  GLM_FUNC_DECL vec<L, int, Q> <a class="code" href="a00803.html#ga99f7d62f78ac5ea3b49bae715c9488ed">floatBitsToInt</a>(vec<L, float, Q> <span class="keyword">const</span>& v);</div>
|
|
<div class="line"><a name="l00420"></a><span class="lineno"> 420</span>  </div>
|
|
<div class="line"><a name="l00427"></a><span class="lineno"><a class="line" href="a00803.html#ga1bbdafd513ece71856e66a8ab0ea10d1"> 427</a></span>  GLM_FUNC_DECL uint <a class="code" href="a00803.html#ga49418ba4c8a60fbbb5d57b705f3e26db">floatBitsToUint</a>(<span class="keywordtype">float</span> v);</div>
|
|
<div class="line"><a name="l00428"></a><span class="lineno"> 428</span>  </div>
|
|
<div class="line"><a name="l00438"></a><span class="lineno"> 438</span>  <span class="keyword">template</span><length_t L, qualifier Q></div>
|
|
<div class="line"><a name="l00439"></a><span class="lineno"><a class="line" href="a00803.html#ga49418ba4c8a60fbbb5d57b705f3e26db"> 439</a></span>  GLM_FUNC_DECL vec<L, uint, Q> <a class="code" href="a00803.html#ga49418ba4c8a60fbbb5d57b705f3e26db">floatBitsToUint</a>(vec<L, float, Q> <span class="keyword">const</span>& v);</div>
|
|
<div class="line"><a name="l00440"></a><span class="lineno"> 440</span>  </div>
|
|
<div class="line"><a name="l00449"></a><span class="lineno"><a class="line" href="a00803.html#gad780bbd088b64d823ad7049c42b157da"> 449</a></span>  GLM_FUNC_DECL <span class="keywordtype">float</span> <a class="code" href="a00803.html#ga7a0a8291a1cf3e1c2aee33030a1bd7b0">intBitsToFloat</a>(<span class="keywordtype">int</span> v);</div>
|
|
<div class="line"><a name="l00450"></a><span class="lineno"> 450</span>  </div>
|
|
<div class="line"><a name="l00462"></a><span class="lineno"> 462</span>  <span class="keyword">template</span><length_t L, qualifier Q></div>
|
|
<div class="line"><a name="l00463"></a><span class="lineno"><a class="line" href="a00803.html#ga7a0a8291a1cf3e1c2aee33030a1bd7b0"> 463</a></span>  GLM_FUNC_DECL vec<L, float, Q> <a class="code" href="a00803.html#ga7a0a8291a1cf3e1c2aee33030a1bd7b0">intBitsToFloat</a>(vec<L, int, Q> <span class="keyword">const</span>& v);</div>
|
|
<div class="line"><a name="l00464"></a><span class="lineno"> 464</span>  </div>
|
|
<div class="line"><a name="l00473"></a><span class="lineno"><a class="line" href="a00803.html#gac427a0b389f2c585269c36ccaee9c5ed"> 473</a></span>  GLM_FUNC_DECL <span class="keywordtype">float</span> <a class="code" href="a00803.html#ga97f46b5f7b42fe44482e13356eb394ae">uintBitsToFloat</a>(uint v);</div>
|
|
<div class="line"><a name="l00474"></a><span class="lineno"> 474</span>  </div>
|
|
<div class="line"><a name="l00486"></a><span class="lineno"> 486</span>  <span class="keyword">template</span><length_t L, qualifier Q></div>
|
|
<div class="line"><a name="l00487"></a><span class="lineno"><a class="line" href="a00803.html#ga97f46b5f7b42fe44482e13356eb394ae"> 487</a></span>  GLM_FUNC_DECL vec<L, float, Q> <a class="code" href="a00803.html#ga97f46b5f7b42fe44482e13356eb394ae">uintBitsToFloat</a>(vec<L, uint, Q> <span class="keyword">const</span>& v);</div>
|
|
<div class="line"><a name="l00488"></a><span class="lineno"> 488</span>  </div>
|
|
<div class="line"><a name="l00495"></a><span class="lineno"> 495</span>  <span class="keyword">template</span><<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00496"></a><span class="lineno"><a class="line" href="a00803.html#gad0f444d4b81cc53c3b6edf5aa25078c2"> 496</a></span>  GLM_FUNC_DECL genType <a class="code" href="a00803.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="l00497"></a><span class="lineno"> 497</span>  </div>
|
|
<div class="line"><a name="l00512"></a><span class="lineno"> 512</span>  <span class="keyword">template</span><<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00513"></a><span class="lineno"><a class="line" href="a00803.html#gaddf5ef73283c171730e0bcc11833fa81"> 513</a></span>  GLM_FUNC_DECL genType <a class="code" href="a00803.html#gaddf5ef73283c171730e0bcc11833fa81">frexp</a>(genType x, <span class="keywordtype">int</span>& <a class="code" href="a00804.html#ga071566cadc7505455e611f2a0353f4d4">exp</a>);</div>
|
|
<div class="line"><a name="l00514"></a><span class="lineno"> 514</span>  </div>
|
|
<div class="line"><a name="l00515"></a><span class="lineno"> 515</span>  <span class="keyword">template</span><length_t L, <span class="keyword">typename</span> T, qualifier Q></div>
|
|
<div class="line"><a name="l00516"></a><span class="lineno"> 516</span>  GLM_FUNC_DECL vec<L, T, Q> <a class="code" href="a00803.html#gaddf5ef73283c171730e0bcc11833fa81">frexp</a>(vec<L, T, Q> <span class="keyword">const</span>& v, vec<L, int, Q>& <a class="code" href="a00804.html#ga071566cadc7505455e611f2a0353f4d4">exp</a>);</div>
|
|
<div class="line"><a name="l00517"></a><span class="lineno"> 517</span>  </div>
|
|
<div class="line"><a name="l00529"></a><span class="lineno"> 529</span>  <span class="keyword">template</span><<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00530"></a><span class="lineno"><a class="line" href="a00803.html#gac3010e0a0c35a1b514540f2fb579c58c"> 530</a></span>  GLM_FUNC_DECL genType <a class="code" href="a00803.html#gac3010e0a0c35a1b514540f2fb579c58c">ldexp</a>(genType <span class="keyword">const</span>& x, <span class="keywordtype">int</span> <span class="keyword">const</span>& <a class="code" href="a00804.html#ga071566cadc7505455e611f2a0353f4d4">exp</a>);</div>
|
|
<div class="line"><a name="l00531"></a><span class="lineno"> 531</span>  </div>
|
|
<div class="line"><a name="l00532"></a><span class="lineno"> 532</span>  <span class="keyword">template</span><length_t L, <span class="keyword">typename</span> T, qualifier Q></div>
|
|
<div class="line"><a name="l00533"></a><span class="lineno"> 533</span>  GLM_FUNC_DECL vec<L, T, Q> <a class="code" href="a00803.html#gac3010e0a0c35a1b514540f2fb579c58c">ldexp</a>(vec<L, T, Q> <span class="keyword">const</span>& v, vec<L, int, Q> <span class="keyword">const</span>& <a class="code" href="a00804.html#ga071566cadc7505455e611f2a0353f4d4">exp</a>);</div>
|
|
<div class="line"><a name="l00534"></a><span class="lineno"> 534</span>  </div>
|
|
<div class="line"><a name="l00536"></a><span class="lineno"> 536</span> }<span class="comment">//namespace glm</span></div>
|
|
<div class="line"><a name="l00537"></a><span class="lineno"> 537</span>  </div>
|
|
<div class="line"><a name="l00538"></a><span class="lineno"> 538</span> <span class="preprocessor">#include "detail/func_common.inl"</span></div>
|
|
<div class="line"><a name="l00539"></a><span class="lineno"> 539</span>  </div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<div class="ttc" id="aa00803_html_ga6b6e0c7ecb4a5b78f929566355bb7416"><div class="ttname"><a href="a00803.html#ga6b6e0c7ecb4a5b78f929566355bb7416">glm::mix</a></div><div class="ttdeci">GLM_FUNC_DECL GLM_CONSTEXPR genTypeT mix(genTypeT x, genTypeT y, genTypeU 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="aa00803_html_ga29ef934c00306490de837b4746b4e14d"><div class="ttname"><a href="a00803.html#ga29ef934c00306490de837b4746b4e14d">glm::isnan</a></div><div class="ttdeci">GLM_FUNC_DECL vec< L, bool, Q > isnan(vec< L, T, Q > const &x)</div><div class="ttdoc">Returns true if x holds a NaN (not a number) representation in the underlying implementation's set of...</div></div>
|
|
<div class="ttc" id="aa00803_html_ga99f7d62f78ac5ea3b49bae715c9488ed"><div class="ttname"><a href="a00803.html#ga99f7d62f78ac5ea3b49bae715c9488ed">glm::floatBitsToInt</a></div><div class="ttdeci">GLM_FUNC_DECL vec< L, int, Q > floatBitsToInt(vec< L, float, Q > 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="aa00803_html_gaddf5ef73283c171730e0bcc11833fa81"><div class="ttname"><a href="a00803.html#gaddf5ef73283c171730e0bcc11833fa81">glm::frexp</a></div><div class="ttdeci">GLM_FUNC_DECL genType frexp(genType x, int &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 class="ttc" id="aa00803_html_gafb9d2a645a23aca12d4d6de0104b7657"><div class="ttname"><a href="a00803.html#gafb9d2a645a23aca12d4d6de0104b7657">glm::ceil</a></div><div class="ttdeci">GLM_FUNC_DECL vec< L, T, Q > ceil(vec< L, T, Q > 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="aa00803_html_ga9b197a452cd52db3c5c18bac72bd7798"><div class="ttname"><a href="a00803.html#ga9b197a452cd52db3c5c18bac72bd7798">glm::mod</a></div><div class="ttdeci">GLM_FUNC_DECL vec< L, T, Q > mod(vec< L, T, Q > const &x, vec< L, T, Q > const &y)</div><div class="ttdoc">Modulus.</div></div>
|
|
<div class="ttc" id="aa00803_html_ga85e33f139b8db1b39b590a5713b9e679"><div class="ttname"><a href="a00803.html#ga85e33f139b8db1b39b590a5713b9e679">glm::modf</a></div><div class="ttdeci">GLM_FUNC_DECL genType modf(genType 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="aa00803_html_gaf4a5fc81619c7d3e8b22f53d4a098c7f"><div class="ttname"><a href="a00803.html#gaf4a5fc81619c7d3e8b22f53d4a098c7f">glm::step</a></div><div class="ttdeci">GLM_FUNC_DECL vec< L, T, Q > step(vec< L, T, Q > const &edge, vec< L, T, Q > const &x)</div><div class="ttdoc">Returns 0.0 if x < edge, otherwise it returns 1.0.</div></div>
|
|
<div class="ttc" id="aa00803_html_ga81d3abddd0ef0c8de579bc541ecadab6"><div class="ttname"><a href="a00803.html#ga81d3abddd0ef0c8de579bc541ecadab6">glm::abs</a></div><div class="ttdeci">GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > abs(vec< L, T, Q > const &x)</div><div class="ttdoc">Returns x if x >= 0; otherwise, it returns -x.</div></div>
|
|
<div class="ttc" id="aa00803_html_gac3010e0a0c35a1b514540f2fb579c58c"><div class="ttname"><a href="a00803.html#gac3010e0a0c35a1b514540f2fb579c58c">glm::ldexp</a></div><div class="ttdeci">GLM_FUNC_DECL genType ldexp(genType const &x, int 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="aa00803_html_gaa0f2f12e9108b09e22a3f0b2008a0b5d"><div class="ttname"><a href="a00803.html#gaa0f2f12e9108b09e22a3f0b2008a0b5d">glm::clamp</a></div><div class="ttdeci">GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > clamp(vec< L, T, Q > const &x, vec< L, T, Q > const &minVal, vec< L, T, Q > 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="aa00803_html_ga97f46b5f7b42fe44482e13356eb394ae"><div class="ttname"><a href="a00803.html#ga97f46b5f7b42fe44482e13356eb394ae">glm::uintBitsToFloat</a></div><div class="ttdeci">GLM_FUNC_DECL vec< L, float, Q > uintBitsToFloat(vec< L, uint, Q > 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="aa00803_html_gac1fec0c3303b572a6d4697a637213870"><div class="ttname"><a href="a00803.html#gac1fec0c3303b572a6d4697a637213870">glm::max</a></div><div class="ttdeci">GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > max(vec< L, T, Q > const &x, vec< L, T, Q > const &y)</div><div class="ttdoc">Returns y if x < y; otherwise, it returns x.</div></div>
|
|
<div class="ttc" id="aa00803_html_ga31f49ef9e7d1beb003160c5e009b0c48"><div class="ttname"><a href="a00803.html#ga31f49ef9e7d1beb003160c5e009b0c48">glm::min</a></div><div class="ttdeci">GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > min(vec< L, T, Q > const &x, vec< L, T, Q > const &y)</div><div class="ttdoc">Returns y if y < x; otherwise, it returns x.</div></div>
|
|
<div class="ttc" id="aa00803_html_ga589807f35ad0a1d173762bfac3288929"><div class="ttname"><a href="a00803.html#ga589807f35ad0a1d173762bfac3288929">glm::sign</a></div><div class="ttdeci">GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > sign(vec< L, T, Q > const &x)</div><div class="ttdoc">Returns 1.0 if x > 0, 0.0 if x == 0, or -1.0 if x < 0.</div></div>
|
|
<div class="ttc" id="aa00803_html_ga2885587c23a106301f20443896365b62"><div class="ttname"><a href="a00803.html#ga2885587c23a106301f20443896365b62">glm::isinf</a></div><div class="ttdeci">GLM_FUNC_DECL vec< L, bool, Q > isinf(vec< L, T, Q > 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="aa00803_html_ga49418ba4c8a60fbbb5d57b705f3e26db"><div class="ttname"><a href="a00803.html#ga49418ba4c8a60fbbb5d57b705f3e26db">glm::floatBitsToUint</a></div><div class="ttdeci">GLM_FUNC_DECL vec< L, uint, Q > floatBitsToUint(vec< L, float, Q > 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="aa00803_html_ga2df623004f634b440d61e018d62c751b"><div class="ttname"><a href="a00803.html#ga2df623004f634b440d61e018d62c751b">glm::fract</a></div><div class="ttdeci">GLM_FUNC_DECL vec< L, T, Q > fract(vec< L, T, Q > const &x)</div><div class="ttdoc">Return x - floor(x).</div></div>
|
|
<div class="ttc" id="aa00803_html_ga7a0a8291a1cf3e1c2aee33030a1bd7b0"><div class="ttname"><a href="a00803.html#ga7a0a8291a1cf3e1c2aee33030a1bd7b0">glm::intBitsToFloat</a></div><div class="ttdeci">GLM_FUNC_DECL vec< L, float, Q > intBitsToFloat(vec< L, int, Q > 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="aa00803_html_ga76b81785045a057989a84d99aeeb1578"><div class="ttname"><a href="a00803.html#ga76b81785045a057989a84d99aeeb1578">glm::roundEven</a></div><div class="ttdeci">GLM_FUNC_DECL vec< L, T, Q > roundEven(vec< L, T, Q > const &x)</div><div class="ttdoc">Returns a value equal to the nearest integer to x.</div></div>
|
|
<div class="ttc" id="aa00803_html_gaa9d0742639e85b29c7c5de11cfd6840d"><div class="ttname"><a href="a00803.html#gaa9d0742639e85b29c7c5de11cfd6840d">glm::floor</a></div><div class="ttdeci">GLM_FUNC_DECL vec< L, T, Q > floor(vec< L, T, Q > 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="aa00803_html_gad0f444d4b81cc53c3b6edf5aa25078c2"><div class="ttname"><a href="a00803.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="aa00803_html_ga562edf7eca082cc5b7a0aaf180436daf"><div class="ttname"><a href="a00803.html#ga562edf7eca082cc5b7a0aaf180436daf">glm::smoothstep</a></div><div class="ttdeci">GLM_FUNC_DECL genType smoothstep(genType edge0, genType edge1, genType x)</div><div class="ttdoc">Returns 0.0 if x <= edge0 and 1.0 if x >= edge1 and performs smooth Hermite interpolation between 0 a...</div></div>
|
|
<div class="ttc" id="aa00803_html_gafa03aca8c4713e1cc892aa92ca135a7e"><div class="ttname"><a href="a00803.html#gafa03aca8c4713e1cc892aa92ca135a7e">glm::round</a></div><div class="ttdeci">GLM_FUNC_DECL vec< L, T, Q > round(vec< L, T, Q > const &x)</div><div class="ttdoc">Returns a value equal to the nearest integer to x.</div></div>
|
|
<div class="ttc" id="aa00804_html_ga071566cadc7505455e611f2a0353f4d4"><div class="ttname"><a href="a00804.html#ga071566cadc7505455e611f2a0353f4d4">glm::exp</a></div><div class="ttdeci">GLM_FUNC_DECL vec< L, T, Q > exp(vec< L, T, Q > const &v)</div><div class="ttdoc">Returns the natural exponentiation of v, i.e., e^v.</div></div>
|
|
<div class="ttc" id="aa00803_html_gaf9375e3e06173271d49e6ffa3a334259"><div class="ttname"><a href="a00803.html#gaf9375e3e06173271d49e6ffa3a334259">glm::trunc</a></div><div class="ttdeci">GLM_FUNC_DECL vec< L, T, Q > trunc(vec< L, T, Q > 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>
|
|
<!-- 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.18
|
|
</small></address>
|
|
</body>
|
|
</html>
|