Updated API doc
This commit is contained in:
@@ -103,45 +103,45 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor"># pragma message("GLM: GLM_GTX_fast_square_root extension included")</span></div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="keyword">namespace </span><a class="code" href="a00143.html">glm</a></div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="keyword">namespace </span><a class="code" href="a00135.html">glm</a></div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> {</div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="keyword">template</span><<span class="keyword">typename</span> genType> </div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  GLM_FUNC_DECL genType <a class="code" href="a00198.html#ga0698f6cd07d1cb4a0e7093a2b63ff3b1">fastSqrt</a>(genType x);</div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  GLM_FUNC_DECL genType <a class="code" href="a00184.html#gae83f0c03614f73eae5478c5b6274ee6d">fastSqrt</a>(genType x);</div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> </div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keyword">template</span><length_t L, <span class="keyword">typename</span> T, qualifier P></div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  GLM_FUNC_DECL vec<L, T, P> <a class="code" href="a00198.html#ga0698f6cd07d1cb4a0e7093a2b63ff3b1">fastSqrt</a>(vec<L, T, P> <span class="keyword">const</span> & x);</div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keyword">template</span><length_t L, <span class="keyword">typename</span> T, qualifier Q></div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  GLM_FUNC_DECL vec<L, T, Q> <a class="code" href="a00184.html#gae83f0c03614f73eae5478c5b6274ee6d">fastSqrt</a>(vec<L, T, Q> <span class="keyword">const</span>& x);</div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> </div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="keyword">template</span><<span class="keyword">typename</span> genType> </div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  GLM_FUNC_DECL genType <a class="code" href="a00198.html#ga2879b142a894f623d545eff460842b17">fastInverseSqrt</a>(genType x);</div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  GLM_FUNC_DECL genType <a class="code" href="a00184.html#gadcd7be12b1e5ee182141359d4c45dd24">fastInverseSqrt</a>(genType x);</div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> </div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keyword">template</span><length_t L, <span class="keyword">typename</span> T, qualifier P></div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  GLM_FUNC_DECL vec<L, T, P> <a class="code" href="a00198.html#ga2879b142a894f623d545eff460842b17">fastInverseSqrt</a>(vec<L, T, P> <span class="keyword">const</span> & x);</div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keyword">template</span><length_t L, <span class="keyword">typename</span> T, qualifier Q></div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  GLM_FUNC_DECL vec<L, T, Q> <a class="code" href="a00184.html#gadcd7be12b1e5ee182141359d4c45dd24">fastInverseSqrt</a>(vec<L, T, Q> <span class="keyword">const</span>& x);</div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> </div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keyword">template</span><<span class="keyword">typename</span> genType></div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  GLM_FUNC_DECL genType <a class="code" href="a00198.html#ga47b9f08eccedaf563b9c1d2aa358761d">fastLength</a>(genType x);</div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  GLM_FUNC_DECL genType <a class="code" href="a00184.html#ga90f66be92ef61e705c005e7b3209edb8">fastLength</a>(genType x);</div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> </div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keyword">template</span><length_t L, <span class="keyword">typename</span> T, qualifier P></div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  GLM_FUNC_DECL T <a class="code" href="a00198.html#ga47b9f08eccedaf563b9c1d2aa358761d">fastLength</a>(vec<L, T, P> <span class="keyword">const</span> & x);</div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keyword">template</span><length_t L, <span class="keyword">typename</span> T, qualifier Q></div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  GLM_FUNC_DECL T <a class="code" href="a00184.html#ga90f66be92ef61e705c005e7b3209edb8">fastLength</a>(vec<L, T, Q> <span class="keyword">const</span>& x);</div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> </div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keyword">template</span><<span class="keyword">typename</span> genType></div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  GLM_FUNC_DECL genType <a class="code" href="a00198.html#ga6852c4d8c4fc5346b65e6e4700c6bd19">fastDistance</a>(genType x, genType y);</div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  GLM_FUNC_DECL genType <a class="code" href="a00184.html#ga42d3e771fa7cb3c60d828e315829df19">fastDistance</a>(genType x, genType y);</div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> </div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keyword">template</span><length_t L, <span class="keyword">typename</span> T, qualifier P></div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  GLM_FUNC_DECL T <a class="code" href="a00198.html#ga6852c4d8c4fc5346b65e6e4700c6bd19">fastDistance</a>(vec<L, T, P> <span class="keyword">const</span> & x, vec<L, T, P> <span class="keyword">const</span> & y);</div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keyword">template</span><length_t L, <span class="keyword">typename</span> T, qualifier Q></div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  GLM_FUNC_DECL T <a class="code" href="a00184.html#ga42d3e771fa7cb3c60d828e315829df19">fastDistance</a>(vec<L, T, Q> <span class="keyword">const</span>& x, vec<L, T, Q> <span class="keyword">const</span>& y);</div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> </div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="keyword">template</span><<span class="keyword">typename</span> genType> </div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  GLM_FUNC_DECL genType <a class="code" href="a00198.html#ga3b02c1d6e0c754144e2f1e110bf9f16c">fastNormalize</a>(genType <span class="keyword">const</span> & x);</div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  GLM_FUNC_DECL genType <a class="code" href="a00184.html#ga3b02c1d6e0c754144e2f1e110bf9f16c">fastNormalize</a>(genType <span class="keyword">const</span>& x);</div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span> </div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> }<span class="comment">// namespace glm</span></div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> </div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span> <span class="preprocessor">#include "fast_square_root.inl"</span></div>
|
||||
<div class="ttc" id="a00198_html_ga2879b142a894f623d545eff460842b17"><div class="ttname"><a href="a00198.html#ga2879b142a894f623d545eff460842b17">glm::fastInverseSqrt</a></div><div class="ttdeci">GLM_FUNC_DECL vec< L, T, P > fastInverseSqrt(vec< L, T, P > const &x)</div><div class="ttdoc">Faster than the common inversesqrt function but less accurate. </div></div>
|
||||
<div class="ttc" id="a00198_html_ga3b02c1d6e0c754144e2f1e110bf9f16c"><div class="ttname"><a href="a00198.html#ga3b02c1d6e0c754144e2f1e110bf9f16c">glm::fastNormalize</a></div><div class="ttdeci">GLM_FUNC_DECL genType fastNormalize(genType const &x)</div><div class="ttdoc">Faster than the common normalize function but less accurate. </div></div>
|
||||
<div class="ttc" id="a00143_html"><div class="ttname"><a href="a00143.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="a00198_html_ga6852c4d8c4fc5346b65e6e4700c6bd19"><div class="ttname"><a href="a00198.html#ga6852c4d8c4fc5346b65e6e4700c6bd19">glm::fastDistance</a></div><div class="ttdeci">GLM_FUNC_DECL T fastDistance(vec< L, T, P > const &x, vec< L, T, P > const &y)</div><div class="ttdoc">Faster than the common distance function but less accurate. </div></div>
|
||||
<div class="ttc" id="a00198_html_ga47b9f08eccedaf563b9c1d2aa358761d"><div class="ttname"><a href="a00198.html#ga47b9f08eccedaf563b9c1d2aa358761d">glm::fastLength</a></div><div class="ttdeci">GLM_FUNC_DECL T fastLength(vec< L, T, P > const &x)</div><div class="ttdoc">Faster than the common length function but less accurate. </div></div>
|
||||
<div class="ttc" id="a00198_html_ga0698f6cd07d1cb4a0e7093a2b63ff3b1"><div class="ttname"><a href="a00198.html#ga0698f6cd07d1cb4a0e7093a2b63ff3b1">glm::fastSqrt</a></div><div class="ttdeci">GLM_FUNC_DECL vec< L, T, P > fastSqrt(vec< L, T, P > const &x)</div><div class="ttdoc">Faster than the common sqrt function but less accurate. </div></div>
|
||||
<div class="ttc" id="a00184_html_ga90f66be92ef61e705c005e7b3209edb8"><div class="ttname"><a href="a00184.html#ga90f66be92ef61e705c005e7b3209edb8">glm::fastLength</a></div><div class="ttdeci">GLM_FUNC_DECL T fastLength(vec< L, T, Q > const &x)</div><div class="ttdoc">Faster than the common length function but less accurate. </div></div>
|
||||
<div class="ttc" id="a00135_html"><div class="ttname"><a href="a00135.html">glm</a></div><div class="ttdef"><b>Definition:</b> <a href="a00015_source.html#l00020">common.hpp:20</a></div></div>
|
||||
<div class="ttc" id="a00184_html_gae83f0c03614f73eae5478c5b6274ee6d"><div class="ttname"><a href="a00184.html#gae83f0c03614f73eae5478c5b6274ee6d">glm::fastSqrt</a></div><div class="ttdeci">GLM_FUNC_DECL vec< L, T, Q > fastSqrt(vec< L, T, Q > const &x)</div><div class="ttdoc">Faster than the common sqrt function but less accurate. </div></div>
|
||||
<div class="ttc" id="a00184_html_ga3b02c1d6e0c754144e2f1e110bf9f16c"><div class="ttname"><a href="a00184.html#ga3b02c1d6e0c754144e2f1e110bf9f16c">glm::fastNormalize</a></div><div class="ttdeci">GLM_FUNC_DECL genType fastNormalize(genType const &x)</div><div class="ttdoc">Faster than the common normalize function but less accurate. </div></div>
|
||||
<div class="ttc" id="a00184_html_gadcd7be12b1e5ee182141359d4c45dd24"><div class="ttname"><a href="a00184.html#gadcd7be12b1e5ee182141359d4c45dd24">glm::fastInverseSqrt</a></div><div class="ttdeci">GLM_FUNC_DECL vec< L, T, Q > fastInverseSqrt(vec< L, T, Q > const &x)</div><div class="ttdoc">Faster than the common inversesqrt function but less accurate. </div></div>
|
||||
<div class="ttc" id="a00184_html_ga42d3e771fa7cb3c60d828e315829df19"><div class="ttname"><a href="a00184.html#ga42d3e771fa7cb3c60d828e315829df19">glm::fastDistance</a></div><div class="ttdeci">GLM_FUNC_DECL T fastDistance(vec< L, T, Q > const &x, vec< L, T, Q > const &y)</div><div class="ttdoc">Faster than the common distance function but less accurate. </div></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
|
||||
Reference in New Issue
Block a user