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>component_wise.hpp Source File</title>
<title>func_packing.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">component_wise.hpp</div> </div>
</div>
<div class="title">func_packing.hpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="a00031.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
@@ -86,50 +88,50 @@
<a name="l00033"></a>00033
<a name="l00034"></a>00034
<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_component_wise</span>
<a name="l00039"></a>00039 <span class="preprocessor"></span><span class="preprocessor">#define GLM_GTX_component_wise 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 &quot;../glm.hpp&quot;</span>
<a name="l00036"></a>00036 <span class="preprocessor">#ifndef GLM_CORE_func_packing</span>
<a name="l00037"></a>00037 <span class="preprocessor"></span><span class="preprocessor">#define GLM_CORE_func_packing GLM_VERSION</span>
<a name="l00038"></a>00038 <span class="preprocessor"></span>
<a name="l00039"></a>00039 <span class="keyword">namespace </span>glm
<a name="l00040"></a>00040 {
<a name="l00043"></a>00043
<a name="l00044"></a>00044 <span class="preprocessor">#if(defined(GLM_MESSAGES) &amp;&amp; !defined(glm_ext))</span>
<a name="l00045"></a>00045 <span class="preprocessor"></span><span class="preprocessor"># pragma message(&quot;GLM: GLM_GTX_component_wise extension included&quot;)</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="l00055"></a>00055 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> genType&gt;
<a name="l00056"></a>00056 <span class="keyword">typename</span> genType::value_type <a class="code" href="a00176.html#ga70016a744618371aafdb9a6ed8b9ffda" title="Add all vector components together.">compAdd</a>(
<a name="l00057"></a>00057 genType <span class="keyword">const</span> &amp; v);
<a name="l00058"></a>00058
<a name="l00061"></a>00061 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> genType&gt;
<a name="l00062"></a>00062 <span class="keyword">typename</span> genType::value_type <a class="code" href="a00176.html#gac0831fc64d0ce245f7f961d72e1893fd" title="Multiply all vector components together.">compMul</a>(
<a name="l00063"></a>00063 genType <span class="keyword">const</span> &amp; v);
<a name="l00064"></a>00064
<a name="l00067"></a>00067 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> genType&gt;
<a name="l00068"></a>00068 <span class="keyword">typename</span> genType::value_type <a class="code" href="a00176.html#gabe82f26e0f548e09008ad0874af9e837" title="Find the minimum value between single vector components.">compMin</a>(
<a name="l00069"></a>00069 genType <span class="keyword">const</span> &amp; v);
<a name="l00070"></a>00070
<a name="l00073"></a>00073 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> genType&gt;
<a name="l00074"></a>00074 <span class="keyword">typename</span> genType::value_type <a class="code" href="a00176.html#ga7570faad7d86649a9a5d766f3e731e89" title="Find the maximum value between single vector components.">compMax</a>(
<a name="l00075"></a>00075 genType <span class="keyword">const</span> &amp; v);
<a name="l00076"></a>00076
<a name="l00078"></a>00078 }<span class="comment">//namespace glm</span>
<a name="l00079"></a>00079
<a name="l00080"></a>00080 <span class="preprocessor">#include &quot;component_wise.inl&quot;</span>
<a name="l00081"></a>00081
<a name="l00082"></a>00082 <span class="preprocessor">#endif//GLM_GTX_component_wise</span>
</pre></div></div>
</div>
<a name="l00055"></a>00055 detail::uint32 <a class="code" href="a00131.html#gae4cbe68e49e238fce5bf83c2ab03746c" title="First, converts each component of the normalized floating-point value v into 8- or 16-bit integer val...">packUnorm2x16</a>(detail::tvec2&lt;detail::float32&gt; <span class="keyword">const</span> &amp; v);
<a name="l00056"></a>00056
<a name="l00068"></a>00068 detail::uint32 <a class="code" href="a00131.html#ga85552b13309c20c90a43fcf4906e6314" title="First, converts each component of the normalized floating-point value v into 8- or 16-bit integer val...">packSnorm2x16</a>(detail::tvec2&lt;detail::float32&gt; <span class="keyword">const</span> &amp; v);
<a name="l00069"></a>00069
<a name="l00081"></a>00081 detail::uint32 <a class="code" href="a00131.html#ga58d4ebc6f2824dcbcef73e3764339ea4" title="First, converts each component of the normalized floating-point value v into 8- or 16-bit integer val...">packUnorm4x8</a>(detail::tvec4&lt;detail::float32&gt; <span class="keyword">const</span> &amp; v);
<a name="l00082"></a>00082
<a name="l00094"></a>00094 detail::uint32 <a class="code" href="a00131.html#gaa9d1bf79e69382e55eb3adf51f978afd" title="First, converts each component of the normalized floating-point value v into 8- or 16-bit integer val...">packSnorm4x8</a>(detail::tvec4&lt;detail::float32&gt; <span class="keyword">const</span> &amp; v);
<a name="l00095"></a>00095
<a name="l00107"></a>00107 detail::tvec2&lt;detail::float32&gt; <a class="code" href="a00131.html#gad146587dbc78ae05c48b8b0e7af7e640" title="First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers.">unpackUnorm2x16</a>(detail::uint32 <span class="keyword">const</span> &amp; p);
<a name="l00108"></a>00108
<a name="l00120"></a>00120 detail::tvec2&lt;detail::float32&gt; <a class="code" href="a00131.html#gaaf9e09346412610f361fa17a1e502090" title="First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers.">unpackSnorm2x16</a>(detail::uint32 <span class="keyword">const</span> &amp; p);
<a name="l00121"></a>00121
<a name="l00133"></a>00133 detail::tvec4&lt;detail::float32&gt; <a class="code" href="a00131.html#gaeccbff725476f317b1464a0a0fae3be7" title="First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers.">unpackUnorm4x8</a>(detail::uint32 <span class="keyword">const</span> &amp; p);
<a name="l00134"></a>00134
<a name="l00146"></a>00146 detail::tvec4&lt;detail::float32&gt; <a class="code" href="a00131.html#ga014513c3f058e755660f702b65559215" title="First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers.">unpackSnorm4x8</a>(detail::uint32 <span class="keyword">const</span> &amp; p);
<a name="l00147"></a>00147
<a name="l00156"></a>00156 <span class="keywordtype">double</span> <a class="code" href="a00131.html#gab7776e189f8fb8210dbaf4685f9d400a" title="Returns a double-precision value obtained by packing the components of v into a 64-bit value...">packDouble2x32</a>(detail::tvec2&lt;detail::uint32&gt; <span class="keyword">const</span> &amp; v);
<a name="l00157"></a>00157
<a name="l00165"></a>00165 detail::tvec2&lt;detail::uint32&gt; <a class="code" href="a00131.html#gadfbce841431cb5fb8531469a6c1e01d9" title="Returns a two-component unsigned integer vector representation of v.">unpackDouble2x32</a>(<span class="keywordtype">double</span> <span class="keyword">const</span> &amp; v);
<a name="l00166"></a>00166
<a name="l00167"></a>00167
<a name="l00176"></a>00176 <a class="code" href="a00139.html#ga4d16da297112d05af72fc456a1c4f386" title="Unsigned integer type.">uint</a> <a class="code" href="a00131.html#ga5f63a9353416d3d240962520d5e77dbc" title="Returns an unsigned integer obtained by converting the components of a two-component floating-point v...">packHalf2x16</a>(<a class="code" href="a00138.html#ga80139c81aa2687717598312039cea8d1" title="2 components vector of floating-point numbers.">vec2</a> <span class="keyword">const</span> &amp; v);
<a name="l00177"></a>00177
<a name="l00186"></a>00186 <a class="code" href="a00138.html#ga80139c81aa2687717598312039cea8d1" title="2 components vector of floating-point numbers.">vec2</a> <a class="code" href="a00131.html#ga74e86400717e9a83f30ef8610a122daf" title="Returns a two-component floating-point vector with components obtained by unpacking a 32-bit unsigned...">unpackHalf2x16</a>(<a class="code" href="a00139.html#ga4d16da297112d05af72fc456a1c4f386" title="Unsigned integer type.">uint</a> <span class="keyword">const</span> &amp; v);
<a name="l00187"></a>00187
<a name="l00189"></a>00189 }<span class="comment">//namespace glm</span>
<a name="l00190"></a>00190
<a name="l00191"></a>00191 <span class="preprocessor">#include &quot;func_packing.inl&quot;</span>
<a name="l00192"></a>00192
<a name="l00193"></a>00193 <span class="preprocessor">#endif//GLM_CORE_func_packing</span>
<a name="l00194"></a>00194 <span class="preprocessor"></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>