a00101_source.html 54.6 KB
Newer Older
Kai Westerkamp committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.10"/>
<title>0.9.8: simd_vec4.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="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.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">0.9.8
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.10 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_275089585c7fc1b5fd5d7d42c69cb1da.html">D:</a></li><li class="navelem"><a class="el" href="dir_7b98f88bffbed4b390b5f8f520d9c08e.html">Source</a></li><li class="navelem"><a class="el" href="dir_1f76e953200861345293ade84ac7fb6c.html">G-Truc</a></li><li class="navelem"><a class="el" href="dir_e29b03b892e0e25920d021a614d4db9b.html">glm</a></li><li class="navelem"><a class="el" href="dir_5ce58d942b2d0776e17a9a58abc01e04.html">glm</a></li><li class="navelem"><a class="el" href="dir_8d176b5b7dd0ae42ea6876078f2bde49.html">gtx</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">simd_vec4.hpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="a00101.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;</div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">// Dependency:</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#include &quot;../glm.hpp&quot;</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;</div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#if(GLM_ARCH != GLM_ARCH_PURE)</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#if(GLM_ARCH &amp; GLM_ARCH_SSE2_BIT)</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#       include &quot;../detail/intrinsic_common.hpp&quot;</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#       include &quot;../detail/intrinsic_geometric.hpp&quot;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#       include &quot;../detail/intrinsic_integer.hpp&quot;</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#       error &quot;GLM: GLM_GTX_simd_vec4 requires compiler support of SSE2 through intrinsics&quot;</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#if GLM_MESSAGES == GLM_MESSAGES_ENABLED &amp;&amp; !defined(GLM_EXT_INCLUDED)</span></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="preprocessor">#       pragma message(&quot;GLM: GLM_GTX_simd_vec4 extension included&quot;)</span></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#       pragma message(&quot;GLM: GLM_GTX_simd_vec4 extension is deprecated and will be removed in GLM 0.9.9. Use *vec4 types instead and use compiler SIMD arguments.&quot;)</span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="comment">// Warning silencer for nameless struct/union.</span></div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="preprocessor">#if (GLM_COMPILER &amp; GLM_COMPILER_VC)</span></div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor">#       pragma warning(push)</span></div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#       pragma warning(disable:4201)   // warning C4201: nonstandard extension used : nameless struct/union</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="keyword">namespace </span><a class="code" href="a00141.html">glm</a></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;{</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;        <span class="keyword">enum</span> comp</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;        {</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;                X = 0,</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;                R = 0,</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;                S = 0,</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;                Y = 1,</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;                G = 1,</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;                T = 1,</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;                Z = 2,</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;                B = 2,</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;                P = 2,</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;                W = 3,</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;                A = 3,</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;                Q = 3</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;        };</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;}<span class="comment">//namespace glm</span></div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="keyword">namespace </span><a class="code" href="a00141.html">glm</a>{</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<span class="keyword">namespace </span>detail</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;{</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;        GLM_ALIGNED_STRUCT(16) fvec4SIMD</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;        {</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;                <span class="keyword">typedef</span> <span class="keywordtype">float</span> value_type;</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;                <span class="keyword">typedef</span> std::size_t size_type;</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;                <span class="keyword">typedef</span> fvec4SIMD type;</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;                <span class="keyword">typedef</span> tvec4&lt;float, defaultp&gt; pure_type;</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;                <span class="keyword">typedef</span> tvec4&lt;bool, highp&gt; bool_type;</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;<span class="preprocessor">#ifdef GLM_SIMD_ENABLE_XYZW_UNION</span></div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;                <span class="keyword">union</span></div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;                {</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;                        __m128 Data;</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;                        <span class="keyword">struct </span>{<span class="keywordtype">float</span> x, y, z, w;};</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;                };</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;                __m128 Data;</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;                <span class="comment">// Implicit basic constructors</span></div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;                fvec4SIMD() GLM_DEFAULT_CTOR;</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;                fvec4SIMD(fvec4SIMD const &amp; v) GLM_DEFAULT;</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;                fvec4SIMD(__m128 const &amp; Data);</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;                <span class="comment">// Explicit basic constructors</span></div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;                explicit fvec4SIMD(</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;                        ctor);</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;                explicit fvec4SIMD(</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;                        <span class="keywordtype">float</span> const &amp; s);</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;                explicit fvec4SIMD(</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;                        <span class="keywordtype">float</span> const &amp; x,</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;                        <span class="keywordtype">float</span> const &amp; y,</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;                        <span class="keywordtype">float</span> const &amp; z,</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;                        <span class="keywordtype">float</span> const &amp; w);</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;                explicit fvec4SIMD(</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;                        <a class="code" href="a00157.html#gafbab23070ca47932487d25332adc7d7c">vec4</a> const &amp; v);</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;                fvec4SIMD(<a class="code" href="a00157.html#ga09d0200e8ff86391d8804b4fefd5f1da">vec2</a> const &amp; v, <span class="keywordtype">float</span> const &amp; s1, <span class="keywordtype">float</span> const &amp; s2);</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;                fvec4SIMD(<span class="keywordtype">float</span> const &amp; s1, <a class="code" href="a00157.html#ga09d0200e8ff86391d8804b4fefd5f1da">vec2</a> const &amp; v, <span class="keywordtype">float</span> const &amp; s2);</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;                fvec4SIMD(<span class="keywordtype">float</span> const &amp; s1, <span class="keywordtype">float</span> const &amp; s2, <a class="code" href="a00157.html#ga09d0200e8ff86391d8804b4fefd5f1da">vec2</a> const &amp; v);</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;                fvec4SIMD(<a class="code" href="a00157.html#gaa8ea2429bb3cb41a715258a447f39897">vec3</a> const &amp; v, <span class="keywordtype">float</span> const &amp; s);</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;                fvec4SIMD(<span class="keywordtype">float</span> const &amp; s, <a class="code" href="a00157.html#gaa8ea2429bb3cb41a715258a447f39897">vec3</a> const &amp; v);</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;                fvec4SIMD(<a class="code" href="a00157.html#ga09d0200e8ff86391d8804b4fefd5f1da">vec2</a> const &amp; v1, <a class="code" href="a00157.html#ga09d0200e8ff86391d8804b4fefd5f1da">vec2</a> const &amp; v2);</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;                <span class="comment">//fvec4SIMD(ivec4SIMD const &amp; v);</span></div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;                <span class="comment">// Unary arithmetic operators</span></div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;                fvec4SIMD&amp; operator= (fvec4SIMD const &amp; v) GLM_DEFAULT;</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;                fvec4SIMD&amp; operator+=(fvec4SIMD const &amp; v);</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;                fvec4SIMD&amp; operator-=(fvec4SIMD const &amp; v);</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;                fvec4SIMD&amp; operator*=(fvec4SIMD const &amp; v);</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;                fvec4SIMD&amp; operator/=(fvec4SIMD const &amp; v);</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;                fvec4SIMD&amp; operator+=(<span class="keywordtype">float</span> const &amp; s);</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;                fvec4SIMD&amp; operator-=(<span class="keywordtype">float</span> const &amp; s);</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;                fvec4SIMD&amp; operator*=(<span class="keywordtype">float</span> const &amp; s);</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;                fvec4SIMD&amp; operator/=(<span class="keywordtype">float</span> const &amp; s);</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;                fvec4SIMD&amp; operator++();</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;                fvec4SIMD&amp; operator--();</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;                <span class="comment">// Swizzle operators</span></div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;                template &lt;comp X_, comp Y_, comp Z_, comp W_&gt;</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;                fvec4SIMD&amp; swizzle();</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;                template &lt;comp X_, comp Y_, comp Z_, comp W_&gt;</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;                fvec4SIMD swizzle() const;</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;                template &lt;comp X_, comp Y_, comp Z_&gt;</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;                fvec4SIMD swizzle() const;</div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;                template &lt;comp X_, comp Y_&gt;</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;                fvec4SIMD swizzle() const;</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;                template &lt;comp X_&gt;</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;                fvec4SIMD swizzle() const;</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;        };</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;}<span class="comment">//namespace detail</span></div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;        typedef <a class="code" href="a00141.html">glm</a>::detail::fvec4SIMD simdVec4;</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;        <a class="code" href="a00157.html#gafbab23070ca47932487d25332adc7d7c">vec4</a> vec4_cast(</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;                detail::fvec4SIMD const &amp; x);</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;</div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;        detail::fvec4SIMD <a class="code" href="a00146.html#ga693d77696ff36572a0da79efec965acd">abs</a>(detail::fvec4SIMD const &amp; x);</div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;        detail::fvec4SIMD <a class="code" href="a00146.html#gac3446b4138e0b8757561c07cd19f084d">sign</a>(detail::fvec4SIMD const &amp; x);</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;        detail::fvec4SIMD <a class="code" href="a00146.html#ga568b822b78f045f77c3325e165b44d5d">floor</a>(detail::fvec4SIMD const &amp; x);</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;        detail::fvec4SIMD <a class="code" href="a00146.html#ga634cdbf8b37edca03f2248450570fd54">trunc</a>(detail::fvec4SIMD const &amp; x);</div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;        detail::fvec4SIMD <a class="code" href="a00146.html#gada0165544c0618d634c8056a88082ce9">round</a>(detail::fvec4SIMD const &amp; x);</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;        <span class="comment">//detail::fvec4SIMD roundEven(detail::fvec4SIMD const &amp; x);</span></div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;        detail::fvec4SIMD <a class="code" href="a00146.html#ga9189b2bec45ff301923ea8f8dd157fb8">ceil</a>(detail::fvec4SIMD const &amp; x);</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;</div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;        detail::fvec4SIMD <a class="code" href="a00146.html#ga8ba89e40e55ae5cdf228548f9b7639c7">fract</a>(detail::fvec4SIMD const &amp; x);</div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;</div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;        detail::fvec4SIMD <a class="code" href="a00146.html#ga12201563ef902e3b07e0d1d7656efdb1">mod</a>(</div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;                detail::fvec4SIMD const &amp; x,</div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;                detail::fvec4SIMD const &amp; y);</div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;</div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;        detail::fvec4SIMD <a class="code" href="a00146.html#ga12201563ef902e3b07e0d1d7656efdb1">mod</a>(</div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;                detail::fvec4SIMD const &amp; x,</div>
<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;                <span class="keywordtype">float</span> const &amp; y);</div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;</div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;        <span class="comment">//detail::fvec4SIMD modf(</span></div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;        <span class="comment">//      detail::fvec4SIMD const &amp; x,</span></div>
<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;        <span class="comment">//      detail::fvec4SIMD &amp; i);</span></div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;</div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;        detail::fvec4SIMD <a class="code" href="a00146.html#ga2c2bde1cec025b7ddff83c74a1113719">min</a>(</div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;                detail::fvec4SIMD const &amp; x,</div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;                detail::fvec4SIMD const &amp; y);</div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;</div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;        detail::fvec4SIMD <a class="code" href="a00146.html#ga2c2bde1cec025b7ddff83c74a1113719">min</a>(</div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;                detail::fvec4SIMD const &amp; x,</div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;                <span class="keywordtype">float</span> const &amp; y);</div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;</div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;        detail::fvec4SIMD <a class="code" href="a00146.html#ga98caa7f95a94c86a86ebce893a45326c">max</a>(</div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;                detail::fvec4SIMD const &amp; x,</div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;                detail::fvec4SIMD const &amp; y);</div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;</div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;        detail::fvec4SIMD <a class="code" href="a00146.html#ga98caa7f95a94c86a86ebce893a45326c">max</a>(</div>
<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;                detail::fvec4SIMD const &amp; x,</div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;                <span class="keywordtype">float</span> const &amp; y);</div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;</div>
<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;        detail::fvec4SIMD <a class="code" href="a00146.html#ga93bce26c7d80d30a62f5c508f8498a6c">clamp</a>(</div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;                detail::fvec4SIMD const &amp; x,</div>
<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;                detail::fvec4SIMD const &amp; minVal,</div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;                detail::fvec4SIMD const &amp; maxVal);</div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;</div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;        detail::fvec4SIMD <a class="code" href="a00146.html#ga93bce26c7d80d30a62f5c508f8498a6c">clamp</a>(</div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;                detail::fvec4SIMD const &amp; x,</div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;                <span class="keywordtype">float</span> const &amp; minVal,</div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;                <span class="keywordtype">float</span> const &amp; maxVal);</div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;</div>
<div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;        detail::fvec4SIMD <a class="code" href="a00146.html#gadccbaffe46f369cf1a96b2aef92cbfdd">mix</a>(</div>
<div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;                detail::fvec4SIMD const &amp; x,</div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;                detail::fvec4SIMD const &amp; y,</div>
<div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;                detail::fvec4SIMD const &amp; a);</div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;</div>
<div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;        detail::fvec4SIMD <a class="code" href="a00146.html#ga015a1261ff23e12650211aa872863cce">step</a>(</div>
<div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;                detail::fvec4SIMD const &amp; edge,</div>
<div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;                detail::fvec4SIMD const &amp; x);</div>
<div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;</div>
<div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;        detail::fvec4SIMD <a class="code" href="a00146.html#ga015a1261ff23e12650211aa872863cce">step</a>(</div>
<div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;                <span class="keywordtype">float</span> const &amp; edge,</div>
<div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;                detail::fvec4SIMD const &amp; x);</div>
<div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;</div>
<div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;        detail::fvec4SIMD <a class="code" href="a00146.html#ga562edf7eca082cc5b7a0aaf180436daf">smoothstep</a>(</div>
<div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;                detail::fvec4SIMD const &amp; edge0,</div>
<div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;                detail::fvec4SIMD const &amp; edge1,</div>
<div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;                detail::fvec4SIMD const &amp; x);</div>
<div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;</div>
<div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;        detail::fvec4SIMD <a class="code" href="a00146.html#ga562edf7eca082cc5b7a0aaf180436daf">smoothstep</a>(</div>
<div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;                <span class="keywordtype">float</span> const &amp; edge0,</div>
<div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;                <span class="keywordtype">float</span> const &amp; edge1,</div>
<div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;                detail::fvec4SIMD const &amp; x);</div>
<div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;</div>
<div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;        <span class="comment">//bvec4 isnan(detail::fvec4SIMD const &amp; x);</span></div>
<div class="line"><a name="l00335"></a><span class="lineno">  335</span>&#160;</div>
<div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160;        <span class="comment">//bvec4 isinf(detail::fvec4SIMD const &amp; x);</span></div>
<div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;</div>
<div class="line"><a name="l00350"></a><span class="lineno">  350</span>&#160;        <span class="comment">//detail::ivec4SIMD floatBitsToInt(detail::fvec4SIMD const &amp; value);</span></div>
<div class="line"><a name="l00351"></a><span class="lineno">  351</span>&#160;</div>
<div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;        <span class="comment">//detail::fvec4SIMD intBitsToFloat(detail::ivec4SIMD const &amp; value);</span></div>
<div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160;</div>
<div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;        detail::fvec4SIMD <a class="code" href="a00146.html#gad0f444d4b81cc53c3b6edf5aa25078c2">fma</a>(</div>
<div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;                detail::fvec4SIMD const &amp; a,</div>
<div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;                detail::fvec4SIMD const &amp; b,</div>
<div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160;                detail::fvec4SIMD const &amp; c);</div>
<div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160;</div>
<div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;        <span class="comment">//detail::fvec4SIMD frexp(detail::fvec4SIMD const &amp; x, detail::ivec4SIMD &amp; exp);</span></div>
<div class="line"><a name="l00380"></a><span class="lineno">  380</span>&#160;</div>
<div class="line"><a name="l00388"></a><span class="lineno">  388</span>&#160;        <span class="comment">//detail::fvec4SIMD ldexp(detail::fvec4SIMD const &amp; x, detail::ivec4SIMD const &amp; exp);</span></div>
<div class="line"><a name="l00389"></a><span class="lineno">  389</span>&#160;</div>
<div class="line"><a name="l00393"></a><span class="lineno">  393</span>&#160;        <span class="keywordtype">float</span> <a class="code" href="a00148.html#ga18d45e3d4c7705e67ccfabd99e521604">length</a>(</div>
<div class="line"><a name="l00394"></a><span class="lineno">  394</span>&#160;                detail::fvec4SIMD const &amp; x);</div>
<div class="line"><a name="l00395"></a><span class="lineno">  395</span>&#160;</div>
<div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;        <span class="keywordtype">float</span> <a class="code" href="a00194.html#gafe697d6287719538346bbdf8b1367c59">fastLength</a>(</div>
<div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160;                detail::fvec4SIMD const &amp; x);</div>
<div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160;</div>
<div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160;        <span class="keywordtype">float</span> niceLength(</div>
<div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160;                detail::fvec4SIMD const &amp; x);</div>
<div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160;</div>
<div class="line"><a name="l00413"></a><span class="lineno">  413</span>&#160;        detail::fvec4SIMD length4(</div>
<div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160;                detail::fvec4SIMD const &amp; x);</div>
<div class="line"><a name="l00415"></a><span class="lineno">  415</span>&#160;</div>
<div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160;        detail::fvec4SIMD fastLength4(</div>
<div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160;                detail::fvec4SIMD const &amp; x);</div>
<div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160;</div>
<div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160;        detail::fvec4SIMD niceLength4(</div>
<div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160;                detail::fvec4SIMD const &amp; x);</div>
<div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;</div>
<div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160;        <span class="keywordtype">float</span> <a class="code" href="a00148.html#ga7ca317dde0d7e94d920153554d4a02a8">distance</a>(</div>
<div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160;                detail::fvec4SIMD const &amp; p0,</div>
<div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160;                detail::fvec4SIMD const &amp; p1);</div>
<div class="line"><a name="l00436"></a><span class="lineno">  436</span>&#160;</div>
<div class="line"><a name="l00440"></a><span class="lineno">  440</span>&#160;        detail::fvec4SIMD distance4(</div>
<div class="line"><a name="l00441"></a><span class="lineno">  441</span>&#160;                detail::fvec4SIMD const &amp; p0,</div>
<div class="line"><a name="l00442"></a><span class="lineno">  442</span>&#160;                detail::fvec4SIMD const &amp; p1);</div>
<div class="line"><a name="l00443"></a><span class="lineno">  443</span>&#160;</div>
<div class="line"><a name="l00447"></a><span class="lineno">  447</span>&#160;        <span class="keywordtype">float</span> simdDot(</div>
<div class="line"><a name="l00448"></a><span class="lineno">  448</span>&#160;                detail::fvec4SIMD const &amp; x,</div>
<div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;                detail::fvec4SIMD const &amp; y);</div>
<div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160;</div>
<div class="line"><a name="l00454"></a><span class="lineno">  454</span>&#160;        detail::fvec4SIMD dot4(</div>
<div class="line"><a name="l00455"></a><span class="lineno">  455</span>&#160;                detail::fvec4SIMD const &amp; x,</div>
<div class="line"><a name="l00456"></a><span class="lineno">  456</span>&#160;                detail::fvec4SIMD const &amp; y);</div>
<div class="line"><a name="l00457"></a><span class="lineno">  457</span>&#160;</div>
<div class="line"><a name="l00461"></a><span class="lineno">  461</span>&#160;        detail::fvec4SIMD <a class="code" href="a00148.html#gafe2cae8cb26fd44be62aee97369d0af8">cross</a>(</div>
<div class="line"><a name="l00462"></a><span class="lineno">  462</span>&#160;                detail::fvec4SIMD const &amp; x,</div>
<div class="line"><a name="l00463"></a><span class="lineno">  463</span>&#160;                detail::fvec4SIMD const &amp; y);</div>
<div class="line"><a name="l00464"></a><span class="lineno">  464</span>&#160;</div>
<div class="line"><a name="l00468"></a><span class="lineno">  468</span>&#160;        detail::fvec4SIMD <a class="code" href="a00148.html#gada9451ec170a36fe53552812b9c03a68">normalize</a>(</div>
<div class="line"><a name="l00469"></a><span class="lineno">  469</span>&#160;                detail::fvec4SIMD const &amp; x);</div>
<div class="line"><a name="l00470"></a><span class="lineno">  470</span>&#160;</div>
<div class="line"><a name="l00475"></a><span class="lineno">  475</span>&#160;        detail::fvec4SIMD <a class="code" href="a00194.html#ga3b02c1d6e0c754144e2f1e110bf9f16c">fastNormalize</a>(</div>
<div class="line"><a name="l00476"></a><span class="lineno">  476</span>&#160;                detail::fvec4SIMD const &amp; x);</div>
<div class="line"><a name="l00477"></a><span class="lineno">  477</span>&#160;</div>
<div class="line"><a name="l00481"></a><span class="lineno">  481</span>&#160;        detail::fvec4SIMD simdFaceforward(</div>
<div class="line"><a name="l00482"></a><span class="lineno">  482</span>&#160;                detail::fvec4SIMD const &amp; N,</div>
<div class="line"><a name="l00483"></a><span class="lineno">  483</span>&#160;                detail::fvec4SIMD const &amp; I,</div>
<div class="line"><a name="l00484"></a><span class="lineno">  484</span>&#160;                detail::fvec4SIMD const &amp; Nref);</div>
<div class="line"><a name="l00485"></a><span class="lineno">  485</span>&#160;</div>
<div class="line"><a name="l00490"></a><span class="lineno">  490</span>&#160;        detail::fvec4SIMD <a class="code" href="a00148.html#gab63646fc36b81cf69d3ce123a72f76f2">reflect</a>(</div>
<div class="line"><a name="l00491"></a><span class="lineno">  491</span>&#160;                detail::fvec4SIMD const &amp; I,</div>
<div class="line"><a name="l00492"></a><span class="lineno">  492</span>&#160;                detail::fvec4SIMD const &amp; N);</div>
<div class="line"><a name="l00493"></a><span class="lineno">  493</span>&#160;</div>
<div class="line"><a name="l00499"></a><span class="lineno">  499</span>&#160;        detail::fvec4SIMD <a class="code" href="a00148.html#gab7e7cdf4403931a5f7b74560ad64159b">refract</a>(</div>
<div class="line"><a name="l00500"></a><span class="lineno">  500</span>&#160;                detail::fvec4SIMD const &amp; I,</div>
<div class="line"><a name="l00501"></a><span class="lineno">  501</span>&#160;                detail::fvec4SIMD const &amp; N,</div>
<div class="line"><a name="l00502"></a><span class="lineno">  502</span>&#160;                <span class="keywordtype">float</span> const &amp; eta);</div>
<div class="line"><a name="l00503"></a><span class="lineno">  503</span>&#160;</div>
<div class="line"><a name="l00507"></a><span class="lineno">  507</span>&#160;        detail::fvec4SIMD <a class="code" href="a00147.html#gae7ac2e44c14d4e8004098d0bfba6e2b8">sqrt</a>(</div>
<div class="line"><a name="l00508"></a><span class="lineno">  508</span>&#160;                detail::fvec4SIMD const &amp; x);</div>
<div class="line"><a name="l00509"></a><span class="lineno">  509</span>&#160;</div>
<div class="line"><a name="l00514"></a><span class="lineno">  514</span>&#160;        detail::fvec4SIMD niceSqrt(</div>
<div class="line"><a name="l00515"></a><span class="lineno">  515</span>&#160;                detail::fvec4SIMD const &amp; x);</div>
<div class="line"><a name="l00516"></a><span class="lineno">  516</span>&#160;</div>
<div class="line"><a name="l00521"></a><span class="lineno">  521</span>&#160;        detail::fvec4SIMD <a class="code" href="a00194.html#ga6c460e9414a50b2fc455c8f64c86cdc9">fastSqrt</a>(</div>
<div class="line"><a name="l00522"></a><span class="lineno">  522</span>&#160;                detail::fvec4SIMD const &amp; x);</div>
<div class="line"><a name="l00523"></a><span class="lineno">  523</span>&#160;</div>
<div class="line"><a name="l00527"></a><span class="lineno">  527</span>&#160;        detail::fvec4SIMD <a class="code" href="a00147.html#ga599103d4fe4ef2234761ba8da7268627">inversesqrt</a>(</div>
<div class="line"><a name="l00528"></a><span class="lineno">  528</span>&#160;                detail::fvec4SIMD const &amp; x);</div>
<div class="line"><a name="l00529"></a><span class="lineno">  529</span>&#160;</div>
<div class="line"><a name="l00534"></a><span class="lineno">  534</span>&#160;        detail::fvec4SIMD fastInversesqrt(</div>
<div class="line"><a name="l00535"></a><span class="lineno">  535</span>&#160;                detail::fvec4SIMD const &amp; x);</div>
<div class="line"><a name="l00536"></a><span class="lineno">  536</span>&#160;</div>
<div class="line"><a name="l00538"></a><span class="lineno">  538</span>&#160;}<span class="comment">//namespace glm</span></div>
<div class="line"><a name="l00539"></a><span class="lineno">  539</span>&#160;</div>
<div class="line"><a name="l00540"></a><span class="lineno">  540</span>&#160;<span class="preprocessor">#include &quot;simd_vec4.inl&quot;</span></div>
<div class="line"><a name="l00541"></a><span class="lineno">  541</span>&#160;</div>
<div class="line"><a name="l00542"></a><span class="lineno">  542</span>&#160;<span class="preprocessor">#if (GLM_COMPILER &amp; GLM_COMPILER_VC)</span></div>
<div class="line"><a name="l00543"></a><span class="lineno">  543</span>&#160;<span class="preprocessor">#       pragma warning(pop)</span></div>
<div class="line"><a name="l00544"></a><span class="lineno">  544</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00545"></a><span class="lineno">  545</span>&#160;</div>
<div class="line"><a name="l00546"></a><span class="lineno">  546</span>&#160;<span class="preprocessor">#endif//(GLM_ARCH != GLM_ARCH_PURE)</span></div>
<div class="ttc" id="a00146_html_ga8ba89e40e55ae5cdf228548f9b7639c7"><div class="ttname"><a href="a00146.html#ga8ba89e40e55ae5cdf228548f9b7639c7">glm::fract</a></div><div class="ttdeci">GLM_FUNC_DECL genType fract(genType x)</div><div class="ttdoc">Return x - floor(x). </div></div>
<div class="ttc" id="a00146_html_ga9189b2bec45ff301923ea8f8dd157fb8"><div class="ttname"><a href="a00146.html#ga9189b2bec45ff301923ea8f8dd157fb8">glm::ceil</a></div><div class="ttdeci">GLM_FUNC_DECL vecType&lt; T, P &gt; ceil(vecType&lt; T, P &gt; const &amp;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="a00194_html_ga3b02c1d6e0c754144e2f1e110bf9f16c"><div class="ttname"><a href="a00194.html#ga3b02c1d6e0c754144e2f1e110bf9f16c">glm::fastNormalize</a></div><div class="ttdeci">GLM_FUNC_DECL genType fastNormalize(genType const &amp;x)</div><div class="ttdoc">Faster than the common normalize function but less accurate. </div></div>
<div class="ttc" id="a00194_html_ga6c460e9414a50b2fc455c8f64c86cdc9"><div class="ttname"><a href="a00194.html#ga6c460e9414a50b2fc455c8f64c86cdc9">glm::fastSqrt</a></div><div class="ttdeci">GLM_FUNC_DECL genType fastSqrt(genType x)</div><div class="ttdoc">Faster than the common sqrt function but less accurate. </div></div>
<div class="ttc" id="a00157_html_gafbab23070ca47932487d25332adc7d7c"><div class="ttname"><a href="a00157.html#gafbab23070ca47932487d25332adc7d7c">glm::vec4</a></div><div class="ttdeci">highp_vec4 vec4</div><div class="ttdoc">4 components vector of floating-point numbers. </div><div class="ttdef"><b>Definition:</b> <a href="a00127_source.html#l00466">type_vec.hpp:466</a></div></div>
<div class="ttc" id="a00146_html_ga562edf7eca082cc5b7a0aaf180436daf"><div class="ttname"><a href="a00146.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="a00146_html_ga98caa7f95a94c86a86ebce893a45326c"><div class="ttname"><a href="a00146.html#ga98caa7f95a94c86a86ebce893a45326c">glm::max</a></div><div class="ttdeci">GLM_FUNC_DECL genType max(genType x, genType y)</div><div class="ttdoc">Returns y if x < y; otherwise, it returns x. </div></div>
<div class="ttc" id="a00141_html"><div class="ttname"><a href="a00141.html">glm</a></div><div class="ttdef"><b>Definition:</b> <a href="a00003_source.html#l00011">_noise.hpp:11</a></div></div>
<div class="ttc" id="a00146_html_ga12201563ef902e3b07e0d1d7656efdb1"><div class="ttname"><a href="a00146.html#ga12201563ef902e3b07e0d1d7656efdb1">glm::mod</a></div><div class="ttdeci">GLM_FUNC_DECL genType mod(genType x, genType y)</div><div class="ttdoc">Modulus. </div></div>
<div class="ttc" id="a00146_html_gada0165544c0618d634c8056a88082ce9"><div class="ttname"><a href="a00146.html#gada0165544c0618d634c8056a88082ce9">glm::round</a></div><div class="ttdeci">GLM_FUNC_DECL vecType&lt; T, P &gt; round(vecType&lt; T, P &gt; const &amp;x)</div><div class="ttdoc">Returns a value equal to the nearest integer to x. </div></div>
<div class="ttc" id="a00146_html_gadccbaffe46f369cf1a96b2aef92cbfdd"><div class="ttname"><a href="a00146.html#gadccbaffe46f369cf1a96b2aef92cbfdd">glm::mix</a></div><div class="ttdeci">GLM_FUNC_DECL vecType&lt; T, P &gt; mix(vecType&lt; T, P &gt; const &amp;x, vecType&lt; T, P &gt; const &amp;y, vecType&lt; U, P &gt; const &amp;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="a00146_html_ga634cdbf8b37edca03f2248450570fd54"><div class="ttname"><a href="a00146.html#ga634cdbf8b37edca03f2248450570fd54">glm::trunc</a></div><div class="ttdeci">GLM_FUNC_DECL vecType&lt; T, P &gt; trunc(vecType&lt; T, P &gt; const &amp;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="a00146_html_ga693d77696ff36572a0da79efec965acd"><div class="ttname"><a href="a00146.html#ga693d77696ff36572a0da79efec965acd">glm::abs</a></div><div class="ttdeci">GLM_FUNC_DECL genType abs(genType x)</div><div class="ttdoc">Returns x if x >= 0; otherwise, it returns -x. </div></div>
<div class="ttc" id="a00148_html_gafe2cae8cb26fd44be62aee97369d0af8"><div class="ttname"><a href="a00148.html#gafe2cae8cb26fd44be62aee97369d0af8">glm::cross</a></div><div class="ttdeci">GLM_FUNC_DECL tvec3&lt; T, P &gt; cross(tvec3&lt; T, P &gt; const &amp;x, tvec3&lt; T, P &gt; const &amp;y)</div><div class="ttdoc">Returns the cross product of x and y. </div></div>
<div class="ttc" id="a00148_html_gab63646fc36b81cf69d3ce123a72f76f2"><div class="ttname"><a href="a00148.html#gab63646fc36b81cf69d3ce123a72f76f2">glm::reflect</a></div><div class="ttdeci">GLM_FUNC_DECL genType reflect(genType const &amp;I, genType const &amp;N)</div><div class="ttdoc">For the incident vector I and surface orientation N, returns the reflection direction : result = I - ...</div></div>
<div class="ttc" id="a00147_html_gae7ac2e44c14d4e8004098d0bfba6e2b8"><div class="ttname"><a href="a00147.html#gae7ac2e44c14d4e8004098d0bfba6e2b8">glm::sqrt</a></div><div class="ttdeci">GLM_FUNC_DECL vecType&lt; T, P &gt; sqrt(vecType&lt; T, P &gt; const &amp;v)</div><div class="ttdoc">Returns the positive square root of v. </div></div>
<div class="ttc" id="a00148_html_gada9451ec170a36fe53552812b9c03a68"><div class="ttname"><a href="a00148.html#gada9451ec170a36fe53552812b9c03a68">glm::normalize</a></div><div class="ttdeci">GLM_FUNC_DECL vecType&lt; T, P &gt; normalize(vecType&lt; T, P &gt; const &amp;x)</div><div class="ttdoc">Returns a vector in the same direction as x but with length of 1. </div></div>
<div class="ttc" id="a00146_html_ga015a1261ff23e12650211aa872863cce"><div class="ttname"><a href="a00146.html#ga015a1261ff23e12650211aa872863cce">glm::step</a></div><div class="ttdeci">GLM_FUNC_DECL genType step(genType edge, genType x)</div><div class="ttdoc">Returns 0.0 if x < edge, otherwise it returns 1.0 for each component of a genType. </div></div>
<div class="ttc" id="a00148_html_ga7ca317dde0d7e94d920153554d4a02a8"><div class="ttname"><a href="a00148.html#ga7ca317dde0d7e94d920153554d4a02a8">glm::distance</a></div><div class="ttdeci">GLM_FUNC_DECL T distance(vecType&lt; T, P &gt; const &amp;p0, vecType&lt; T, P &gt; const &amp;p1)</div><div class="ttdoc">Returns the distance betwwen p0 and p1, i.e., length(p0 - p1). </div></div>
<div class="ttc" id="a00148_html_ga18d45e3d4c7705e67ccfabd99e521604"><div class="ttname"><a href="a00148.html#ga18d45e3d4c7705e67ccfabd99e521604">glm::length</a></div><div class="ttdeci">GLM_FUNC_DECL T length(vecType&lt; T, P &gt; const &amp;x)</div><div class="ttdoc">Returns the length of x, i.e., sqrt(x * x). </div></div>
<div class="ttc" id="a00148_html_gab7e7cdf4403931a5f7b74560ad64159b"><div class="ttname"><a href="a00148.html#gab7e7cdf4403931a5f7b74560ad64159b">glm::refract</a></div><div class="ttdeci">GLM_FUNC_DECL vecType&lt; T, P &gt; refract(vecType&lt; T, P &gt; const &amp;I, vecType&lt; T, P &gt; const &amp;N, T eta)</div><div class="ttdoc">For the incident vector I and surface normal N, and the ratio of indices of refraction eta...</div></div>
<div class="ttc" id="a00146_html_ga2c2bde1cec025b7ddff83c74a1113719"><div class="ttname"><a href="a00146.html#ga2c2bde1cec025b7ddff83c74a1113719">glm::min</a></div><div class="ttdeci">GLM_FUNC_DECL genType min(genType x, genType y)</div><div class="ttdoc">Returns y if y < x; otherwise, it returns x. </div></div>
<div class="ttc" id="a00157_html_gaa8ea2429bb3cb41a715258a447f39897"><div class="ttname"><a href="a00157.html#gaa8ea2429bb3cb41a715258a447f39897">glm::vec3</a></div><div class="ttdeci">highp_vec3 vec3</div><div class="ttdoc">3 components vector of floating-point numbers. </div><div class="ttdef"><b>Definition:</b> <a href="a00127_source.html#l00461">type_vec.hpp:461</a></div></div>
<div class="ttc" id="a00146_html_gad0f444d4b81cc53c3b6edf5aa25078c2"><div class="ttname"><a href="a00146.html#gad0f444d4b81cc53c3b6edf5aa25078c2">glm::fma</a></div><div class="ttdeci">GLM_FUNC_DECL genType fma(genType const &amp;a, genType const &amp;b, genType const &amp;c)</div><div class="ttdoc">Computes and returns a * b + c. </div></div>
<div class="ttc" id="a00157_html_ga09d0200e8ff86391d8804b4fefd5f1da"><div class="ttname"><a href="a00157.html#ga09d0200e8ff86391d8804b4fefd5f1da">glm::vec2</a></div><div class="ttdeci">highp_vec2 vec2</div><div class="ttdoc">2 components vector of floating-point numbers. </div><div class="ttdef"><b>Definition:</b> <a href="a00127_source.html#l00456">type_vec.hpp:456</a></div></div>
<div class="ttc" id="a00146_html_ga568b822b78f045f77c3325e165b44d5d"><div class="ttname"><a href="a00146.html#ga568b822b78f045f77c3325e165b44d5d">glm::floor</a></div><div class="ttdeci">GLM_FUNC_DECL vecType&lt; T, P &gt; floor(vecType&lt; T, P &gt; const &amp;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="a00147_html_ga599103d4fe4ef2234761ba8da7268627"><div class="ttname"><a href="a00147.html#ga599103d4fe4ef2234761ba8da7268627">glm::inversesqrt</a></div><div class="ttdeci">GLM_FUNC_DECL vecType&lt; T, P &gt; inversesqrt(vecType&lt; T, P &gt; const &amp;v)</div><div class="ttdoc">Returns the reciprocal of the positive square root of v. </div></div>
<div class="ttc" id="a00194_html_gafe697d6287719538346bbdf8b1367c59"><div class="ttname"><a href="a00194.html#gafe697d6287719538346bbdf8b1367c59">glm::fastLength</a></div><div class="ttdeci">GLM_FUNC_DECL genType fastLength(genType x)</div><div class="ttdoc">Faster than the common length function but less accurate. </div></div>
<div class="ttc" id="a00146_html_ga93bce26c7d80d30a62f5c508f8498a6c"><div class="ttname"><a href="a00146.html#ga93bce26c7d80d30a62f5c508f8498a6c">glm::clamp</a></div><div class="ttdeci">GLM_FUNC_DECL genType clamp(genType x, genType minVal, genType 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="a00146_html_gac3446b4138e0b8757561c07cd19f084d"><div class="ttname"><a href="a00146.html#gac3446b4138e0b8757561c07cd19f084d">glm::sign</a></div><div class="ttdeci">GLM_FUNC_DECL vecType&lt; T, P &gt; sign(vecType&lt; T, P &gt; const &amp;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><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.10
</small></address>
</body>
</html>