2012-09-05 22:30:34 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
2012-11-18 13:05:52 +00:00
< meta http-equiv = "X-UA-Compatible" content = "IE=9" / >
2014-11-25 00:28:32 +00:00
< meta name = "generator" content = "Doxygen 1.8.8" / >
< title > 0.9.6: func_common.hpp Source File< / title >
2012-09-05 22:30:34 +00:00
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
2012-11-18 13:05:52 +00:00
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
2012-09-05 22:30:34 +00:00
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
< / head >
< body >
2012-11-18 13:05:52 +00:00
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
2012-09-05 22:30:34 +00:00
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr style = "height: 56px;" >
2014-11-25 00:28:32 +00:00
< td id = "projectlogo" > < img alt = "Logo" src = "logo.png" / > < / td >
2013-12-25 22:48:55 +00:00
< td style = "padding-left: 0.5em;" >
2014-11-25 00:28:32 +00:00
< div id = "projectname" > 0.9.6
2013-12-25 22:48:55 +00:00
< / div >
< / td >
2012-09-05 22:30:34 +00:00
< / tr >
< / tbody >
< / table >
< / div >
2012-11-18 13:05:52 +00:00
<!-- end header part -->
2014-11-25 00:28:32 +00:00
<!-- Generated by Doxygen 1.8.8 -->
2012-09-05 22:30:34 +00:00
< div id = "navrow1" class = "tabs" >
< ul class = "tablist" >
< li > < a href = "index.html" > < span > Main  Page< / span > < / a > < / li >
< li > < a href = "modules.html" > < span > Modules< / span > < / a > < / li >
< li class = "current" > < a href = "files.html" > < span > Files< / span > < / a > < / li >
< / ul >
< / div >
< div id = "navrow2" class = "tabs2" >
< ul class = "tablist" >
< li > < a href = "files.html" > < span > File  List< / span > < / a > < / li >
< / ul >
< / div >
2012-11-18 13:05:52 +00:00
< div id = "nav-path" class = "navpath" >
< ul >
2014-11-25 00:28:32 +00:00
< li class = "navelem" > < a class = "el" href = "dir_885cc87fac2d91e269af0a5a959fa5f6.html" > E:< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_153b03dd71a7bff437c38ec53cb2e014.html" > Source< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_0c6652232a835be54bedd6cfd7502504.html" > G-Truc< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_e2c7faa62a52820b5be8795affd6e495.html" > glm< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_5cf96241cdcf6779b80e104875f9716f.html" > glm< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_9b22c367036d391e575f56d067c9855b.html" > detail< / a > < / li > < / ul >
2012-11-18 13:05:52 +00:00
< / div >
< / div > <!-- top -->
2012-09-05 22:30:34 +00:00
< div class = "header" >
< div class = "headertitle" >
2014-11-25 00:28:32 +00:00
< div class = "title" > func_common.hpp< / div > < / div >
2012-11-18 13:05:52 +00:00
< / div > <!-- header -->
2012-09-05 22:30:34 +00:00
< div class = "contents" >
2012-11-18 13:05:52 +00:00
< a href = "a00028.html" > Go to the documentation of this file.< / a > < div class = "fragment" > < div class = "line" > < a name = "l00001" > < / a > < span class = "lineno" > 1< / span >   < / div >
2014-11-25 00:28:32 +00:00
< div class = "line" > < a name = "l00036" > < / a > < span class = "lineno" > 36< / span >   < span class = "preprocessor" > #pragma once< / span > < / div >
< div class = "line" > < a name = "l00037" > < / a > < span class = "lineno" > 37< / span >   < / div >
< div class = "line" > < a name = "l00038" > < / a > < span class = "lineno" > 38< / span >   < span class = "preprocessor" > #include " < a class = "code" href = "a00105.html" > setup.hpp< / a > " < / span > < / div >
< div class = "line" > < a name = "l00039" > < / a > < span class = "lineno" > 39< / span >   < span class = "preprocessor" > #include " < a class = "code" href = "a00092.html" > precision.hpp< / a > " < / span > < / div >
< div class = "line" > < a name = "l00040" > < / a > < span class = "lineno" > 40< / span >   < span class = "preprocessor" > #include " < a class = "code" href = "a00119.html" > type_int.hpp< / a > " < / span > < / div >
< div class = "line" > < a name = "l00041" > < / a > < span class = "lineno" > 41< / span >   < span class = "preprocessor" > #include " < a class = "code" href = "a00002.html" > _fixes.hpp< / a > " < / span > < / div >
< div class = "line" > < a name = "l00042" > < / a > < span class = "lineno" > 42< / span >   < / div >
< div class = "line" > < a name = "l00043" > < / a > < span class = "lineno" > 43< / span >   < span class = "keyword" > namespace < / span > < a class = "code" href = "a00146.html" > glm< / a > < / div >
< div class = "line" > < a name = "l00044" > < / a > < span class = "lineno" > 44< / span >   {< / div >
< div class = "line" > < a name = "l00047" > < / a > < span class = "lineno" > 47< / span >   < / div >
< div class = "line" > < a name = "l00054" > < / a > < span class = "lineno" > 54< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > genType> < / div >
< div class = "line" > < a name = "l00055" > < / a > < span class = "lineno" > 55< / span >   GLM_FUNC_DECL genType < a class = "code" href = "a00150.html#ga693d77696ff36572a0da79efec965acd" > abs< / a > (genType x);< / div >
< div class = "line" > < a name = "l00056" > < / a > < span class = "lineno" > 56< / span >   < / div >
< div class = "line" > < a name = "l00057" > < / a > < span class = "lineno" > 57< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > T, precision P, < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > , precision> < span class = "keyword" > class < / span > vecType> < / div >
< div class = "line" > < a name = "l00058" > < / a > < span class = "lineno" > 58< / span >   GLM_FUNC_DECL vecType< T, P> < a class = "code" href = "a00150.html#ga693d77696ff36572a0da79efec965acd" > abs< / a > (vecType< T, P> < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00059" > < / a > < span class = "lineno" > 59< / span >   < / div >
< div class = "line" > < a name = "l00066" > < / a > < span class = "lineno" > 66< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > T, precision P, < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > , precision> < span class = "keyword" > class < / span > vecType> < / div >
< div class = "line" > < a name = "l00067" > < / a > < span class = "lineno" > 67< / span >   GLM_FUNC_DECL vecType< T, P> < a class = "code" href = "a00150.html#gac3446b4138e0b8757561c07cd19f084d" > sign< / a > (vecType< T, P> < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00068" > < / a > < span class = "lineno" > 68< / span >   < / div >
< div class = "line" > < a name = "l00075" > < / a > < span class = "lineno" > 75< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > T, precision P, < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > , precision> < span class = "keyword" > class < / span > vecType> < / div >
< div class = "line" > < a name = "l00076" > < / a > < span class = "lineno" > 76< / span >   GLM_FUNC_DECL vecType< T, P> < a class = "code" href = "a00150.html#ga568b822b78f045f77c3325e165b44d5d" > floor< / a > (vecType< T, P> < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00077" > < / a > < span class = "lineno" > 77< / span >   < / div >
< div class = "line" > < a name = "l00085" > < / a > < span class = "lineno" > 85< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > T, precision P, < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > , precision> < span class = "keyword" > class < / span > vecType> < / div >
< div class = "line" > < a name = "l00086" > < / a > < span class = "lineno" > 86< / span >   GLM_FUNC_DECL vecType< T, P> < a class = "code" href = "a00150.html#ga634cdbf8b37edca03f2248450570fd54" > trunc< / a > (vecType< T, P> < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00087" > < / a > < span class = "lineno" > 87< / span >   < / div >
< div class = "line" > < a name = "l00098" > < / a > < span class = "lineno" > 98< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > T, precision P, < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > , precision> < span class = "keyword" > class < / span > vecType> < / div >
< div class = "line" > < a name = "l00099" > < / a > < span class = "lineno" > 99< / span >   GLM_FUNC_DECL vecType< T, P> < a class = "code" href = "a00150.html#gada0165544c0618d634c8056a88082ce9" > round< / a > (vecType< T, P> < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00100" > < / a > < span class = "lineno" > 100< / span >   < / div >
< div class = "line" > < a name = "l00110" > < / a > < span class = "lineno" > 110< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > T, precision P, < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > , precision> < span class = "keyword" > class < / span > vecType> < / div >
< div class = "line" > < a name = "l00111" > < / a > < span class = "lineno" > 111< / span >   GLM_FUNC_DECL vecType< T, P> < a class = "code" href = "a00150.html#ga655598104195a60a950291485e84a97e" > roundEven< / a > (vecType< T, P> < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00112" > < / a > < span class = "lineno" > 112< / span >   < / div >
< div class = "line" > < a name = "l00120" > < / a > < span class = "lineno" > 120< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > T, precision P, < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > , precision> < span class = "keyword" > class < / span > vecType> < / div >
< div class = "line" > < a name = "l00121" > < / a > < span class = "lineno" > 121< / span >   GLM_FUNC_DECL vecType< T, P> < a class = "code" href = "a00150.html#ga9189b2bec45ff301923ea8f8dd157fb8" > ceil< / a > (vecType< T, P> < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00122" > < / a > < span class = "lineno" > 122< / span >   < / div >
< div class = "line" > < a name = "l00129" > < / a > < span class = "lineno" > 129< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > genType> < / div >
< div class = "line" > < a name = "l00130" > < / a > < span class = "lineno" > 130< / span >   GLM_FUNC_DECL genType < a class = "code" href = "a00150.html#ga8ba89e40e55ae5cdf228548f9b7639c7" > fract< / a > (genType x);< / div >
< div class = "line" > < a name = "l00131" > < / a > < span class = "lineno" > 131< / span >   < / div >
< div class = "line" > < a name = "l00132" > < / a > < span class = "lineno" > 132< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > T, precision P, < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > , precision> < span class = "keyword" > class < / span > vecType> < / div >
< div class = "line" > < a name = "l00133" > < / a > < span class = "lineno" > 133< / span >   GLM_FUNC_DECL vecType< T, P> < a class = "code" href = "a00150.html#ga8ba89e40e55ae5cdf228548f9b7639c7" > fract< / a > (vecType< T, P> < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00134" > < / a > < span class = "lineno" > 134< / span >   < / div >
< div class = "line" > < a name = "l00142" > < / a > < span class = "lineno" > 142< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > genType> < / div >
< div class = "line" > < a name = "l00143" > < / a > < span class = "lineno" > 143< / span >   GLM_FUNC_DECL genType < a class = "code" href = "a00150.html#ga12201563ef902e3b07e0d1d7656efdb1" > mod< / a > (genType x, genType y);< / div >
< div class = "line" > < a name = "l00144" > < / a > < span class = "lineno" > 144< / span >   < / div >
< div class = "line" > < a name = "l00145" > < / a > < span class = "lineno" > 145< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > T, precision P, < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > , precision> < span class = "keyword" > class < / span > vecType> < / div >
< div class = "line" > < a name = "l00146" > < / a > < span class = "lineno" > 146< / span >   GLM_FUNC_DECL vecType< T, P> < a class = "code" href = "a00150.html#ga12201563ef902e3b07e0d1d7656efdb1" > mod< / a > (vecType< T, P> < span class = "keyword" > const< / span > & x, T y);< / div >
< div class = "line" > < a name = "l00147" > < / a > < span class = "lineno" > 147< / span >   < / div >
< div class = "line" > < a name = "l00148" > < / a > < span class = "lineno" > 148< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > T, precision P, < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > , precision> < span class = "keyword" > class < / span > vecType> < / div >
< div class = "line" > < a name = "l00149" > < / a > < span class = "lineno" > 149< / span >   GLM_FUNC_DECL vecType< T, P> < a class = "code" href = "a00150.html#ga12201563ef902e3b07e0d1d7656efdb1" > mod< / a > (vecType< T, P> < span class = "keyword" > const< / span > & x, vecType< T, P> < span class = "keyword" > const< / span > & y);< / div >
< div class = "line" > < a name = "l00150" > < / a > < span class = "lineno" > 150< / span >   < / div >
< div class = "line" > < a name = "l00160" > < / a > < span class = "lineno" > 160< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > genType> < / div >
< div class = "line" > < a name = "l00161" > < / a > < span class = "lineno" > 161< / span >   GLM_FUNC_DECL genType < a class = "code" href = "a00150.html#ga85e33f139b8db1b39b590a5713b9e679" > modf< / a > (genType x, genType & i);< / div >
< div class = "line" > < a name = "l00162" > < / a > < span class = "lineno" > 162< / span >   < / div >
< div class = "line" > < a name = "l00169" > < / a > < span class = "lineno" > 169< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > genType> < / div >
< div class = "line" > < a name = "l00170" > < / a > < span class = "lineno" > 170< / span >   GLM_FUNC_DECL genType < a class = "code" href = "a00150.html#ga2c2bde1cec025b7ddff83c74a1113719" > min< / a > (genType x, genType y);< / div >
< div class = "line" > < a name = "l00171" > < / a > < span class = "lineno" > 171< / span >   < / div >
< div class = "line" > < a name = "l00172" > < / a > < span class = "lineno" > 172< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > T, precision P, < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > , precision> < span class = "keyword" > class < / span > vecType> < / div >
< div class = "line" > < a name = "l00173" > < / a > < span class = "lineno" > 173< / span >   GLM_FUNC_DECL vecType< T, P> < a class = "code" href = "a00150.html#ga2c2bde1cec025b7ddff83c74a1113719" > min< / a > (vecType< T, P> < span class = "keyword" > const< / span > & x, T y);< / div >
2013-12-25 22:48:55 +00:00
< div class = "line" > < a name = "l00174" > < / a > < span class = "lineno" > 174< / span >   < / div >
2014-11-25 00:28:32 +00:00
< div class = "line" > < a name = "l00175" > < / a > < span class = "lineno" > 175< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > T, precision P, < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > , precision> < span class = "keyword" > class < / span > vecType> < / div >
< div class = "line" > < a name = "l00176" > < / a > < span class = "lineno" > 176< / span >   GLM_FUNC_DECL vecType< T, P> < a class = "code" href = "a00150.html#ga2c2bde1cec025b7ddff83c74a1113719" > min< / a > (vecType< T, P> < span class = "keyword" > const< / span > & x, vecType< T, P> < span class = "keyword" > const< / span > & y);< / div >
< div class = "line" > < a name = "l00177" > < / a > < span class = "lineno" > 177< / span >   < / div >
< div class = "line" > < a name = "l00184" > < / a > < span class = "lineno" > 184< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > genType> < / div >
< div class = "line" > < a name = "l00185" > < / a > < span class = "lineno" > 185< / span >   GLM_FUNC_DECL genType < a class = "code" href = "a00150.html#ga98caa7f95a94c86a86ebce893a45326c" > max< / a > (genType x, genType y);< / div >
< div class = "line" > < a name = "l00186" > < / a > < span class = "lineno" > 186< / span >   < / div >
< div class = "line" > < a name = "l00187" > < / a > < span class = "lineno" > 187< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > T, precision P, < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > , precision> < span class = "keyword" > class < / span > vecType> < / div >
< div class = "line" > < a name = "l00188" > < / a > < span class = "lineno" > 188< / span >   GLM_FUNC_DECL vecType< T, P> < a class = "code" href = "a00150.html#ga98caa7f95a94c86a86ebce893a45326c" > max< / a > (vecType< T, P> < span class = "keyword" > const< / span > & x, T y);< / div >
< div class = "line" > < a name = "l00189" > < / a > < span class = "lineno" > 189< / span >   < / div >
< div class = "line" > < a name = "l00190" > < / a > < span class = "lineno" > 190< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > T, precision P, < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > , precision> < span class = "keyword" > class < / span > vecType> < / div >
< div class = "line" > < a name = "l00191" > < / a > < span class = "lineno" > 191< / span >   GLM_FUNC_DECL vecType< T, P> < a class = "code" href = "a00150.html#ga98caa7f95a94c86a86ebce893a45326c" > max< / a > (vecType< T, P> < span class = "keyword" > const< / span > & x, vecType< T, P> < span class = "keyword" > const< / span > & y);< / div >
2013-12-25 22:48:55 +00:00
< div class = "line" > < a name = "l00192" > < / a > < span class = "lineno" > 192< / span >   < / div >
2014-11-25 00:28:32 +00:00
< div class = "line" > < a name = "l00200" > < / a > < span class = "lineno" > 200< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > genType> < / div >
< div class = "line" > < a name = "l00201" > < / a > < span class = "lineno" > 201< / span >   GLM_FUNC_DECL genType < a class = "code" href = "a00150.html#ga93bce26c7d80d30a62f5c508f8498a6c" > clamp< / a > (genType x, genType minVal, genType maxVal);< / div >
< div class = "line" > < a name = "l00202" > < / a > < span class = "lineno" > 202< / span >   < / div >
< div class = "line" > < a name = "l00203" > < / a > < span class = "lineno" > 203< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > T, precision P, < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > , precision> < span class = "keyword" > class < / span > vecType> < / div >
< div class = "line" > < a name = "l00204" > < / a > < span class = "lineno" > 204< / span >   GLM_FUNC_DECL vecType< T, P> < a class = "code" href = "a00150.html#ga93bce26c7d80d30a62f5c508f8498a6c" > clamp< / a > (vecType< T, P> < span class = "keyword" > const< / span > & x, T minVal, T maxVal);< / div >
< div class = "line" > < a name = "l00205" > < / a > < span class = "lineno" > 205< / span >   < / div >
< div class = "line" > < a name = "l00206" > < / a > < span class = "lineno" > 206< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > T, precision P, < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > , precision> < span class = "keyword" > class < / span > vecType> < / div >
< div class = "line" > < a name = "l00207" > < / a > < span class = "lineno" > 207< / span >   GLM_FUNC_DECL vecType< T, P> < a class = "code" href = "a00150.html#ga93bce26c7d80d30a62f5c508f8498a6c" > clamp< / a > (vecType< T, P> < span class = "keyword" > const< / span > & x, vecType< T, P> < span class = "keyword" > const< / span > & minVal, vecType< T, P> < span class = "keyword" > const< / span > & maxVal);< / div >
< div class = "line" > < a name = "l00208" > < / a > < span class = "lineno" > 208< / span >   < / div >
< div class = "line" > < a name = "l00251" > < / a > < span class = "lineno" > 251< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > T, < span class = "keyword" > typename< / span > U, precision P, < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > , precision> < span class = "keyword" > class < / span > vecType> < / div >
< div class = "line" > < a name = "l00252" > < / a > < span class = "lineno" > 252< / span >   GLM_FUNC_DECL vecType< T, P> < a class = "code" href = "a00150.html#gadccbaffe46f369cf1a96b2aef92cbfdd" > mix< / a > (vecType< T, P> < span class = "keyword" > const< / span > & x, vecType< T, P> < span class = "keyword" > const< / span > & y, vecType< U, P> < span class = "keyword" > const< / span > & a);< / div >
< div class = "line" > < a name = "l00253" > < / a > < span class = "lineno" > 253< / span >   < / div >
< div class = "line" > < a name = "l00254" > < / a > < span class = "lineno" > 254< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > T, < span class = "keyword" > typename< / span > U, precision P, < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > , precision> < span class = "keyword" > class < / span > vecType> < / div >
< div class = "line" > < a name = "l00255" > < / a > < span class = "lineno" > 255< / span >   GLM_FUNC_DECL vecType< T, P> < a class = "code" href = "a00150.html#gadccbaffe46f369cf1a96b2aef92cbfdd" > mix< / a > (vecType< T, P> < span class = "keyword" > const< / span > & x, vecType< T, P> < span class = "keyword" > const< / span > & y, U a);< / div >
< div class = "line" > < a name = "l00256" > < / a > < span class = "lineno" > 256< / span >   < / div >
< div class = "line" > < a name = "l00257" > < / a > < span class = "lineno" > 257< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > genTypeT, < span class = "keyword" > typename< / span > genTypeU> < / div >
< div class = "line" > < a name = "l00258" > < / a > < span class = "lineno" > 258< / span >   GLM_FUNC_DECL genTypeT < a class = "code" href = "a00150.html#gadccbaffe46f369cf1a96b2aef92cbfdd" > mix< / a > (genTypeT x, genTypeT y, genTypeU a);< / div >
< div class = "line" > < a name = "l00259" > < / a > < span class = "lineno" > 259< / span >   < / div >
< div class = "line" > < a name = "l00264" > < / a > < span class = "lineno" > 264< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > genType> < / div >
< div class = "line" > < a name = "l00265" > < / a > < span class = "lineno" > 265< / span >   GLM_FUNC_DECL genType < a class = "code" href = "a00150.html#ga6d84170051fb87c183c38883ec85b411" > step< / a > (genType edge, genType x);< / div >
< div class = "line" > < a name = "l00266" > < / a > < span class = "lineno" > 266< / span >   < / div >
< div class = "line" > < a name = "l00271" > < / a > < span class = "lineno" > 271< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > , precision> < span class = "keyword" > class < / span > vecType, < span class = "keyword" > typename< / span > T, precision P> < / div >
< div class = "line" > < a name = "l00272" > < / a > < span class = "lineno" > 272< / span >   GLM_FUNC_DECL vecType< T, P> < a class = "code" href = "a00150.html#ga6d84170051fb87c183c38883ec85b411" > step< / a > (T edge, vecType< T, P> < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00273" > < / a > < span class = "lineno" > 273< / span >   < / div >
< div class = "line" > < a name = "l00278" > < / a > < span class = "lineno" > 278< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > , precision> < span class = "keyword" > class < / span > vecType, < span class = "keyword" > typename< / span > T, precision P> < / div >
< div class = "line" > < a name = "l00279" > < / a > < span class = "lineno" > 279< / span >   GLM_FUNC_DECL vecType< T, P> < a class = "code" href = "a00150.html#ga6d84170051fb87c183c38883ec85b411" > step< / a > (vecType< T, P> < span class = "keyword" > const< / span > & edge, vecType< T, P> < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00280" > < / a > < span class = "lineno" > 280< / span >   < / div >
< div class = "line" > < a name = "l00295" > < / a > < span class = "lineno" > 295< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > genType> < / div >
< div class = "line" > < a name = "l00296" > < / a > < span class = "lineno" > 296< / span >   GLM_FUNC_DECL genType < a class = "code" href = "a00150.html#ga562edf7eca082cc5b7a0aaf180436daf" > smoothstep< / a > (genType edge0, genType edge1, genType x);< / div >
< div class = "line" > < a name = "l00297" > < / a > < span class = "lineno" > 297< / span >   < / div >
< div class = "line" > < a name = "l00298" > < / a > < span class = "lineno" > 298< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > T, precision P, < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > , precision> < span class = "keyword" > class < / span > vecType> < / div >
< div class = "line" > < a name = "l00299" > < / a > < span class = "lineno" > 299< / span >   GLM_FUNC_DECL vecType< T, P> < a class = "code" href = "a00150.html#ga562edf7eca082cc5b7a0aaf180436daf" > smoothstep< / a > (T edge0, T edge1, vecType< T, P> < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00300" > < / a > < span class = "lineno" > 300< / span >   < / div >
< div class = "line" > < a name = "l00301" > < / a > < span class = "lineno" > 301< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > T, precision P, < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > , precision> < span class = "keyword" > class < / span > vecType> < / div >
< div class = "line" > < a name = "l00302" > < / a > < span class = "lineno" > 302< / span >   GLM_FUNC_DECL vecType< T, P> < a class = "code" href = "a00150.html#ga562edf7eca082cc5b7a0aaf180436daf" > smoothstep< / a > (vecType< T, P> < span class = "keyword" > const< / span > & edge0, vecType< T, P> < span class = "keyword" > const< / span > & edge1, vecType< T, P> < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00303" > < / a > < span class = "lineno" > 303< / span >   < / div >
< div class = "line" > < a name = "l00316" > < / a > < span class = "lineno" > 316< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > T, precision P, < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > , precision> < span class = "keyword" > class < / span > vecType> < / div >
< div class = "line" > < a name = "l00317" > < / a > < span class = "lineno" > 317< / span >   GLM_FUNC_DECL vecType< bool, P> < a class = "code" href = "a00150.html#ga6cb8f202a52eed2331724a3800198ebf" > isnan< / a > (vecType< T, P> < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00318" > < / a > < span class = "lineno" > 318< / span >   < / div >
< div class = "line" > < a name = "l00329" > < / a > < span class = "lineno" > 329< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > T, precision P, < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > , precision> < span class = "keyword" > class < / span > vecType> < / div >
< div class = "line" > < a name = "l00330" > < / a > < span class = "lineno" > 330< / span >   GLM_FUNC_DECL vecType< bool, P> < a class = "code" href = "a00150.html#gaf28f7a4696746f081685c9fd05c7e2de" > isinf< / a > (vecType< T, P> < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00331" > < / a > < span class = "lineno" > 331< / span >   < / div >
< div class = "line" > < a name = "l00338" > < / a > < span class = "lineno" > 338< / span >   GLM_FUNC_DECL < span class = "keywordtype" > int< / span > < a class = "code" href = "a00150.html#gac4a0710238ae54c67931dd29a0b0f873" > floatBitsToInt< / a > (< span class = "keywordtype" > float< / span > < span class = "keyword" > const< / span > & v);< / div >
< div class = "line" > < a name = "l00339" > < / a > < span class = "lineno" > 339< / span >   < / div >
< div class = "line" > < a name = "l00346" > < / a > < span class = "lineno" > 346< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > , precision> < span class = "keyword" > class < / span > vecType, precision P> < / div >
< div class = "line" > < a name = "l00347" > < / a > < span class = "lineno" > 347< / span >   GLM_FUNC_DECL vecType< int, P> < a class = "code" href = "a00150.html#gac4a0710238ae54c67931dd29a0b0f873" > floatBitsToInt< / a > (vecType< float, P> < span class = "keyword" > const< / span > & v);< / div >
< div class = "line" > < a name = "l00348" > < / a > < span class = "lineno" > 348< / span >   < / div >
< div class = "line" > < a name = "l00355" > < / a > < span class = "lineno" > 355< / span >   GLM_FUNC_DECL < a class = "code" href = "a00163.html#ga91ad9478d81a7aaf2593e8d9c3d06a14" > uint< / a > < a class = "code" href = "a00150.html#ga1804d4c443605d8a27be644aa461afe4" > floatBitsToUint< / a > (< span class = "keywordtype" > float< / span > < span class = "keyword" > const< / span > & v);< / div >
< div class = "line" > < a name = "l00356" > < / a > < span class = "lineno" > 356< / span >   < / div >
< div class = "line" > < a name = "l00363" > < / a > < span class = "lineno" > 363< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > , precision> < span class = "keyword" > class < / span > vecType, precision P> < / div >
< div class = "line" > < a name = "l00364" > < / a > < span class = "lineno" > 364< / span >   GLM_FUNC_DECL vecType< uint, P> < a class = "code" href = "a00150.html#ga1804d4c443605d8a27be644aa461afe4" > floatBitsToUint< / a > (vecType< float, P> < span class = "keyword" > const< / span > & v);< / div >
< div class = "line" > < a name = "l00365" > < / a > < span class = "lineno" > 365< / span >   < / div >
< div class = "line" > < a name = "l00374" > < / a > < span class = "lineno" > 374< / span >   GLM_FUNC_DECL < span class = "keywordtype" > float< / span > < a class = "code" href = "a00150.html#gad21ab176dd0e6b59d923db5efca87f4e" > intBitsToFloat< / a > (< span class = "keywordtype" > int< / span > < span class = "keyword" > const< / span > & v);< / div >
< div class = "line" > < a name = "l00375" > < / a > < span class = "lineno" > 375< / span >   < / div >
< div class = "line" > < a name = "l00384" > < / a > < span class = "lineno" > 384< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > , precision> < span class = "keyword" > class < / span > vecType, precision P> < / div >
< div class = "line" > < a name = "l00385" > < / a > < span class = "lineno" > 385< / span >   GLM_FUNC_DECL vecType< float, P> < a class = "code" href = "a00150.html#gad21ab176dd0e6b59d923db5efca87f4e" > intBitsToFloat< / a > (vecType< int, P> < span class = "keyword" > const< / span > & v);< / div >
< div class = "line" > < a name = "l00386" > < / a > < span class = "lineno" > 386< / span >   < / div >
< div class = "line" > < a name = "l00395" > < / a > < span class = "lineno" > 395< / span >   GLM_FUNC_DECL < span class = "keywordtype" > float< / span > < a class = "code" href = "a00150.html#ga3acab37650ecd792dc84548094b58684" > uintBitsToFloat< / a > (< a class = "code" href = "a00163.html#ga91ad9478d81a7aaf2593e8d9c3d06a14" > uint< / a > < span class = "keyword" > const< / span > & v);< / div >
< div class = "line" > < a name = "l00396" > < / a > < span class = "lineno" > 396< / span >   < / div >
< div class = "line" > < a name = "l00405" > < / a > < span class = "lineno" > 405< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > , precision> < span class = "keyword" > class < / span > vecType, precision P> < / div >
< div class = "line" > < a name = "l00406" > < / a > < span class = "lineno" > 406< / span >   GLM_FUNC_DECL vecType< float, P> < a class = "code" href = "a00150.html#ga3acab37650ecd792dc84548094b58684" > uintBitsToFloat< / a > (vecType< uint, P> < span class = "keyword" > const< / span > & v);< / div >
< div class = "line" > < a name = "l00407" > < / a > < span class = "lineno" > 407< / span >   < / div >
< div class = "line" > < a name = "l00414" > < / a > < span class = "lineno" > 414< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > genType> < / div >
< div class = "line" > < a name = "l00415" > < / a > < span class = "lineno" > 415< / span >   GLM_FUNC_DECL genType < a class = "code" href = "a00150.html#gad0f444d4b81cc53c3b6edf5aa25078c2" > fma< / a > (genType < span class = "keyword" > const< / span > & a, genType < span class = "keyword" > const< / span > & b, genType < span class = "keyword" > const< / span > & c);< / div >
< div class = "line" > < a name = "l00416" > < / a > < span class = "lineno" > 416< / span >   < / div >
< div class = "line" > < a name = "l00431" > < / a > < span class = "lineno" > 431< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > genType, < span class = "keyword" > typename< / span > genIType> < / div >
< div class = "line" > < a name = "l00432" > < / a > < span class = "lineno" > 432< / span >   GLM_FUNC_DECL genType < a class = "code" href = "a00150.html#ga20620e83544d1a988857a3bc4ebe0e1d" > frexp< / a > (genType < span class = "keyword" > const< / span > & x, genIType & < a class = "code" href = "a00151.html#ga25e54a7f44fc49ec6ac6ffc7675cf04a" > exp< / a > );< / div >
< div class = "line" > < a name = "l00433" > < / a > < span class = "lineno" > 433< / span >   < / div >
< div class = "line" > < a name = "l00445" > < / a > < span class = "lineno" > 445< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > genType, < span class = "keyword" > typename< / span > genIType> < / div >
< div class = "line" > < a name = "l00446" > < / a > < span class = "lineno" > 446< / span >   GLM_FUNC_DECL genType < a class = "code" href = "a00150.html#ga52e319d7289b849ec92055abd4830533" > ldexp< / a > (genType < span class = "keyword" > const< / span > & x, genIType < span class = "keyword" > const< / span > & < a class = "code" href = "a00151.html#ga25e54a7f44fc49ec6ac6ffc7675cf04a" > exp< / a > );< / div >
< div class = "line" > < a name = "l00447" > < / a > < span class = "lineno" > 447< / span >   < / div >
< div class = "line" > < a name = "l00449" > < / a > < span class = "lineno" > 449< / span >   }< span class = "comment" > //namespace glm< / span > < / div >
< div class = "line" > < a name = "l00450" > < / a > < span class = "lineno" > 450< / span >   < / div >
< div class = "line" > < a name = "l00451" > < / a > < span class = "lineno" > 451< / span >   < span class = "preprocessor" > #include " func_common.inl" < / span > < / div >
< div class = "line" > < a name = "l00452" > < / a > < span class = "lineno" > 452< / span >   < / div >
< div class = "ttc" id = "a00150_html_gaf28f7a4696746f081685c9fd05c7e2de" > < div class = "ttname" > < a href = "a00150.html#gaf28f7a4696746f081685c9fd05c7e2de" > glm::isinf< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL vecType< bool, P > isinf(vecType< T, P > const & x)< / div > < div class = "ttdoc" > Returns true if x holds a positive infinity or negative infinity representation in the underlying imp...< / div > < / div >
< div class = "ttc" id = "a00163_html_ga91ad9478d81a7aaf2593e8d9c3d06a14" > < div class = "ttname" > < a href = "a00163.html#ga91ad9478d81a7aaf2593e8d9c3d06a14" > glm::uint< / a > < / div > < div class = "ttdeci" > unsigned int uint< / div > < div class = "ttdoc" > Unsigned integer type. < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "a00119_source.html#l00302" > type_int.hpp:302< / a > < / div > < / div >
< div class = "ttc" id = "a00150_html_ga12201563ef902e3b07e0d1d7656efdb1" > < div class = "ttname" > < a href = "a00150.html#ga12201563ef902e3b07e0d1d7656efdb1" > glm::mod< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL genType mod(genType x, genType y)< / div > < div class = "ttdoc" > Modulus. < / div > < / div >
< div class = "ttc" id = "a00150_html_ga655598104195a60a950291485e84a97e" > < div class = "ttname" > < a href = "a00150.html#ga655598104195a60a950291485e84a97e" > glm::roundEven< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL vecType< T, P > roundEven(vecType< T, P > const & x)< / div > < div class = "ttdoc" > Returns a value equal to the nearest integer to x. < / div > < / div >
< div class = "ttc" id = "a00151_html_ga25e54a7f44fc49ec6ac6ffc7675cf04a" > < div class = "ttname" > < a href = "a00151.html#ga25e54a7f44fc49ec6ac6ffc7675cf04a" > glm::exp< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL vecType< T, P > exp(vecType< T, P > const & v)< / div > < div class = "ttdoc" > Returns the natural exponentiation of x, i.e., e^x. < / div > < / div >
< div class = "ttc" id = "a00150_html_ga98caa7f95a94c86a86ebce893a45326c" > < div class = "ttname" > < a href = "a00150.html#ga98caa7f95a94c86a86ebce893a45326c" > glm::max< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL genType max(genType x, genType y)< / div > < div class = "ttdoc" > Returns y if x < y ; otherwise , it returns x . < / div > < / div >
< div class = "ttc" id = "a00150_html_ga693d77696ff36572a0da79efec965acd" > < div class = "ttname" > < a href = "a00150.html#ga693d77696ff36572a0da79efec965acd" > glm::abs< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL genType abs(genType x)< / div > < div class = "ttdoc" > Returns x if x >= 0; otherwise, it returns -x. < / div > < / div >
< div class = "ttc" id = "a00150_html_ga52e319d7289b849ec92055abd4830533" > < div class = "ttname" > < a href = "a00150.html#ga52e319d7289b849ec92055abd4830533" > glm::ldexp< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL genType ldexp(genType const & x, genIType const & exp)< / div > < div class = "ttdoc" > Builds a floating-point number from x and the corresponding integral exponent of two in exp...< / div > < / div >
< div class = "ttc" id = "a00150_html_ga6d84170051fb87c183c38883ec85b411" > < div class = "ttname" > < a href = "a00150.html#ga6d84170051fb87c183c38883ec85b411" > glm::step< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL vecType< T, P > step(vecType< T, P > const & edge, vecType< T, P > const & x)< / div > < div class = "ttdoc" > Returns 0.0 if x < edge , otherwise it returns 1 . 0 . < / div > < / div >
< div class = "ttc" id = "a00150_html_ga2c2bde1cec025b7ddff83c74a1113719" > < div class = "ttname" > < a href = "a00150.html#ga2c2bde1cec025b7ddff83c74a1113719" > glm::min< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL genType min(genType x, genType y)< / div > < div class = "ttdoc" > Returns y if y < x ; otherwise , it returns x . < / div > < / div >
< div class = "ttc" id = "a00146_html" > < div class = "ttname" > < a href = "a00146.html" > glm< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "a00003_source.html#l00031" > _noise.hpp:31< / a > < / div > < / div >
< div class = "ttc" id = "a00105_html" > < div class = "ttname" > < a href = "a00105.html" > setup.hpp< / a > < / div > < div class = "ttdoc" > OpenGL Mathematics (glm.g-truc.net) < / div > < / div >
< div class = "ttc" id = "a00150_html_gad0f444d4b81cc53c3b6edf5aa25078c2" > < div class = "ttname" > < a href = "a00150.html#gad0f444d4b81cc53c3b6edf5aa25078c2" > glm::fma< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL genType fma(genType const & a, genType const & b, genType const & c)< / div > < div class = "ttdoc" > Computes and returns a * b + c. < / div > < / div >
< div class = "ttc" id = "a00150_html_gadccbaffe46f369cf1a96b2aef92cbfdd" > < div class = "ttname" > < a href = "a00150.html#gadccbaffe46f369cf1a96b2aef92cbfdd" > glm::mix< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL vecType< T, P > mix(vecType< T, P > const & x, vecType< T, P > const & y, vecType< U, P > const & a)< / div > < div class = "ttdoc" > If genTypeU is a floating scalar or vector: Returns x * (1.0 - a) + y * a, i.e., the linear blend of ...< / div > < / div >
< div class = "ttc" id = "a00150_html_ga6cb8f202a52eed2331724a3800198ebf" > < div class = "ttname" > < a href = "a00150.html#ga6cb8f202a52eed2331724a3800198ebf" > glm::isnan< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL vecType< bool, P > isnan(vecType< T, P > const & x)< / div > < div class = "ttdoc" > Returns true if x holds a NaN (not a number) representation in the underlying implementation' s set of...< / div > < / div >
< div class = "ttc" id = "a00150_html_ga634cdbf8b37edca03f2248450570fd54" > < div class = "ttname" > < a href = "a00150.html#ga634cdbf8b37edca03f2248450570fd54" > glm::trunc< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL vecType< T, P > trunc(vecType< T, P > const & x)< / div > < div class = "ttdoc" > Returns a value equal to the nearest integer to x whose absolute value is not larger than the absolut...< / div > < / div >
< div class = "ttc" id = "a00150_html_ga9189b2bec45ff301923ea8f8dd157fb8" > < div class = "ttname" > < a href = "a00150.html#ga9189b2bec45ff301923ea8f8dd157fb8" > glm::ceil< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL vecType< T, P > ceil(vecType< T, P > const & x)< / div > < div class = "ttdoc" > Returns a value equal to the nearest integer that is greater than or equal to x. < / div > < / div >
< div class = "ttc" id = "a00150_html_ga85e33f139b8db1b39b590a5713b9e679" > < div class = "ttname" > < a href = "a00150.html#ga85e33f139b8db1b39b590a5713b9e679" > glm::modf< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL genType modf(genType x, genType & i)< / div > < div class = "ttdoc" > Returns the fractional part of x and sets i to the integer part (as a whole number floating point val...< / div > < / div >
< div class = "ttc" id = "a00150_html_ga93bce26c7d80d30a62f5c508f8498a6c" > < div class = "ttname" > < a href = "a00150.html#ga93bce26c7d80d30a62f5c508f8498a6c" > glm::clamp< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL genType clamp(genType x, genType minVal, genType maxVal)< / div > < div class = "ttdoc" > Returns min(max(x, minVal), maxVal) for each component in x using the floating-point values minVal an...< / div > < / div >
< div class = "ttc" id = "a00150_html_ga3acab37650ecd792dc84548094b58684" > < div class = "ttname" > < a href = "a00150.html#ga3acab37650ecd792dc84548094b58684" > glm::uintBitsToFloat< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL vecType< float, P > uintBitsToFloat(vecType< uint, P > const & v)< / div > < div class = "ttdoc" > Returns a floating-point value corresponding to a unsigned integer encoding of a floating-point value...< / div > < / div >
< div class = "ttc" id = "a00150_html_ga1804d4c443605d8a27be644aa461afe4" > < div class = "ttname" > < a href = "a00150.html#ga1804d4c443605d8a27be644aa461afe4" > glm::floatBitsToUint< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL vecType< uint, P > floatBitsToUint(vecType< float, P > const & v)< / div > < div class = "ttdoc" > Returns a unsigned integer value representing the encoding of a floating-point value. < / div > < / div >
< div class = "ttc" id = "a00150_html_gada0165544c0618d634c8056a88082ce9" > < div class = "ttname" > < a href = "a00150.html#gada0165544c0618d634c8056a88082ce9" > glm::round< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL vecType< T, P > round(vecType< T, P > const & x)< / div > < div class = "ttdoc" > Returns a value equal to the nearest integer to x. < / div > < / div >
< div class = "ttc" id = "a00150_html_gac4a0710238ae54c67931dd29a0b0f873" > < div class = "ttname" > < a href = "a00150.html#gac4a0710238ae54c67931dd29a0b0f873" > glm::floatBitsToInt< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL vecType< int, P > floatBitsToInt(vecType< float, P > const & v)< / div > < div class = "ttdoc" > Returns a signed integer value representing the encoding of a floating-point value. < / div > < / div >
< div class = "ttc" id = "a00150_html_gac3446b4138e0b8757561c07cd19f084d" > < div class = "ttname" > < a href = "a00150.html#gac3446b4138e0b8757561c07cd19f084d" > glm::sign< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL vecType< T, P > sign(vecType< T, P > const & x)< / div > < div class = "ttdoc" > Returns 1.0 if x > 0, 0.0 if x == 0, or -1.0 if x < 0. < / div > < / div >
< div class = "ttc" id = "a00092_html" > < div class = "ttname" > < a href = "a00092.html" > precision.hpp< / a > < / div > < div class = "ttdoc" > OpenGL Mathematics (glm.g-truc.net) < / div > < / div >
< div class = "ttc" id = "a00150_html_ga568b822b78f045f77c3325e165b44d5d" > < div class = "ttname" > < a href = "a00150.html#ga568b822b78f045f77c3325e165b44d5d" > glm::floor< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL vecType< T, P > floor(vecType< T, P > const & x)< / div > < div class = "ttdoc" > Returns a value equal to the nearest integer that is less then or equal to x. < / div > < / div >
< div class = "ttc" id = "a00150_html_ga20620e83544d1a988857a3bc4ebe0e1d" > < div class = "ttname" > < a href = "a00150.html#ga20620e83544d1a988857a3bc4ebe0e1d" > glm::frexp< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL genType frexp(genType const & x, genIType & exp)< / div > < div class = "ttdoc" > Splits x into a floating-point significand in the range [0.5, 1.0) and an integral exponent of two...< / div > < / div >
< div class = "ttc" id = "a00002_html" > < div class = "ttname" > < a href = "a00002.html" > _fixes.hpp< / a > < / div > < div class = "ttdoc" > OpenGL Mathematics (glm.g-truc.net) < / div > < / div >
< div class = "ttc" id = "a00150_html_ga8ba89e40e55ae5cdf228548f9b7639c7" > < div class = "ttname" > < a href = "a00150.html#ga8ba89e40e55ae5cdf228548f9b7639c7" > glm::fract< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL genType fract(genType x)< / div > < div class = "ttdoc" > Return x - floor(x). < / div > < / div >
< div class = "ttc" id = "a00150_html_gad21ab176dd0e6b59d923db5efca87f4e" > < div class = "ttname" > < a href = "a00150.html#gad21ab176dd0e6b59d923db5efca87f4e" > glm::intBitsToFloat< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL vecType< float, P > intBitsToFloat(vecType< int, P > const & v)< / div > < div class = "ttdoc" > Returns a floating-point value corresponding to a signed integer encoding of a floating-point value...< / div > < / div >
< div class = "ttc" id = "a00119_html" > < div class = "ttname" > < a href = "a00119.html" > type_int.hpp< / a > < / div > < div class = "ttdoc" > OpenGL Mathematics (glm.g-truc.net) < / div > < / div >
< div class = "ttc" id = "a00150_html_ga562edf7eca082cc5b7a0aaf180436daf" > < div class = "ttname" > < a href = "a00150.html#ga562edf7eca082cc5b7a0aaf180436daf" > glm::smoothstep< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL genType smoothstep(genType edge0, genType edge1, genType x)< / div > < div class = "ttdoc" > Returns 0.0 if x < = edge0 and 1.0 if x >= edge1 and performs smooth Hermite interpolation between 0 a...< / div > < / div >
2012-11-18 13:05:52 +00:00
< / div > <!-- fragment --> < / div > <!-- contents -->
<!-- start footer part -->
2012-09-05 22:30:34 +00:00
< 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" / >
2014-11-25 00:28:32 +00:00
< / a > 1.8.8
2012-09-05 22:30:34 +00:00
< / small > < / address >
< / body >
< / html >