<ahref="a00461.html">Go to the documentation of this file.</a><divclass="fragment"><divclass="line"><aname="l00001"></a><spanclass="lineno"> 1</span> </div><divclass="line"><aname="l00013"></a><spanclass="lineno"> 13</span> <spanclass="preprocessor">#pragma once</span></div><divclass="line"><aname="l00014"></a><spanclass="lineno"> 14</span> </div><divclass="line"><aname="l00015"></a><spanclass="lineno"> 15</span> <spanclass="comment">// Dependency:</span></div><divclass="line"><aname="l00016"></a><spanclass="lineno"> 16</span> <spanclass="preprocessor">#include "../glm.hpp"</span></div><divclass="line"><aname="l00017"></a><spanclass="lineno"> 17</span> <spanclass="preprocessor">#include "../gtc/quaternion.hpp"</span></div><divclass="line"><aname="l00018"></a><spanclass="lineno"> 18</span> </div><divclass="line"><aname="l00019"></a><spanclass="lineno"> 19</span> <spanclass="preprocessor">#ifndef GLM_ENABLE_EXPERIMENTAL</span></div><divclass="line"><aname="l00020"></a><spanclass="lineno"> 20</span> <spanclass="preprocessor"># error "GLM: GLM_GTX_compatibility is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."</span></div><divclass="line"><aname="l00021"></a><spanclass="lineno"> 21</span> <spanclass="preprocessor">#endif</span></div><divclass="line"><aname="l00022"></a><spanclass="lineno"> 22</span> </div><divclass="line"><aname="l00023"></a><spanclass="lineno"> 23</span> <spanclass="preprocessor">#if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)</span></div><divclass="line"><aname="l00024"></a><spanclass="lineno"> 24</span> <spanclass="preprocessor"># pragma message("GLM: GLM_GTX_compatibility extension included")</span></div><divclass="line"><aname="l00025"></a><spanclass="lineno"> 25</span> <spanclass="preprocessor">#endif</span></div><divclass="line"><aname="l00026"></a><spanclass="lineno"> 26</span> </div><divclass="line"><aname="l00027"></a><spanclass="lineno"> 27</span> <spanclass="preprocessor">#if GLM_COMPILER & GLM_COMPILER_VC</span></div><divclass="line"><aname="l00028"></a><spanclass="lineno"> 28</span> <spanclass="preprocessor"># include <cfloat></span></div><divclass="line"><aname="l00029"></a><spanclass="lineno"> 29</span> <spanclass="preprocessor">#elif GLM_COMPILER & GLM_COMPILER_GCC</span></div><divclass="line"><aname="l00030"></a><spanclass="lineno"> 30</span> <spanclass="preprocessor"># include <cmath></span></div><divclass="line"><aname="l00031"></a><spanclass="lineno"> 31</span> <spanclass="preprocessor"># if(GLM_PLATFORM & GLM_PLATFORM_ANDROID)</span></div><divclass="line"><aname="l00032"></a><spanclass="lineno"> 32</span> <spanclass="preprocessor"># undef isfinite</span></div><divclass="line"><aname="l00033"></a><spanclass="lineno"> 33</span> <spanclass="preprocessor"># endif</span></div><divclass="line"><aname="l00034"></a><spanclass="lineno"> 34</span> <spanclass="preprocessor">#endif//GLM_COMPILER</span></div><divclass="line"><aname="l00035"></a><spanclass="lineno"> 35</span> </div><divclass="line"><aname="l00036"></a><spanclass="lineno"> 36</span> <spanclass="keyword">namespace </span><aclass="code"href="a00792.html">glm</a></div><divclass="line"><aname="l00037"></a><spanclass="lineno"> 37</span> {</div><divclass="line"><aname="l00040"></a><spanclass="lineno"> 40</span> </div><divclass="line"><aname="l00041"></a><spanclass="lineno"><aclass="line"href="a00732.html#ga5494ba3a95ea6594c86fc75236886864"> 41</a></span> <spanclass="keyword">template</span><<spanclass="keyword">typename</span> T> GLM_FUNC_QUALIFIER T <aclass="code"href="a00732.html#gab5477ab69c40de4db5d58d3359529724">lerp</a>(T x
<divclass="ttc"id="a00732_html_gaa6c69f04ba95f3faedf95dae874de576"><divclass="ttname"><ahref="a00732.html#gaa6c69f04ba95f3faedf95dae874de576">glm::float3x2</a></div><divclass="ttdeci">mat< 3, 2, float, highp > float3x2</div><divclass="ttdoc">single-qualifier floating-point matrix with 3 x 2 components. (From GLM_GTX_compatibility extension) ...</div><divclass="ttdef"><b>Definition:</b><ahref="a00461_source.html#l00107">compatibility.hpp:107</a></div></div>
<divclass="ttc"id="a00732_html_gad0f5dc7f22c2065b1b06d57f1c0658fe"><divclass="ttname"><ahref="a00732.html#gad0f5dc7f22c2065b1b06d57f1c0658fe">glm::bool4x3</a></div><divclass="ttdeci">mat< 4, 3, bool, highp > bool4x3</div><divclass="ttdoc">boolean matrix with 4 x 3 components. (From GLM_GTX_compatibility extension) </div><divclass="ttdef"><b>Definition:</b><ahref="a00461_source.html#l00079">compatibility.hpp:79</a></div></div>
<divclass="ttc"id="a00732_html_ga19925badbe10ce61df1d0de00be0b5ad"><divclass="ttname"><ahref="a00732.html#ga19925badbe10ce61df1d0de00be0b5ad">glm::isfinite</a></div><divclass="ttdeci">GLM_FUNC_DECL vec< 4, bool, Q > isfinite(const vec< 4, T, Q >&x)</div><divclass="ttdoc">Test whether or not a scalar or each vector component is a finite value. (From GLM_GTX_compatibility)...</div></div>
<divclass="ttc"id="a00732_html_ga2749d59a7fddbac44f34ba78e57ef807"><divclass="ttname"><ahref="a00732.html#ga2749d59a7fddbac44f34ba78e57ef807">glm::int2x4</a></div><divclass="ttdeci">mat< 2, 4, int, highp > int2x4</div><divclass="ttdoc">integer matrix with 2 x 4 components. (From GLM_GTX_compatibility extension) </div><divclass="ttdef"><b>Definition:</b><ahref="a00461_source.html#l00090">compatibility.hpp:90</a></div></div>
<divclass="ttc"id="a00732_html_gabca29ccceea53669618b751aae0ba83d"><divclass="ttname"><ahref="a00732.html#gabca29ccceea53669618b751aae0ba83d">glm::double4x2</a></div><divclass="ttdeci">mat< 4, 2, double, highp > double4x2</div><divclass="ttdoc">double-qualifier floating-point matrix with 4 x 2 components. (From GLM_GTX_compatibility extension) ...</div><divclass="ttdef"><b>Definition:</b><ahref="a00461_source.html#l00126">compatibility.hpp:126</a></div></div>
<divclass="ttc"id="a00732_html_gacd33061fc64a7b2dcfd7322c49d9557a"><divclass="ttname"><ahref="a00732.html#gacd33061fc64a7b2dcfd7322c49d9557a">glm::double2x4</a></div><divclass="ttdeci">mat< 2, 4, double, highp > double2x4</div><divclass="ttdoc">double-qualifier floating-point matrix with 2 x 4 components. (From GLM_GTX_compatibility extension) ...</div><divclass="ttdef"><b>Definition:</b><ahref="a00461_source.html#l00122">compatibility.hpp:122</a></div></div>
<divclass="ttc"id="a00662_html_ga7cd77683da6361e297c56443fc70806d"><divclass="ttname"><ahref="a00662.html#ga7cd77683da6361e297c56443fc70806d">glm::clamp</a></div><divclass="ttdeci">GLM_FUNC_DECL GLM_CONSTEXPR genType clamp(genType x, genType minVal, genType maxVal)</div><divclass="ttdoc">Returns min(max(x, minVal), maxVal) for each component in x using the floating-point values minVal an...</div></div>
<divclass="ttc"id="a00732_html_gaddcd7aa2e30e61af5b38660613d3979e"><divclass="ttname"><ahref="a00732.html#gaddcd7aa2e30e61af5b38660613d3979e">glm::bool1</a></div><divclass="ttdeci">bool bool1</div><divclass="ttdoc">boolean type with 1 component. (From GLM_GTX_compatibility extension) </div><divclass="ttdef"><b>Definition:</b><ahref="a00461_source.html#l00066">compatibility.hpp:66</a></div></div>
<divclass="ttc"id="a00732_html_gaa4cbe16a92cf3664376c7a2fc5126aa8"><divclass="ttname"><ahref="a00732.html#gaa4cbe16a92cf3664376c7a2fc5126aa8">glm::int3x2</a></div><divclass="ttdeci">mat< 3, 2, int, highp > int3x2</div><divclass="ttdoc">integer matrix with 3 x 2 components. (From GLM_GTX_compatibility extension) </div><divclass="ttdef"><b>Definition:</b><ahref="a00461_source.html#l00091">compatibility.hpp:91</a></div></div>
<divclass="ttc"id="a00732_html_ga7f895c936f0c29c8729afbbf22806090"><divclass="ttname"><ahref="a00732.html#ga7f895c936f0c29c8729afbbf22806090">glm::bool1x1</a></div><divclass="ttdeci">bool bool1x1</div><divclass="ttdoc">boolean matrix with 1 x 1 component. (From GLM_GTX_compatibility extension) </div><divclass="ttdef"><b>Definition:</b><ahref="a00461_source.html#l00071">compatibility.hpp:71</a></div></div>
<divclass="ttc"id="a00732_html_ga5ec08fc39c9d783dfcc488be240fe975"><divclass="ttname"><ahref="a00732.html#ga5ec08fc39c9d783dfcc488be240fe975">glm::double3x2</a></div><divclass="ttdeci">mat< 3, 2, double, highp > double3x2</div><divclass="ttdoc">double-qualifier floating-point matrix with 3 x 2 components. (From GLM_GTX_compatibility extension) ...</div><divclass="ttdef"><b>Definition:</b><ahref="a00461_source.html#l00123">compatibility.hpp:123</a></div></div>
<divclass="ttc"id="a00732_html_ga6ceb5d38a58becdf420026e12a6562f3"><divclass="ttname"><ahref="a00732.html#ga6ceb5d38a58becdf420026e12a6562f3">glm::float3x3</a></div><divclass="ttdeci">mat< 3, 3, float, highp > float3x3</div><divclass="ttdoc">single-qualifier floating-point matrix with 3 x 3 components. (From GLM_GTX_compatibility extension) ...</div><divclass="ttdef"><b>Definition:</b><ahref="a00461_source.html#l00108">compatibility.hpp:108</a></div></div>
<divclass="ttc"id="a00732_html_gaba86c28da7bf5bdac64fecf7d56e8ff3"><divclass="ttname"><ahref="a00732.html#gaba86c28da7bf5bdac64fecf7d56e8ff3">glm::atan2</a></div><divclass="ttdeci">GLM_FUNC_QUALIFIER vec< 4, T, Q > atan2(const vec< 4, T, Q >&x, const vec< 4, T, Q >&y)</div><divclass="ttdoc">Arc tangent. Returns an angle whose tangent is y/x. The signs of x and y are used to determine what q...</div><divclass="ttdef"><b>Definition:</b><ahref="a00461_source.html#l00058">compatibility.hpp:58</a></div></div>
<divclass="ttc"id="a00662_html_ga8e93f374aae27d1a88b921860351f8d4"><divclass="ttname"><ahref="a00662.html#ga8e93f374aae27d1a88b921860351f8d4">glm::mix</a></div><divclass="ttdeci">GLM_FUNC_DECL genTypeT mix(genTypeT x, genTypeT y, genTypeU a)</div><divclass="ttdoc">If genTypeU is a floating scalar or vector: Returns x * (1.0 - a) + y * a, i.e., the linear blend of ...</div></div>
<divclass="ttc"id="a00732_html_gae4a2c53f14aeec9a17c2b81142b7e82d"><divclass="ttname"><ahref="a00732.html#gae4a2c53f14aeec9a17c2b81142b7e82d">glm::int4x3</a></div><divclass="ttdeci">mat< 4, 3, int, highp > int4x3</div><divclass="ttdoc">integer matrix with 4 x 3 components. (From GLM_GTX_compatibility extension) </div><divclass="ttdef"><b>Definition:</b><ahref="a00461_source.html#l00095">compatibility.hpp:95</a></div></div>
<divclass="ttc"id="a00732_html_gac0a51b4812038aa81d73ffcc37f741ac"><divclass="ttname"><ahref="a00732.html#gac0a51b4812038aa81d73ffcc37f741ac">glm::float4x3</a></div><divclass="ttdeci">mat< 4, 3, float, highp > float4x3</div><divclass="ttdoc">single-qualifier floating-point matrix with 4 x 3 components. (From GLM_GTX_compatibility extension) ...</div><divclass="ttdef"><b>Definition:</b><ahref="a00461_source.html#l00111">compatibility.hpp:111</a></div></div>
<divclass="ttc"id="a00732_html_ga13c3200b82708f73faac6d7f09ec91a3"><divclass="ttname"><ahref="a00732.html#ga13c3200b82708f73faac6d7f09ec91a3">glm::bool4</a></div><divclass="ttdeci">vec< 4, bool, highp > bool4</div><divclass="ttdoc">boolean type with 4 components. (From GLM_GTX_compatibility extension) </div><divclass="ttdef"><b>Definition:</b><ahref="a00461_source.html#l00069">compatibility.hpp:69</a></div></div>
<divclass="ttc"id="a00732_html_gab5477ab69c40de4db5d58d3359529724"><divclass="ttname"><ahref="a00732.html#gab5477ab69c40de4db5d58d3359529724">glm::lerp</a></div><divclass="ttdeci">GLM_FUNC_QUALIFIER vec< 4, T, Q > lerp(const vec< 4, T, Q >&x, const vec< 4, T, Q >&y, const vec< 4, T, Q >&a)</div><divclass="ttdoc">Returns the component-wise result of x * (1.0 - a) + y * a, i.e., the linear blend of x and y using v...</div><divclass="ttdef"><b>Definition:</b><ahref="a00461_source.html#l00048">compatibility.hpp:48</a></div></div>