<ahref="a00488.html">Go to the documentation of this file.</a><divclass="fragment"><divclass="line"><aname="l00001"></a><spanclass="lineno"> 1</span> </div><divclass="line"><aname="l00015"></a><spanclass="lineno"> 15</span> <spanclass="preprocessor">#pragma once</span></div><divclass="line"><aname="l00016"></a><spanclass="lineno"> 16</span> </div><divclass="line"><aname="l00017"></a><spanclass="lineno"> 17</span> <spanclass="comment">// Dependency:</span></div><divclass="line"><aname="l00018"></a><spanclass="lineno"> 18</span> <spanclass="preprocessor">#include "../common.hpp"</span></div><divclass="line"><aname="l00019"></a><spanclass="lineno"> 19</span> <spanclass="preprocessor">#include "../exponential.hpp"</span></div><divclass="line"><aname="l00020"></a><spanclass="lineno"> 20</span> <spanclass="preprocessor">#include "../geometric.hpp"</span></div><divclass="line"><aname="l00021"></a><spanclass="lineno"> 21</span> </div><divclass="line"><aname="l00022"></a><spanclass="lineno"> 22</span> <spanclass="preprocessor">#ifndef GLM_ENABLE_EXPERIMENTAL</span></div><divclass="line"><aname="l00023"></a><spanclass="lineno"> 23</span> <spanclass="preprocessor"># error "GLM: GLM_GTX_fast_square_root 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="l00024"></a><spanclass="lineno"> 24</span> <spanclass="preprocessor">#endif</span></div><divclass="line"><aname="l00025"></a><spanclass="lineno"> 25</span> </div><divclass="line"><aname="l00026"></a><spanclass="lineno"> 26</span> <spanclass="preprocessor">#if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)</span></div><divclass="line"><aname="l00027"></a><spanclass="lineno"> 27</span> <spanclass="preprocessor"># pragma message("GLM: GLM_GTX_fast_square_root extension included")</span></div><divclass="line"><aname="l00028"></a><spanclass="lineno"> 28</span> <spanclass="preprocessor">#endif</span></div><divclass="line"><aname="l00029"></a><spanclass="lineno"> 29</span> </div><divclass="line"><aname="l00030"></a><spanclass="lineno"> 30</span> <spanclass="keyword">namespace </span><aclass="code"href="a00792.html">glm</a></div><divclass="line"><aname="l00031"></a><spanclass="lineno"> 31</span> {</div><divclass="line"><aname="l00034"></a><spanclass="lineno"> 34</span> </div><divclass="line"><aname="l00038"></a><spanclass="lineno"> 38</span> <spanclass="keyword">template</span><<spanclass="keyword">typename</span> genType></div><divclass="line"><aname="l00039"></a><spanclass="lineno"> 39</span>  GLM_FUNC_DECL genType <aclass="code"href="a00741.html#gae83f0c03614f73eae5478c5b6274ee6d">fastSqrt</a>(genType x);</div><divclass="line"><aname="l00040"></a><spanclass="lineno"> 40</span> </div><divclass="line"><aname="l00044"></a><spanclass="lineno"> 44</span> <spanclass="keyword">template</span><length_t L, <spanclass="keyword">typename</span> T, qualifier Q></div><divclass="line"><aname="l00045"></a><spanclass="lineno"> 45</span>  GLM_FUNC_DECL vec<L, T, Q><aclass="code"href="a00741.html#gae83f0c03614f73eae5478c5b6274ee6d">fastSqrt</a>(vec<L, T, Q><spanclass="keyword">const</span>& x);</div><divclass="line"><aname="l00046"></a><spanclass="lineno"> 46</span> </div><divclass="line"><aname="l00050"></a><spanclass="lineno"> 50</span> <spanclass="keyword">template</span><<spanclass="keyword">typename</span> genType></div><divclass="line"><aname="l00051"></a><spanclass="lineno"> 51</span>  GLM_FUNC_DECL genType <aclass="code"href="a00741.html#gadcd7be12b1e5ee182141359d4c45dd24">fastInverseSqrt</a>(genType x);</div><divclass="line"><aname="l00052"></
<divclass="ttc"id="a00741_html_gae83f0c03614f73eae5478c5b6274ee6d"><divclass="ttname"><ahref="a00741.html#gae83f0c03614f73eae5478c5b6274ee6d">glm::fastSqrt</a></div><divclass="ttdeci">GLM_FUNC_DECL vec< L, T, Q > fastSqrt(vec< L, T, Q > const &x)</div><divclass="ttdoc">Faster than the common sqrt function but less accurate. </div></div>
<divclass="ttc"id="a00741_html_ga90f66be92ef61e705c005e7b3209edb8"><divclass="ttname"><ahref="a00741.html#ga90f66be92ef61e705c005e7b3209edb8">glm::fastLength</a></div><divclass="ttdeci">GLM_FUNC_DECL T fastLength(vec< L, T, Q > const &x)</div><divclass="ttdoc">Faster than the common length function but less accurate. </div></div>
<divclass="ttc"id="a00741_html_ga3b02c1d6e0c754144e2f1e110bf9f16c"><divclass="ttname"><ahref="a00741.html#ga3b02c1d6e0c754144e2f1e110bf9f16c">glm::fastNormalize</a></div><divclass="ttdeci">GLM_FUNC_DECL genType fastNormalize(genType const &x)</div><divclass="ttdoc">Faster than the common normalize function but less accurate. </div></div>
<divclass="ttc"id="a00741_html_ga42d3e771fa7cb3c60d828e315829df19"><divclass="ttname"><ahref="a00741.html#ga42d3e771fa7cb3c60d828e315829df19">glm::fastDistance</a></div><divclass="ttdeci">GLM_FUNC_DECL T fastDistance(vec< L, T, Q > const &x, vec< L, T, Q > const &y)</div><divclass="ttdoc">Faster than the common distance function but less accurate. </div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hrclass="footer"/><addressclass="footer"><small>
Generated by  <ahref="http://www.doxygen.org/index.html">