Getting GLM 0.9.3.1 release ready

This commit is contained in:
Christophe Riccio
2012-01-25 12:56:50 +00:00
parent 359312f503
commit 18a500a0f5
340 changed files with 26944 additions and 39419 deletions

View File

@@ -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>epsilon.hpp Source File</title>
<title>func_vector_relational.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&#160;Page</span></a></li>
@@ -46,10 +47,11 @@
<li><a href="files.html"><span>File&#160;List</span></a></li>
</ul>
</div>
</div>
<div class="header">
<div class="headertitle">
<div class="title">epsilon.hpp</div> </div>
</div>
<div class="title">func_vector_relational.hpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="a00033.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
@@ -90,46 +92,54 @@
<a name="l00037"></a>00037
<a name="l00038"></a>00038
<a name="l00039"></a>00039
<a name="l00040"></a>00040 <span class="preprocessor">#ifndef GLM_GTX_epsilon</span>
<a name="l00041"></a>00041 <span class="preprocessor"></span><span class="preprocessor">#define GLM_GTX_epsilon GLM_VERSION</span>
<a name="l00042"></a>00042 <span class="preprocessor"></span>
<a name="l00043"></a>00043 <span class="comment">// Dependency:</span>
<a name="l00044"></a>00044 <span class="preprocessor">#include &quot;../glm.hpp&quot;</span>
<a name="l00045"></a>00045 <span class="preprocessor">#include &quot;../gtc/half_float.hpp&quot;</span>
<a name="l00046"></a>00046 <span class="preprocessor">#include &quot;../gtc/quaternion.hpp&quot;</span>
<a name="l00047"></a>00047
<a name="l00048"></a>00048 <span class="preprocessor">#if(defined(GLM_MESSAGES) &amp;&amp; !defined(glm_ext))</span>
<a name="l00049"></a>00049 <span class="preprocessor"></span><span class="preprocessor"># pragma message(&quot;GLM: GLM_GTX_epsilon extension included&quot;)</span>
<a name="l00050"></a>00050 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00051"></a>00051 <span class="preprocessor"></span>
<a name="l00052"></a>00052 <span class="keyword">namespace </span>glm
<a name="l00053"></a>00053 {
<a name="l00056"></a>00056
<a name="l00059"></a>00059 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> genTypeT, <span class="keyword">typename</span> genTypeU&gt;
<a name="l00060"></a>00060 <span class="keywordtype">bool</span> <a class="code" href="a00178.html#ga5a351af04e1d4ea704c3feaedf14d1a3" title="Returns the component-wise compare of |x - y| &lt; epsilon.">equalEpsilon</a>(
<a name="l00061"></a>00061 genTypeT <span class="keyword">const</span> &amp; x,
<a name="l00062"></a>00062 genTypeT <span class="keyword">const</span> &amp; y,
<a name="l00063"></a>00063 genTypeU <span class="keyword">const</span> &amp; <a class="code" href="a00177.html#ga73bc2500704c8c25dc3cde534134ca20" title="Return the epsilon constant for floating point types.">epsilon</a>);
<a name="l00064"></a>00064
<a name="l00067"></a>00067 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> genTypeT, <span class="keyword">typename</span> genTypeU&gt;
<a name="l00068"></a>00068 <span class="keywordtype">bool</span> <a class="code" href="a00178.html#ga9b46262410347fc17178980f0e9007f7" title="Returns the component-wise compare of |x - y| &gt;= epsilon.">notEqualEpsilon</a>(
<a name="l00069"></a>00069 genTypeT <span class="keyword">const</span> &amp; x,
<a name="l00070"></a>00070 genTypeT <span class="keyword">const</span> &amp; y,
<a name="l00071"></a>00071 genTypeU <span class="keyword">const</span> &amp; <a class="code" href="a00177.html#ga73bc2500704c8c25dc3cde534134ca20" title="Return the epsilon constant for floating point types.">epsilon</a>);
<a name="l00072"></a>00072
<a name="l00074"></a>00074 }<span class="comment">//namespace glm</span>
<a name="l00075"></a>00075
<a name="l00076"></a>00076 <span class="preprocessor">#include &quot;epsilon.inl&quot;</span>
<a name="l00040"></a>00040
<a name="l00041"></a>00041 <span class="preprocessor">#ifndef GLM_CORE_func_vector_relational</span>
<a name="l00042"></a>00042 <span class="preprocessor"></span><span class="preprocessor">#define GLM_CORE_func_vector_relational GLM_VERSION</span>
<a name="l00043"></a>00043 <span class="preprocessor"></span>
<a name="l00044"></a>00044 <span class="preprocessor">#include &quot;<a class="code" href="a00003.html" title="OpenGL Mathematics (glm.g-truc.net)">_detail.hpp</a>&quot;</span>
<a name="l00045"></a>00045
<a name="l00046"></a>00046 <span class="keyword">namespace </span>glm
<a name="l00047"></a>00047 {
<a name="l00050"></a>00050
<a name="l00057"></a>00057 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> vecType&gt;
<a name="l00058"></a>00058 <span class="keyword">typename</span> vecType::bool_type <a class="code" href="a00133.html#ga1227d6a9d2c15a57d8189c5d9f4d9c53" title="Returns the component-wise comparison result of x &lt; y.">lessThan</a>(vecType <span class="keyword">const</span> &amp; x, vecType <span class="keyword">const</span> &amp; y);
<a name="l00059"></a>00059
<a name="l00066"></a>00066 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> vecType&gt;
<a name="l00067"></a>00067 <span class="keyword">typename</span> vecType::bool_type <a class="code" href="a00133.html#ga6199b9a55616b7b872b0bf0658b239ce" title="Returns the component-wise comparison of result x &lt;= y.">lessThanEqual</a>(vecType <span class="keyword">const</span> &amp; x, vecType <span class="keyword">const</span> &amp; y);
<a name="l00068"></a>00068
<a name="l00075"></a>00075 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> vecType&gt;
<a name="l00076"></a>00076 <span class="keyword">typename</span> vecType::bool_type <a class="code" href="a00133.html#gabd72ae0dc35908eaa143568fb42c3830" title="Returns the component-wise comparison of result x &gt; y.">greaterThan</a>(vecType <span class="keyword">const</span> &amp; x, vecType <span class="keyword">const</span> &amp; y);
<a name="l00077"></a>00077
<a name="l00078"></a>00078 <span class="preprocessor">#endif//GLM_GTX_epsilon</span>
</pre></div></div>
</div>
<a name="l00084"></a>00084 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> vecType&gt;
<a name="l00085"></a>00085 <span class="keyword">typename</span> vecType::bool_type <a class="code" href="a00133.html#gac9b3c898e70adc1e573300b1a8e66e9f" title="Returns the component-wise comparison of result x &gt;= y.">greaterThanEqual</a>(vecType <span class="keyword">const</span> &amp; x, vecType <span class="keyword">const</span> &amp; y);
<a name="l00086"></a>00086
<a name="l00093"></a>00093 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> vecType&gt;
<a name="l00094"></a>00094 <span class="keyword">typename</span> vecType::bool_type <a class="code" href="a00133.html#gaeded4966b21a46182176fc6e24e05fdd" title="Returns the component-wise comparison of result x == y.">equal</a>(vecType <span class="keyword">const</span> &amp; x, vecType <span class="keyword">const</span> &amp; y);
<a name="l00095"></a>00095
<a name="l00102"></a>00102 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> vecType&gt;
<a name="l00103"></a>00103 <span class="keyword">typename</span> vecType::bool_type <a class="code" href="a00133.html#ga20caef2fbce3eacb97e895f2ed315271" title="Returns the component-wise comparison of result x != y.">notEqual</a>(vecType <span class="keyword">const</span> &amp; x, vecType <span class="keyword">const</span> &amp; y);
<a name="l00104"></a>00104
<a name="l00111"></a>00111 <span class="keyword">template</span> &lt;<span class="keyword">template</span> &lt;<span class="keyword">typename</span>&gt; <span class="keyword">class </span>vecType&gt;
<a name="l00112"></a>00112 <span class="keywordtype">bool</span> <a class="code" href="a00133.html#ga7141e1fafe91560d8c8789901d1c1271" title="Returns true if any component of x is true.">any</a>(vecType&lt;bool&gt; <span class="keyword">const</span> &amp; v);
<a name="l00113"></a>00113
<a name="l00120"></a>00120 <span class="keyword">template</span> &lt;<span class="keyword">template</span> &lt;<span class="keyword">typename</span>&gt; <span class="keyword">class </span>vecType&gt;
<a name="l00121"></a>00121 <span class="keywordtype">bool</span> <a class="code" href="a00133.html#ga349edc1a383fff08c6d577428416a73b" title="Returns true if all components of x are true.">all</a>(vecType&lt;bool&gt; <span class="keyword">const</span> &amp; v);
<a name="l00122"></a>00122
<a name="l00130"></a>00130 <span class="keyword">template</span> &lt;<span class="keyword">template</span> &lt;<span class="keyword">typename</span>&gt; <span class="keyword">class </span>vecType&gt;
<a name="l00131"></a>00131 vecType&lt;bool&gt; <a class="code" href="a00133.html#gac44e885cf2f0b0896124d7ce5df6ed4f" title="Returns the component-wise logical complement of x.">not_</a>(vecType&lt;bool&gt; <span class="keyword">const</span> &amp; v);
<a name="l00132"></a>00132
<a name="l00134"></a>00134 }<span class="comment">//namespace glm</span>
<a name="l00135"></a>00135
<a name="l00136"></a>00136 <span class="preprocessor">#include &quot;func_vector_relational.inl&quot;</span>
<a name="l00137"></a>00137
<a name="l00138"></a>00138 <span class="preprocessor">#endif//GLM_CORE_func_vector_relational</span>
</pre></div></div><!-- contents -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<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>