<ahref="a00542.html">Go to the documentation of this file.</a><divclass="fragment"><divclass="line"><aname="l00001"></a><spanclass="lineno"> 1</span> </div><divclass="line"><aname="l00014"></a><spanclass="lineno"> 14</span> <spanclass="preprocessor">#pragma once</span></div><divclass="line"><aname="l00015"></a><spanclass="lineno"> 15</span> </div><divclass="line"><aname="l00016"></a><spanclass="lineno"> 16</span> <spanclass="comment">// Dependency:</span></div><divclass="line"><aname="l00017"></a><spanclass="lineno"> 17</span> <spanclass="preprocessor">#include "../geometric.hpp"</span></div><divclass="line"><aname="l00018"></a><spanclass="lineno"> 18</span> <spanclass="preprocessor">#include "../gtx/quaternion.hpp"</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_norm 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_norm 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 T <aclass="code"href="a00760.html#ga8d1789651050adb7024917984b41c3de">length2</a>(vec<L, T, Q><spanclass="keyword">const</span>& x);</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 T <aclass="code"href="a00760.html#ga85660f1b79f66c09c7b5a6f80e68c89f">distance2</a>(vec<L, T, Q><spanclass="keyword">const</span>& p0, vec<L, T, Q><spanclass="keyword">const</span>& p1);</div><divclass="line"><aname="l00042"></a><spanclass="lineno"> 42</span> </div><divclass="line"><aname="l00045"></a><spanclass="lineno"> 45</span> <spanclass="keyword">template</span><<spanclass="keyword">typename</span> T, qualifier Q></div><divclass="line"><aname="l00046"></a><spanclass="lineno"> 46</span>  GLM_FUNC_DECL T <aclass="code"href="a00760.html#ga1a7491e2037ceeb37f83ce41addfc0be">l1Norm</a>(vec<3, T, Q><spanclass="keyword">const</span>& x, vec<3, T, Q><spanclass="keyword">const</span>& y);
<divclass="ttc"id="a00760_html_ga1a7491e2037ceeb37f83ce41addfc0be"><divclass="ttname"><ahref="a00760.html#ga1a7491e2037ceeb37f83ce41addfc0be">glm::l1Norm</a></div><divclass="ttdeci">GLM_FUNC_DECL T l1Norm(vec< 3, T, Q > const &v)</div><divclass="ttdoc">Returns the L1 norm of v. </div></div>
<divclass="ttc"id="a00760_html_ga8d1789651050adb7024917984b41c3de"><divclass="ttname"><ahref="a00760.html#ga8d1789651050adb7024917984b41c3de">glm::length2</a></div><divclass="ttdeci">GLM_FUNC_DECL T length2(vec< L, T, Q > const &x)</div><divclass="ttdoc">Returns the squared length of x. </div></div>
<divclass="ttc"id="a00760_html_gac61b6d81d796d6eb4d4183396a19ab91"><divclass="ttname"><ahref="a00760.html#gac61b6d81d796d6eb4d4183396a19ab91">glm::lxNorm</a></div><divclass="ttdeci">GLM_FUNC_DECL T lxNorm(vec< 3, T, Q > const &x, unsigned int Depth)</div><divclass="ttdoc">Returns the L norm of v. </div></div>
<divclass="ttc"id="a00760_html_ga85660f1b79f66c09c7b5a6f80e68c89f"><divclass="ttname"><ahref="a00760.html#ga85660f1b79f66c09c7b5a6f80e68c89f">glm::distance2</a></div><divclass="ttdeci">GLM_FUNC_DECL T distance2(vec< L, T, Q > const &p0, vec< L, T, Q > const &p1)</div><divclass="ttdoc">Returns the squared distance between p0 and p1, i.e., length2(p0 - p1). </div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hrclass="footer"/><addressclass="footer"><small>
Generated by  <ahref="http://www.doxygen.org/index.html">