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>bit.hpp Source File</title>
|
||||
<title>func_common.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">bit.hpp</div> </div>
|
||||
</div>
|
||||
<div class="title">func_common.hpp</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<a href="a00025.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,87 +88,149 @@
|
||||
<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
|
||||
<a name="l00039"></a>00039 <span class="preprocessor">#ifndef GLM_GTX_bit</span>
|
||||
<a name="l00040"></a>00040 <span class="preprocessor"></span><span class="preprocessor">#define GLM_GTX_bit 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 "../gtc/half_float.hpp"</span>
|
||||
<a name="l00036"></a>00036 <span class="preprocessor">#ifndef GLM_CORE_func_common</span>
|
||||
<a name="l00037"></a>00037 <span class="preprocessor"></span><span class="preprocessor">#define GLM_CORE_func_common GLM_VERSION</span>
|
||||
<a name="l00038"></a>00038 <span class="preprocessor"></span>
|
||||
<a name="l00039"></a>00039 <span class="preprocessor">#include "<a class="code" href="a00004.html" title="OpenGL Mathematics (glm.g-truc.net)">_fixes.hpp</a>"</span>
|
||||
<a name="l00040"></a>00040
|
||||
<a name="l00041"></a>00041 <span class="keyword">namespace </span>glm
|
||||
<a name="l00042"></a>00042 {
|
||||
<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_bit 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="l00052"></a>00052 <span class="keyword">template</span> <<span class="keyword">typename</span> genType>
|
||||
<a name="l00053"></a>00053 genType <a class="code" href="a00125.html#gaeca8e195d482248f677e3905d00f11ae" title="Returns x if x >= 0; otherwise, it returns -x.">abs</a>(genType <span class="keyword">const</span> & x);
|
||||
<a name="l00054"></a>00054
|
||||
<a name="l00057"></a>00057 <span class="keyword">template</span> <<span class="keyword">typename</span> genIType>
|
||||
<a name="l00058"></a>00058 genIType <a class="code" href="a00170.html#ga0d044f92de0108409d25ebcfea034dcb" title="Build a mask of 'count' bits.">mask</a>(genIType <span class="keyword">const</span> & count);
|
||||
<a name="l00059"></a>00059
|
||||
<a name="l00063"></a>00063 <span class="keyword">template</span> <<span class="keyword">typename</span> genIUType, <span class="keyword">typename</span> sizeType>
|
||||
<a name="l00064"></a>00064 genIUType <a class="code" href="a00170.html#ga929b849daa656caecf8bd0febcd71f7a" title="Component wise extraction of bit fields.">extractField</a>(
|
||||
<a name="l00065"></a>00065 genIUType <span class="keyword">const</span> & v,
|
||||
<a name="l00066"></a>00066 sizeType <span class="keyword">const</span> & first,
|
||||
<a name="l00067"></a>00067 sizeType <span class="keyword">const</span> & count);
|
||||
<a name="l00068"></a>00068
|
||||
<a name="l00071"></a>00071 <span class="keyword">template</span> <<span class="keyword">typename</span> genType>
|
||||
<a name="l00072"></a>00072 <span class="keywordtype">int</span> <a class="code" href="a00170.html#ga94e553e5aabf9b202b5915719966d323" title="Find the lowest bit set to 1 in a integer variable.">lowestBit</a>(genType <span class="keyword">const</span> & value);
|
||||
<a name="l00073"></a>00073
|
||||
<a name="l00076"></a>00076 <span class="keyword">template</span> <<span class="keyword">typename</span> genType>
|
||||
<a name="l00077"></a>00077 <span class="keywordtype">int</span> <a class="code" href="a00170.html#gaa3679c623c2ff5dfb745f9ce4316b23c" title="Find the highest bit set to 1 in a integer variable.">highestBit</a>(genType <span class="keyword">const</span> & value);
|
||||
<a name="l00078"></a>00078
|
||||
<a name="l00081"></a>00081 <span class="keyword">template</span> <<span class="keyword">typename</span> genType>
|
||||
<a name="l00082"></a>00082 genType <a class="code" href="a00170.html#ga485d3ead7f6c624b00cc800c68ab8e08" title="Find the highest bit set to 1 in a integer variable and return its value.">highestBitValue</a>(genType <span class="keyword">const</span> & value);
|
||||
<a name="l00083"></a>00083
|
||||
<a name="l00086"></a>00086 <span class="keyword">template</span> <<span class="keyword">typename</span> genType>
|
||||
<a name="l00087"></a>00087 <span class="keywordtype">bool</span> <a class="code" href="a00170.html#ga3c0b3e843fa21220f08e801bb558470a" title="Return true if the value is a power of two number.">isPowerOfTwo</a>(genType <span class="keyword">const</span> & value);
|
||||
<a name="l00088"></a>00088
|
||||
<a name="l00091"></a>00091 <span class="keyword">template</span> <<span class="keyword">typename</span> genType>
|
||||
<a name="l00092"></a>00092 genType <a class="code" href="a00170.html#ga335322b4fcb2e5444ec467a1e7a40301" title="Return the power of two number which value is just higher the input value.">powerOfTwoAbove</a>(genType <span class="keyword">const</span> & value);
|
||||
<a name="l00093"></a>00093
|
||||
<a name="l00096"></a>00096 <span class="keyword">template</span> <<span class="keyword">typename</span> genType>
|
||||
<a name="l00097"></a>00097 genType <a class="code" href="a00170.html#ga4c3ea31127e64ec283fb6cf715b4d9ac" title="Return the power of two number which value is just lower the input value.">powerOfTwoBelow</a>(genType <span class="keyword">const</span> & value);
|
||||
<a name="l00098"></a>00098
|
||||
<a name="l00101"></a>00101 <span class="keyword">template</span> <<span class="keyword">typename</span> genType>
|
||||
<a name="l00102"></a>00102 genType <a class="code" href="a00170.html#ga00cb2e4b82215e4d531ec046c19e2ce7" title="Return the power of two number which value is the closet to the input value.">powerOfTwoNearest</a>(genType <span class="keyword">const</span> & value);
|
||||
<a name="l00103"></a>00103
|
||||
<a name="l00106"></a>00106 <span class="keyword">template</span> <<span class="keyword">typename</span> genType>
|
||||
<a name="l00107"></a>00107 genType <a class="code" href="a00170.html#ga7aadf1d73b4236e9cf9b2f23c13af604" title="Revert all bits of any integer based type.">bitRevert</a>(genType <span class="keyword">const</span> & value);
|
||||
<a name="l00108"></a>00108
|
||||
<a name="l00111"></a>00111 <span class="keyword">template</span> <<span class="keyword">typename</span> genType>
|
||||
<a name="l00112"></a>00112 genType <a class="code" href="a00170.html#gae2ceed046e662a889cd938de3191dd55" title="Rotate all bits to the right.">bitRotateRight</a>(genType <span class="keyword">const</span> & In, std::size_t Shift);
|
||||
<a name="l00113"></a>00113
|
||||
<a name="l00116"></a>00116 <span class="keyword">template</span> <<span class="keyword">typename</span> genType>
|
||||
<a name="l00117"></a>00117 genType <a class="code" href="a00170.html#gad9bc7e42a75381c3f6b68b8ba20863d3" title="Rotate all bits to the left.">bitRotateLeft</a>(genType <span class="keyword">const</span> & In, std::size_t Shift);
|
||||
<a name="l00118"></a>00118
|
||||
<a name="l00121"></a>00121 <span class="keyword">template</span> <<span class="keyword">typename</span> genIUType>
|
||||
<a name="l00122"></a>00122 genIUType <a class="code" href="a00170.html#gaf937428f9e6e9bb2e9214ff3be96cf95" title="Set to 1 a range of bits.">fillBitfieldWithOne</a>(
|
||||
<a name="l00123"></a>00123 genIUType <span class="keyword">const</span> & Value,
|
||||
<a name="l00124"></a>00124 <span class="keywordtype">int</span> <span class="keyword">const</span> & FromBit,
|
||||
<a name="l00125"></a>00125 <span class="keywordtype">int</span> <span class="keyword">const</span> & ToBit);
|
||||
<a name="l00061"></a>00061 <span class="keyword">template</span> <<span class="keyword">typename</span> genType>
|
||||
<a name="l00062"></a>00062 genType <a class="code" href="a00125.html#ga79f412e6d33cb4be13497056c2298d14" title="Returns 1.0 if x > 0, 0.0 if x == 0, or -1.0 if x < 0.">sign</a>(genType <span class="keyword">const</span> & x);
|
||||
<a name="l00063"></a>00063
|
||||
<a name="l00070"></a>00070 <span class="keyword">template</span> <<span class="keyword">typename</span> genType>
|
||||
<a name="l00071"></a>00071 genType <a class="code" href="a00125.html#gac3458e950a8a716468866f841a833c77" title="Returns a value equal to the nearest integer that is less then or equal to x.">floor</a>(genType <span class="keyword">const</span> & x);
|
||||
<a name="l00072"></a>00072
|
||||
<a name="l00080"></a>00080 <span class="keyword">template</span> <<span class="keyword">typename</span> genType>
|
||||
<a name="l00081"></a>00081 genType <a class="code" href="a00125.html#gae1268fe85d913d9e4054de0e046abaef" title="Returns a value equal to the nearest integer to x whose absolute value is not larger than the absolut...">trunc</a>(genType <span class="keyword">const</span> & x);
|
||||
<a name="l00082"></a>00082
|
||||
<a name="l00093"></a>00093 <span class="keyword">template</span> <<span class="keyword">typename</span> genType>
|
||||
<a name="l00094"></a>00094 genType <a class="code" href="a00125.html#ga32125c5451799e80b886ef665b947d0c" title="Returns a value equal to the nearest integer to x.">round</a>(genType <span class="keyword">const</span> & x);
|
||||
<a name="l00095"></a>00095
|
||||
<a name="l00105"></a>00105 <span class="keyword">template</span> <<span class="keyword">typename</span> genType>
|
||||
<a name="l00106"></a>00106 genType <a class="code" href="a00125.html#gab46fe1ce5fdd08f904be811a53364968" title="Returns a value equal to the nearest integer to x.">roundEven</a>(genType <span class="keyword">const</span> & x);
|
||||
<a name="l00107"></a>00107
|
||||
<a name="l00115"></a>00115 <span class="keyword">template</span> <<span class="keyword">typename</span> genType>
|
||||
<a name="l00116"></a>00116 genType <a class="code" href="a00125.html#ga1ce130f2934cf1d7aca83a7027422f3c" title="Returns a value equal to the nearest integer that is greater than or equal to x.">ceil</a>(genType <span class="keyword">const</span> & x);
|
||||
<a name="l00117"></a>00117
|
||||
<a name="l00124"></a>00124 <span class="keyword">template</span> <<span class="keyword">typename</span> genType>
|
||||
<a name="l00125"></a>00125 genType <a class="code" href="a00125.html#gad5e3814491ff6baa4f0d16aebcabff9b" title="Return x - floor(x).">fract</a>(genType <span class="keyword">const</span> & x);
|
||||
<a name="l00126"></a>00126
|
||||
<a name="l00129"></a>00129 <span class="keyword">template</span> <<span class="keyword">typename</span> genIUType>
|
||||
<a name="l00130"></a>00130 genIUType <a class="code" href="a00170.html#gabb9c7b3bd390a61437667e5625834a7c" title="Set to 0 a range of bits.">fillBitfieldWithZero</a>(
|
||||
<a name="l00131"></a>00131 genIUType <span class="keyword">const</span> & Value,
|
||||
<a name="l00132"></a>00132 <span class="keywordtype">int</span> <span class="keyword">const</span> & FromBit,
|
||||
<a name="l00133"></a>00133 <span class="keywordtype">int</span> <span class="keyword">const</span> & ToBit);
|
||||
<a name="l00134"></a>00134
|
||||
<a name="l00136"></a>00136 } <span class="comment">//namespace glm</span>
|
||||
<a name="l00137"></a>00137
|
||||
<a name="l00138"></a>00138 <span class="preprocessor">#include "bit.inl"</span>
|
||||
<a name="l00139"></a>00139
|
||||
<a name="l00140"></a>00140 <span class="preprocessor">#endif//GLM_GTX_bit</span>
|
||||
</pre></div></div>
|
||||
</div>
|
||||
<a name="l00134"></a>00134 <span class="keyword">template</span> <<span class="keyword">typename</span> genType>
|
||||
<a name="l00135"></a>00135 genType <a class="code" href="a00125.html#ga3bdf136bc96f670965cd2f48d14356b4" title="Modulus.">mod</a>(
|
||||
<a name="l00136"></a>00136 genType <span class="keyword">const</span> & x,
|
||||
<a name="l00137"></a>00137 genType <span class="keyword">const</span> & y);
|
||||
<a name="l00138"></a>00138
|
||||
<a name="l00146"></a>00146 <span class="keyword">template</span> <<span class="keyword">typename</span> genType>
|
||||
<a name="l00147"></a>00147 genType <a class="code" href="a00125.html#ga3bdf136bc96f670965cd2f48d14356b4" title="Modulus.">mod</a>(
|
||||
<a name="l00148"></a>00148 genType <span class="keyword">const</span> & x,
|
||||
<a name="l00149"></a>00149 <span class="keyword">typename</span> genType::value_type <span class="keyword">const</span> & y);
|
||||
<a name="l00150"></a>00150
|
||||
<a name="l00160"></a>00160 <span class="keyword">template</span> <<span class="keyword">typename</span> genType>
|
||||
<a name="l00161"></a>00161 genType <a class="code" href="a00125.html#ga34ff69d5efb2fafa3156ad2b87bd49ec" title="Returns the fractional part of x and sets i to the integer part (as a whole number floating point val...">modf</a>(
|
||||
<a name="l00162"></a>00162 genType <span class="keyword">const</span> & x,
|
||||
<a name="l00163"></a>00163 genType & i);
|
||||
<a name="l00164"></a>00164
|
||||
<a name="l00171"></a>00171 <span class="keyword">template</span> <<span class="keyword">typename</span> genType>
|
||||
<a name="l00172"></a>00172 genType <a class="code" href="a00125.html#ga0d2bb6c2caad4acf992e6dcd41a626fe" title="Returns y if y < x; otherwise, it returns x.">min</a>(
|
||||
<a name="l00173"></a>00173 genType <span class="keyword">const</span> & x,
|
||||
<a name="l00174"></a>00174 genType <span class="keyword">const</span> & y);
|
||||
<a name="l00175"></a>00175
|
||||
<a name="l00176"></a>00176 <span class="keyword">template</span> <<span class="keyword">typename</span> genType>
|
||||
<a name="l00177"></a>00177 genType <a class="code" href="a00125.html#ga0d2bb6c2caad4acf992e6dcd41a626fe" title="Returns y if y < x; otherwise, it returns x.">min</a>(
|
||||
<a name="l00178"></a>00178 genType <span class="keyword">const</span> & x,
|
||||
<a name="l00179"></a>00179 <span class="keyword">typename</span> genType::value_type <span class="keyword">const</span> & y);
|
||||
<a name="l00180"></a>00180
|
||||
<a name="l00187"></a>00187 <span class="keyword">template</span> <<span class="keyword">typename</span> genType>
|
||||
<a name="l00188"></a>00188 genType <a class="code" href="a00125.html#ga3f6af26fbb056e0fc8a04ddc8871add2" title="Returns y if x < y; otherwise, it returns x.">max</a>(
|
||||
<a name="l00189"></a>00189 genType <span class="keyword">const</span> & x,
|
||||
<a name="l00190"></a>00190 genType <span class="keyword">const</span> & y);
|
||||
<a name="l00191"></a>00191
|
||||
<a name="l00192"></a>00192 <span class="keyword">template</span> <<span class="keyword">typename</span> genType>
|
||||
<a name="l00193"></a>00193 genType <a class="code" href="a00125.html#ga3f6af26fbb056e0fc8a04ddc8871add2" title="Returns y if x < y; otherwise, it returns x.">max</a>(
|
||||
<a name="l00194"></a>00194 genType <span class="keyword">const</span> & x,
|
||||
<a name="l00195"></a>00195 <span class="keyword">typename</span> genType::value_type <span class="keyword">const</span> & y);
|
||||
<a name="l00196"></a>00196
|
||||
<a name="l00204"></a>00204 <span class="keyword">template</span> <<span class="keyword">typename</span> genType>
|
||||
<a name="l00205"></a>00205 genType <a class="code" href="a00125.html#ga99b1ce602a02833646e5077345858da4" title="Returns min(max(x, minVal), maxVal) for each component in x.">clamp</a>(
|
||||
<a name="l00206"></a>00206 genType <span class="keyword">const</span> & x,
|
||||
<a name="l00207"></a>00207 genType <span class="keyword">const</span> & minVal,
|
||||
<a name="l00208"></a>00208 genType <span class="keyword">const</span> & maxVal);
|
||||
<a name="l00209"></a>00209
|
||||
<a name="l00210"></a>00210 <span class="keyword">template</span> <<span class="keyword">typename</span> genType>
|
||||
<a name="l00211"></a>00211 genType <a class="code" href="a00125.html#ga99b1ce602a02833646e5077345858da4" title="Returns min(max(x, minVal), maxVal) for each component in x.">clamp</a>(
|
||||
<a name="l00212"></a>00212 genType <span class="keyword">const</span> & x,
|
||||
<a name="l00213"></a>00213 <span class="keyword">typename</span> genType::value_type <span class="keyword">const</span> & minVal,
|
||||
<a name="l00214"></a>00214 <span class="keyword">typename</span> genType::value_type <span class="keyword">const</span> & maxVal);
|
||||
<a name="l00215"></a>00215
|
||||
<a name="l00258"></a>00258 <span class="keyword">template</span> <<span class="keyword">typename</span> genTypeT, <span class="keyword">typename</span> genTypeU>
|
||||
<a name="l00259"></a>00259 genTypeT <a class="code" href="a00125.html#ga3f64b3986efe205cf30300700667e761">mix</a>(genTypeT <span class="keyword">const</span> & x, genTypeT <span class="keyword">const</span> & y, genTypeU <span class="keyword">const</span> & a);
|
||||
<a name="l00260"></a>00260
|
||||
<a name="l00265"></a>00265 <span class="keyword">template</span> <<span class="keyword">typename</span> genType>
|
||||
<a name="l00266"></a>00266 genType <a class="code" href="a00125.html#ga3d3199dcbbb0ac8e0d9664d538702a40" title="Returns 0.0 if x < edge, otherwise it returns 1.0.">step</a>(
|
||||
<a name="l00267"></a>00267 genType <span class="keyword">const</span> & edge,
|
||||
<a name="l00268"></a>00268 genType <span class="keyword">const</span> & x);
|
||||
<a name="l00269"></a>00269
|
||||
<a name="l00270"></a>00270 <span class="keyword">template</span> <<span class="keyword">typename</span> genType>
|
||||
<a name="l00271"></a>00271 genType <a class="code" href="a00125.html#ga3d3199dcbbb0ac8e0d9664d538702a40" title="Returns 0.0 if x < edge, otherwise it returns 1.0.">step</a>(
|
||||
<a name="l00272"></a>00272 <span class="keyword">typename</span> genType::value_type <span class="keyword">const</span> & edge,
|
||||
<a name="l00273"></a>00273 genType <span class="keyword">const</span> & x);
|
||||
<a name="l00274"></a>00274
|
||||
<a name="l00289"></a>00289 <span class="keyword">template</span> <<span class="keyword">typename</span> genType>
|
||||
<a name="l00290"></a>00290 genType <a class="code" href="a00125.html#gabdfe71a62ef69b5ec834601e87588667" title="Returns 0.0 if x <= edge0 and 1.0 if x >= edge1 and performs smooth Hermite interpolation between 0 a...">smoothstep</a>(
|
||||
<a name="l00291"></a>00291 genType <span class="keyword">const</span> & edge0,
|
||||
<a name="l00292"></a>00292 genType <span class="keyword">const</span> & edge1,
|
||||
<a name="l00293"></a>00293 genType <span class="keyword">const</span> & x);
|
||||
<a name="l00294"></a>00294
|
||||
<a name="l00295"></a>00295 <span class="keyword">template</span> <<span class="keyword">typename</span> genType>
|
||||
<a name="l00296"></a>00296 genType <a class="code" href="a00125.html#gabdfe71a62ef69b5ec834601e87588667" title="Returns 0.0 if x <= edge0 and 1.0 if x >= edge1 and performs smooth Hermite interpolation between 0 a...">smoothstep</a>(
|
||||
<a name="l00297"></a>00297 <span class="keyword">typename</span> genType::value_type <span class="keyword">const</span> & edge0,
|
||||
<a name="l00298"></a>00298 <span class="keyword">typename</span> genType::value_type <span class="keyword">const</span> & edge1,
|
||||
<a name="l00299"></a>00299 genType <span class="keyword">const</span> & x);
|
||||
<a name="l00300"></a>00300
|
||||
<a name="l00311"></a>00311 <span class="keyword">template</span> <<span class="keyword">typename</span> genType>
|
||||
<a name="l00312"></a>00312 <span class="keyword">typename</span> genType::bool_type <a class="code" href="a00125.html#ga5efda4205aed487be515b5f2921303f8" title="Returns true if x holds a NaN (not a number) representation in the underlying implementation's set of...">isnan</a>(genType <span class="keyword">const</span> & x);
|
||||
<a name="l00313"></a>00313
|
||||
<a name="l00324"></a>00324 <span class="keyword">template</span> <<span class="keyword">typename</span> genType>
|
||||
<a name="l00325"></a>00325 <span class="keyword">typename</span> genType::bool_type <a class="code" href="a00125.html#ga69fcbd40e0ce359f832329c0c93d5912" title="Returns true if x holds a positive infinity or negative infinity representation in the underlying imp...">isinf</a>(genType <span class="keyword">const</span> & x);
|
||||
<a name="l00326"></a>00326
|
||||
<a name="l00336"></a>00336 <span class="keyword">template</span> <<span class="keyword">typename</span> genType, <span class="keyword">typename</span> genIType>
|
||||
<a name="l00337"></a>00337 genIType <a class="code" href="a00125.html#ga0ac6c59156dcdc12fa8fd861925ddb4c" title="Returns a signed integer value representing the encoding of a floating-point value.">floatBitsToInt</a>(genType <span class="keyword">const</span> & value);
|
||||
<a name="l00338"></a>00338
|
||||
<a name="l00348"></a>00348 <span class="keyword">template</span> <<span class="keyword">typename</span> genType, <span class="keyword">typename</span> genUType>
|
||||
<a name="l00349"></a>00349 genUType <a class="code" href="a00125.html#gaccd4fbc2c30848eb85370e2e5b4e4eec" title="Returns a unsigned integer value representing the encoding of a floating-point value.">floatBitsToUint</a>(genType <span class="keyword">const</span> & value);
|
||||
<a name="l00350"></a>00350
|
||||
<a name="l00364"></a>00364 <span class="keyword">template</span> <<span class="keyword">typename</span> genType, <span class="keyword">typename</span> genIType>
|
||||
<a name="l00365"></a>00365 genType <a class="code" href="a00125.html#ga15f7f0f93ebb026338cb3d7d5876e1b7" title="Returns a floating-point value corresponding to a signed integer encoding of a floating-point value...">intBitsToFloat</a>(genIType <span class="keyword">const</span> & value);
|
||||
<a name="l00366"></a>00366
|
||||
<a name="l00380"></a>00380 <span class="keyword">template</span> <<span class="keyword">typename</span> genType, <span class="keyword">typename</span> genUType>
|
||||
<a name="l00381"></a>00381 genType <a class="code" href="a00125.html#ga3e4a94c90cffac713c287d1fb7b51c08" title="Returns a floating-point value corresponding to a unsigned integer encoding of a floating-point value...">uintBitsToFloat</a>(genUType <span class="keyword">const</span> & value);
|
||||
<a name="l00382"></a>00382
|
||||
<a name="l00389"></a>00389 <span class="keyword">template</span> <<span class="keyword">typename</span> genType>
|
||||
<a name="l00390"></a>00390 genType <a class="code" href="a00125.html#gae88b926eebc4d610ecdd148bf8c7bdac" title="Computes and returns a * b + c.">fma</a>(genType <span class="keyword">const</span> & a, genType <span class="keyword">const</span> & b, genType <span class="keyword">const</span> & c);
|
||||
<a name="l00391"></a>00391
|
||||
<a name="l00406"></a>00406 <span class="keyword">template</span> <<span class="keyword">typename</span> genType, <span class="keyword">typename</span> genIType>
|
||||
<a name="l00407"></a>00407 genType <a class="code" href="a00125.html#ga459a98ee7601031e99bf0e99978ff13f" title="Splits x into a floating-point significand in the range [0.5, 1.0) and an integral exponent of two...">frexp</a>(genType <span class="keyword">const</span> & x, genIType & <a class="code" href="a00126.html#ga03903bb9395a13d554a5fbecdf67792b" title="Returns the natural exponentiation of x, i.e., e^x.">exp</a>);
|
||||
<a name="l00408"></a>00408
|
||||
<a name="l00420"></a>00420 <span class="keyword">template</span> <<span class="keyword">typename</span> genType, <span class="keyword">typename</span> genIType>
|
||||
<a name="l00421"></a>00421 genType <a class="code" href="a00125.html#gaf210cb4f21bbfde6ace0849e960a4b3a" title="Builds a floating-point number from x and the corresponding integral exponent of two in exp...">ldexp</a>(genType <span class="keyword">const</span> & x, genIType <span class="keyword">const</span> & <a class="code" href="a00126.html#ga03903bb9395a13d554a5fbecdf67792b" title="Returns the natural exponentiation of x, i.e., e^x.">exp</a>);
|
||||
<a name="l00422"></a>00422
|
||||
<a name="l00424"></a>00424 }<span class="comment">//namespace glm</span>
|
||||
<a name="l00425"></a>00425
|
||||
<a name="l00426"></a>00426 <span class="preprocessor">#include "func_common.inl"</span>
|
||||
<a name="l00427"></a>00427
|
||||
<a name="l00428"></a>00428 <span class="preprocessor">#endif//GLM_CORE_func_common</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