<ahref="a00611.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 <cfloat></span></div><divclass="line"><aname="l00018"></a><spanclass="lineno"> 18</span> <spanclass="preprocessor">#include <limits></span></div><divclass="line"><aname="l00019"></a><spanclass="lineno"> 19</span> </div><divclass="line"><aname="l00020"></a><spanclass="lineno"> 20</span> <spanclass="preprocessor">#ifndef GLM_ENABLE_EXPERIMENTAL</span></div><divclass="line"><aname="l00021"></a><spanclass="lineno"> 21</span> <spanclass="preprocessor"># error "GLM: GLM_GTX_vector_query 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="l00022"></a><spanclass="lineno"> 22</span> <spanclass="preprocessor">#endif</span></div><divclass="line"><aname="l00023"></a><spanclass="lineno"> 23</span> </div><divclass="line"><aname="l00024"></a><spanclass="lineno"> 24</span> <spanclass="preprocessor">#if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)</span></div><divclass="line"><aname="l00025"></a><spanclass="lineno"> 25</span> <spanclass="preprocessor"># pragma message("GLM: GLM_GTX_vector_query extension included")</span></div><divclass="line"><aname="l00026"></a><spanclass="lineno"> 26</span> <spanclass="preprocessor">#endif</span></div><divclass="line"><aname="l00027"></a><spanclass="lineno"> 27</span> </div><divclass="line"><aname="l00028"></a><spanclass="lineno"> 28</span> <spanclass="keyword">namespace </span><aclass="code"href="a00792.html">glm</a></div><divclass="line"><aname="l00029"></a><spanclass="lineno"> 29</span> {</div><divclass="line"><aname="l00032"></a><spanclass="lineno"> 32</span> </div><divclass="line"><aname="l00035"></a><spanclass="lineno"> 35</span> <spanclass="keyword">template</span><length_t L, <spanclass="keyword">typename</span> T, qualifier Q></div><divclass="line"><aname="l00036"></a><spanclass="lineno"> 36</span>  GLM_FUNC_DECL <spanclass="keywordtype">bool</span><aclass="code"href="a00785.html#ga13da4a787a2ff70e95d561fb19ff91b4">areCollinear</a>(vec<L, T, Q><spanclass="keyword">const</span>& v0, vec<L, T, Q><spanclass="keyword">const</span>& v1, T <spanclass="keyword">const</span>&<aclass="code"href="a00680.html#ga2a1e57fc5592b69cfae84174cbfc9429">epsilon</a>);</div><divclass="line"><aname="l00037"></a><spanclass="lineno"> 37</span> </div><divclass="line"><aname="l00040"></a><spanclass="lineno"> 40</span> <spanclass="keyword">template</span><length_t L, <spanclass="keyword">typename</span> T, qualifier Q></div><divclass="line"><aname="l00041"></a><spanclass="lineno"> 41</span>  GLM_FUNC_DECL <spanclass="keywordtype">bool</span><aclass="code"href="a00785.html#gac7b95b3f798e3c293262b2bdaad47c57">areOrthogonal</a>(vec<L, T, Q><spanclass="keyword">const</span>& v0, vec<L, T, Q><spanclass="keyword">const</span>& v1, T <spanclass="keyword">const</span>&<aclass="code"href="a00680.html#ga2a1e57fc5592b69cfae84174cbfc9429">epsilon</a>);</div><divclass="line"><aname="l00042"></a><span
<divclass="ttc"id="a00785_html_ga1b091c3d7f9ee3b0708311c001c293e3"><divclass="ttname"><ahref="a00785.html#ga1b091c3d7f9ee3b0708311c001c293e3">glm::areOrthonormal</a></div><divclass="ttdeci">GLM_FUNC_DECL bool areOrthonormal(vec< L, T, Q > const &v0, vec< L, T, Q > const &v1, T const &epsilon)</div><divclass="ttdoc">Check whether two vectors are orthonormal. </div></div>
<divclass="ttc"id="a00680_html_ga2a1e57fc5592b69cfae84174cbfc9429"><divclass="ttname"><ahref="a00680.html#ga2a1e57fc5592b69cfae84174cbfc9429">glm::epsilon</a></div><divclass="ttdeci">GLM_FUNC_DECL GLM_CONSTEXPR genType epsilon()</div><divclass="ttdoc">Return the epsilon constant for floating point types. </div></div>
<divclass="ttc"id="a00785_html_ga13da4a787a2ff70e95d561fb19ff91b4"><divclass="ttname"><ahref="a00785.html#ga13da4a787a2ff70e95d561fb19ff91b4">glm::areCollinear</a></div><divclass="ttdeci">GLM_FUNC_DECL bool areCollinear(vec< L, T, Q > const &v0, vec< L, T, Q > const &v1, T const &epsilon)</div><divclass="ttdoc">Check whether two vectors are collinears. </div></div>
<divclass="ttc"id="a00785_html_gaf6ec1688eab7442fe96fe4941d5d4e76"><divclass="ttname"><ahref="a00785.html#gaf6ec1688eab7442fe96fe4941d5d4e76">glm::isCompNull</a></div><divclass="ttdeci">GLM_FUNC_DECL vec< L, bool, Q > isCompNull(vec< L, T, Q > const &v, T const &epsilon)</div><divclass="ttdoc">Check whether a each component of a vector is null. </div></div>
<divclass="ttc"id="a00785_html_gac7b95b3f798e3c293262b2bdaad47c57"><divclass="ttname"><ahref="a00785.html#gac7b95b3f798e3c293262b2bdaad47c57">glm::areOrthogonal</a></div><divclass="ttdeci">GLM_FUNC_DECL bool areOrthogonal(vec< L, T, Q > const &v0, vec< L, T, Q > const &v1, T const &epsilon)</div><divclass="ttdoc">Check whether two vectors are orthogonals. </div></div>
<divclass="ttc"id="a00785_html_gab4a3637dbcb4bb42dc55caea7a1e0495"><divclass="ttname"><ahref="a00785.html#gab4a3637dbcb4bb42dc55caea7a1e0495">glm::isNull</a></div><divclass="ttdeci">GLM_FUNC_DECL bool isNull(vec< L, T, Q > const &v, T const &epsilon)</div><divclass="ttdoc">Check whether a vector is null. </div></div>