Getting GLM 0.9.3.1 release ready
This commit is contained in:
@@ -2,8 +2,9 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
|
||||
<title>fast_trigonometry.hpp Source File</title>
|
||||
<title>int_10_10_10_2.hpp Source File</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
|
||||
@@ -31,7 +32,7 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<!-- Generated by Doxygen 1.7.5 -->
|
||||
<!-- Generated by Doxygen 1.7.6.1 -->
|
||||
<div id="navrow1" class="tabs">
|
||||
<ul class="tablist">
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
@@ -46,10 +47,11 @@
|
||||
<li><a href="files.html"><span>File List</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">fast_trigonometry.hpp</div> </div>
|
||||
</div>
|
||||
<div class="title">int_10_10_10_2.hpp</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<a href="a00040.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001
|
||||
<a name="l00002"></a>00002
|
||||
@@ -88,53 +90,35 @@
|
||||
<a name="l00035"></a>00035
|
||||
<a name="l00036"></a>00036
|
||||
<a name="l00037"></a>00037
|
||||
<a name="l00038"></a>00038 <span class="preprocessor">#ifndef GLM_GTX_fast_trigonometry</span>
|
||||
<a name="l00039"></a>00039 <span class="preprocessor"></span><span class="preprocessor">#define GLM_GTX_fast_trigonometry GLM_VERSION</span>
|
||||
<a name="l00040"></a>00040 <span class="preprocessor"></span>
|
||||
<a name="l00041"></a>00041 <span class="comment">// Dependency:</span>
|
||||
<a name="l00042"></a>00042 <span class="preprocessor">#include "../glm.hpp"</span>
|
||||
<a name="l00043"></a>00043
|
||||
<a name="l00044"></a>00044 <span class="preprocessor">#if(defined(GLM_MESSAGES) && !defined(glm_ext))</span>
|
||||
<a name="l00045"></a>00045 <span class="preprocessor"></span><span class="preprocessor"># pragma message("GLM: GLM_GTX_fast_trigonometry extension included")</span>
|
||||
<a name="l00046"></a>00046 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00047"></a>00047 <span class="preprocessor"></span>
|
||||
<a name="l00048"></a>00048 <span class="keyword">namespace </span>glm
|
||||
<a name="l00049"></a>00049 {
|
||||
<a name="l00052"></a>00052
|
||||
<a name="l00056"></a>00056 <span class="keyword">template</span> <<span class="keyword">typename</span> T>
|
||||
<a name="l00057"></a>00057 T <a class="code" href="a00184.html#ga8069d4fb062dc17d93183946cdb3bf3a" title="Faster than the common sin function but less accurate.">fastSin</a>(<span class="keyword">const</span> T& <a class="code" href="a00210.html#ga69041d18bd8539fe82d6170932d28362" title="Returns the quaternion rotation angle.">angle</a>);
|
||||
<a name="l00038"></a>00038
|
||||
<a name="l00039"></a>00039 <span class="preprocessor">#ifndef GLM_GTX_int_10_10_10_2</span>
|
||||
<a name="l00040"></a>00040 <span class="preprocessor"></span><span class="preprocessor">#define GLM_GTX_int_10_10_10_2 GLM_VERSION</span>
|
||||
<a name="l00041"></a>00041 <span class="preprocessor"></span>
|
||||
<a name="l00042"></a>00042 <span class="comment">// Dependency:</span>
|
||||
<a name="l00043"></a>00043 <span class="preprocessor">#include "../glm.hpp"</span>
|
||||
<a name="l00044"></a>00044 <span class="preprocessor">#include "../gtx/raw_data.hpp"</span>
|
||||
<a name="l00045"></a>00045
|
||||
<a name="l00046"></a>00046 <span class="preprocessor">#if(defined(GLM_MESSAGES) && !defined(glm_ext))</span>
|
||||
<a name="l00047"></a>00047 <span class="preprocessor"></span><span class="preprocessor"># pragma message("GLM: GLM_GTX_int_10_10_10_2 extension included")</span>
|
||||
<a name="l00048"></a>00048 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
<a name="l00049"></a>00049 <span class="preprocessor"></span>
|
||||
<a name="l00050"></a>00050 <span class="keyword">namespace </span>glm
|
||||
<a name="l00051"></a>00051 {
|
||||
<a name="l00054"></a>00054
|
||||
<a name="l00057"></a>00057 dword uint10_10_10_2_cast(<a class="code" href="a00138.html#ga3f36f44916da88f7173bc4afa030ebe1" title="4 components vector of floating-point numbers.">glm::vec4</a> <span class="keyword">const</span> & v);
|
||||
<a name="l00058"></a>00058
|
||||
<a name="l00062"></a>00062 <span class="keyword">template</span> <<span class="keyword">typename</span> T>
|
||||
<a name="l00063"></a>00063 T <a class="code" href="a00184.html#gada306b7a16a4e230c28ea0764b325ef0" title="Faster than the common cos function but less accurate.">fastCos</a>(<span class="keyword">const</span> T& <a class="code" href="a00210.html#ga69041d18bd8539fe82d6170932d28362" title="Returns the quaternion rotation angle.">angle</a>);
|
||||
<a name="l00064"></a>00064
|
||||
<a name="l00068"></a>00068 <span class="keyword">template</span> <<span class="keyword">typename</span> T>
|
||||
<a name="l00069"></a>00069 T <a class="code" href="a00184.html#gaf9f4798ceb6e0fc0b67bfcab836f0288" title="Faster than the common tan function but less accurate.">fastTan</a>(<span class="keyword">const</span> T& <a class="code" href="a00210.html#ga69041d18bd8539fe82d6170932d28362" title="Returns the quaternion rotation angle.">angle</a>);
|
||||
<a name="l00070"></a>00070
|
||||
<a name="l00074"></a>00074 <span class="keyword">template</span> <<span class="keyword">typename</span> T>
|
||||
<a name="l00075"></a>00075 T <a class="code" href="a00184.html#gabe1e89bd95ee266f0f6b02e11f0f122c" title="Faster than the common asin function but less accurate.">fastAsin</a>(<span class="keyword">const</span> T& <a class="code" href="a00210.html#ga69041d18bd8539fe82d6170932d28362" title="Returns the quaternion rotation angle.">angle</a>);
|
||||
<a name="l00076"></a>00076
|
||||
<a name="l00080"></a>00080 <span class="keyword">template</span> <<span class="keyword">typename</span> T>
|
||||
<a name="l00081"></a>00081 T <a class="code" href="a00184.html#ga33b609e0abf9c38548d4381d0540b95b" title="Faster than the common acos function but less accurate.">fastAcos</a>(<span class="keyword">const</span> T& <a class="code" href="a00210.html#ga69041d18bd8539fe82d6170932d28362" title="Returns the quaternion rotation angle.">angle</a>);
|
||||
<a name="l00082"></a>00082
|
||||
<a name="l00086"></a>00086 <span class="keyword">template</span> <<span class="keyword">typename</span> T>
|
||||
<a name="l00087"></a>00087 T <a class="code" href="a00184.html#gaa788571fc615b131e96c66df01b10e36" title="Faster than the common atan function but less accurate.">fastAtan</a>(<span class="keyword">const</span> T& y, <span class="keyword">const</span> T& x);
|
||||
<a name="l00088"></a>00088
|
||||
<a name="l00092"></a>00092 <span class="keyword">template</span> <<span class="keyword">typename</span> T>
|
||||
<a name="l00093"></a>00093 T <a class="code" href="a00184.html#gaa788571fc615b131e96c66df01b10e36" title="Faster than the common atan function but less accurate.">fastAtan</a>(<span class="keyword">const</span> T& <a class="code" href="a00210.html#ga69041d18bd8539fe82d6170932d28362" title="Returns the quaternion rotation angle.">angle</a>);
|
||||
<a name="l00094"></a>00094
|
||||
<a name="l00096"></a>00096 }<span class="comment">//namespace glm</span>
|
||||
<a name="l00097"></a>00097
|
||||
<a name="l00098"></a>00098 <span class="preprocessor">#include "fast_trigonometry.inl"</span>
|
||||
<a name="l00099"></a>00099
|
||||
<a name="l00100"></a>00100 <span class="preprocessor">#endif//GLM_GTX_fast_trigonometry</span>
|
||||
</pre></div></div>
|
||||
</div>
|
||||
<a name="l00060"></a>00060 }<span class="comment">//namespace glm</span>
|
||||
<a name="l00061"></a>00061
|
||||
<a name="l00062"></a>00062 <span class="preprocessor">#include "int_10_10_10_2.inl"</span>
|
||||
<a name="l00063"></a>00063
|
||||
<a name="l00064"></a>00064 <span class="preprocessor">#endif//GLM_GTX_int_10_10_10_2</span>
|
||||
</pre></div></div><!-- contents -->
|
||||
|
||||
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.7.5
|
||||
</a> 1.7.6.1
|
||||
</small></address>
|
||||
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user