2015-08-02 08:23:00 +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" / >
< meta http-equiv = "X-UA-Compatible" content = "IE=9" / >
< meta name = "generator" content = "Doxygen 1.8.10" / >
2016-09-11 10:44:33 +00:00
< title > 0.9.8: func_common.hpp Source File< / title >
2015-08-02 08:23:00 +00:00
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
< / head >
< body >
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr style = "height: 56px;" >
< td id = "projectlogo" > < img alt = "Logo" src = "logo.png" / > < / td >
< td id = "projectalign" style = "padding-left: 0.5em;" >
2016-09-11 10:44:33 +00:00
< div id = "projectname" > 0.9.8
2015-08-02 08:23:00 +00:00
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
<!-- Generated by Doxygen 1.8.10 -->
< 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 >
< div id = "nav-path" class = "navpath" >
< ul >
< li class = "navelem" > < a class = "el" href = "dir_275089585c7fc1b5fd5d7d42c69cb1da.html" > D:< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_7b98f88bffbed4b390b5f8f520d9c08e.html" > Source< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_1f76e953200861345293ade84ac7fb6c.html" > G-Truc< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_e29b03b892e0e25920d021a614d4db9b.html" > glm< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_5ce58d942b2d0776e17a9a58abc01e04.html" > glm< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_e529a619cfdec1fa4c331fb042fd332f.html" > detail< / a > < / li > < / ul >
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "headertitle" >
< div class = "title" > func_common.hpp< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< a href = "a00029.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 >
2016-09-11 10:44:33 +00:00
< div class = "line" > < a name = "l00011" > < / a > < span class = "lineno" > 11< / span >   < span class = "preprocessor" > #pragma once< / span > < / div >
< div class = "line" > < a name = "l00012" > < / a > < span class = "lineno" > 12< / span >   < / div >
< div class = "line" > < a name = "l00013" > < / a > < span class = "lineno" > 13< / span >   < span class = "preprocessor" > #include " < a class = "code" href = "a00098.html" > setup.hpp< / a > " < / span > < / div >
< div class = "line" > < a name = "l00014" > < / a > < span class = "lineno" > 14< / span >   < span class = "preprocessor" > #include " < a class = "code" href = "a00085.html" > precision.hpp< / a > " < / span > < / div >
< div class = "line" > < a name = "l00015" > < / a > < span class = "lineno" > 15< / span >   < span class = "preprocessor" > #include " < a class = "code" href = "a00113.html" > type_int.hpp< / a > " < / span > < / div >
< div class = "line" > < a name = "l00016" > < / a > < span class = "lineno" > 16< / span >   < span class = "preprocessor" > #include " < a class = "code" href = "a00002.html" > _fixes.hpp< / a > " < / span > < / div >
< div class = "line" > < a name = "l00017" > < / a > < span class = "lineno" > 17< / span >   < / div >
< div class = "line" > < a name = "l00018" > < / a > < span class = "lineno" > 18< / span >   < span class = "keyword" > namespace < / span > < a class = "code" href = "a00141.html" > glm< / a > < / div >
< div class = "line" > < a name = "l00019" > < / a > < span class = "lineno" > 19< / span >   {< / div >
< div class = "line" > < a name = "l00022" > < / a > < span class = "lineno" > 22< / span >   < / div >
< div class = "line" > < a name = "l00029" > < / a > < span class = "lineno" > 29< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > genType> < / div >
< div class = "line" > < a name = "l00030" > < / a > < span class = "lineno" > 30< / span >   GLM_FUNC_DECL genType < a class = "code" href = "a00146.html#ga693d77696ff36572a0da79efec965acd" > abs< / a > (genType x);< / div >
< div class = "line" > < a name = "l00031" > < / a > < span class = "lineno" > 31< / span >   < / div >
< div class = "line" > < a name = "l00032" > < / a > < span class = "lineno" > 32< / 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 = "l00033" > < / a > < span class = "lineno" > 33< / span >   GLM_FUNC_DECL vecType< T, P> < a class = "code" href = "a00146.html#ga693d77696ff36572a0da79efec965acd" > abs< / a > (vecType< T, P> < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00034" > < / a > < span class = "lineno" > 34< / span >   < / div >
< div class = "line" > < a name = "l00041" > < / a > < span class = "lineno" > 41< / 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 = "l00042" > < / a > < span class = "lineno" > 42< / span >   GLM_FUNC_DECL vecType< T, P> < a class = "code" href = "a00146.html#gac3446b4138e0b8757561c07cd19f084d" > sign< / a > (vecType< T, P> < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00043" > < / a > < span class = "lineno" > 43< / span >   < / div >
< div class = "line" > < a name = "l00050" > < / a > < span class = "lineno" > 50< / 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 = "l00051" > < / a > < span class = "lineno" > 51< / span >   GLM_FUNC_DECL vecType< T, P> < a class = "code" href = "a00146.html#ga568b822b78f045f77c3325e165b44d5d" > floor< / a > (vecType< T, P> < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00052" > < / a > < span class = "lineno" > 52< / span >   < / div >
< div class = "line" > < a name = "l00060" > < / a > < span class = "lineno" > 60< / 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 = "l00061" > < / a > < span class = "lineno" > 61< / span >   GLM_FUNC_DECL vecType< T, P> < a class = "code" href = "a00146.html#ga634cdbf8b37edca03f2248450570fd54" > trunc< / a > (vecType< T, P> < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00062" > < / a > < span class = "lineno" > 62< / span >   < / div >
< div class = "line" > < a name = "l00073" > < / a > < span class = "lineno" > 73< / 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 = "l00074" > < / a > < span class = "lineno" > 74< / span >   GLM_FUNC_DECL vecType< T, P> < a class = "code" href = "a00146.html#gada0165544c0618d634c8056a88082ce9" > round< / a > (vecType< T, P> < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00075" > < / a > < span class = "lineno" > 75< / 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 = "a00146.html#ga655598104195a60a950291485e84a97e" > roundEven< / 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 = "l00095" > < / a > < span class = "lineno" > 95< / 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 = "l00096" > < / a > < span class = "lineno" > 96< / span >   GLM_FUNC_DECL vecType< T, P> < a class = "code" href = "a00146.html#ga9189b2bec45ff301923ea8f8dd157fb8" > ceil< / a > (vecType< T, P> < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00097" > < / a > < span class = "lineno" > 97< / span >   < / div >
< div class = "line" > < a name = "l00104" > < / a > < span class = "lineno" > 104< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > genType> < / div >
< div class = "line" > < a name = "l00105" > < / a > < span class = "lineno" > 105< / span >   GLM_FUNC_DECL genType < a class = "code" href = "a00146.html#ga8ba89e40e55ae5cdf228548f9b7639c7" > fract< / a > (genType x);< / div >
< div class = "line" > < a name = "l00106" > < / a > < span class = "lineno" > 106< / span >   < / div >
< div class = "line" > < a name = "l00107" > < / a > < span class = "lineno" > 107< / 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 = "l00108" > < / a > < span class = "lineno" > 108< / span >   GLM_FUNC_DECL vecType< T, P> < a class = "code" href = "a00146.html#ga8ba89e40e55ae5cdf228548f9b7639c7" > fract< / a > (vecType< T, P> < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00109" > < / a > < span class = "lineno" > 109< / span >   < / div >
< div class = "line" > < a name = "l00117" > < / a > < span class = "lineno" > 117< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > genType> < / div >
< div class = "line" > < a name = "l00118" > < / a > < span class = "lineno" > 118< / span >   GLM_FUNC_DECL genType < a class = "code" href = "a00165.html#gaf5ae5330f6b30b4a35fb95f9a73d6134" > mod< / a > (genType x, genType y);< / div >
< div class = "line" > < a name = "l00119" > < / a > < span class = "lineno" > 119< / 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 = "a00165.html#gaf5ae5330f6b30b4a35fb95f9a73d6134" > mod< / a > (vecType< T, P> < span class = "keyword" > const< / span > & x, T y);< / div >
< div class = "line" > < a name = "l00122" > < / a > < span class = "lineno" > 122< / span >   < / div >
< div class = "line" > < a name = "l00123" > < / a > < span class = "lineno" > 123< / 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 = "l00124" > < / a > < span class = "lineno" > 124< / span >   GLM_FUNC_DECL vecType< T, P> < a class = "code" href = "a00165.html#gaf5ae5330f6b30b4a35fb95f9a73d6134" > 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 = "l00125" > < / a > < span class = "lineno" > 125< / span >   < / div >
< div class = "line" > < a name = "l00135" > < / a > < span class = "lineno" > 135< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > genType> < / div >
< div class = "line" > < a name = "l00136" > < / a > < span class = "lineno" > 136< / span >   GLM_FUNC_DECL genType < a class = "code" href = "a00146.html#ga85e33f139b8db1b39b590a5713b9e679" > modf< / a > (genType x, genType & i);< / div >
< div class = "line" > < a name = "l00137" > < / a > < span class = "lineno" > 137< / span >   < / div >
< div class = "line" > < a name = "l00144" > < / a > < span class = "lineno" > 144< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > genType> < / div >
< div class = "line" > < a name = "l00145" > < / a > < span class = "lineno" > 145< / span >   GLM_FUNC_DECL genType < a class = "code" href = "a00146.html#ga2c2bde1cec025b7ddff83c74a1113719" > min< / a > (genType x, genType y);< / div >
< div class = "line" > < a name = "l00146" > < / a > < span class = "lineno" > 146< / span >   < / div >
< div class = "line" > < a name = "l00147" > < / a > < span class = "lineno" > 147< / 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 = "l00148" > < / a > < span class = "lineno" > 148< / span >   GLM_FUNC_DECL vecType< T, P> < a class = "code" href = "a00146.html#ga2c2bde1cec025b7ddff83c74a1113719" > min< / a > (vecType< T, P> < span class = "keyword" > const< / span > & x, T y);< / div >
< div class = "line" > < a name = "l00149" > < / a > < span class = "lineno" > 149< / span >   < / div >
< div class = "line" > < a name = "l00150" > < / a > < span class = "lineno" > 150< / 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 = "l00151" > < / a > < span class = "lineno" > 151< / span >   GLM_FUNC_DECL vecType< T, P> < a class = "code" href = "a00146.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 = "l00152" > < / a > < span class = "lineno" > 152< / span >   < / div >
< div class = "line" > < a name = "l00159" > < / a > < span class = "lineno" > 159< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > genType> < / div >
< div class = "line" > < a name = "l00160" > < / a > < span class = "lineno" > 160< / span >   GLM_FUNC_DECL genType < a class = "code" href = "a00146.html#ga98caa7f95a94c86a86ebce893a45326c" > max< / a > (genType x, genType y);< / div >
< div class = "line" > < a name = "l00161" > < / a > < span class = "lineno" > 161< / span >   < / div >
< div class = "line" > < a name = "l00162" > < / a > < span class = "lineno" > 162< / 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 = "l00163" > < / a > < span class = "lineno" > 163< / span >   GLM_FUNC_DECL vecType< T, P> < a class = "code" href = "a00146.html#ga98caa7f95a94c86a86ebce893a45326c" > max< / a > (vecType< T, P> < span class = "keyword" > const< / span > & x, T y);< / div >
< div class = "line" > < a name = "l00164" > < / a > < span class = "lineno" > 164< / span >   < / div >
< div class = "line" > < a name = "l00165" > < / a > < span class = "lineno" > 165< / 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 = "l00166" > < / a > < span class = "lineno" > 166< / span >   GLM_FUNC_DECL vecType< T, P> < a class = "code" href = "a00146.html#ga98caa7f95a94c86a86ebce893a45326c" > max< / 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 = "l00167" > < / a > < span class = "lineno" > 167< / span >   < / div >
< div class = "line" > < a name = "l00175" > < / a > < span class = "lineno" > 175< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > genType> < / div >
< div class = "line" > < a name = "l00176" > < / a > < span class = "lineno" > 176< / span >   GLM_FUNC_DECL genType < a class = "code" href = "a00146.html#ga93bce26c7d80d30a62f5c508f8498a6c" > clamp< / a > (genType x, genType minVal, genType maxVal);< / div >
< div class = "line" > < a name = "l00177" > < / a > < span class = "lineno" > 177< / span >   < / div >
< div class = "line" > < a name = "l00178" > < / a > < span class = "lineno" > 178< / 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 = "l00179" > < / a > < span class = "lineno" > 179< / span >   GLM_FUNC_DECL vecType< T, P> < a class = "code" href = "a00146.html#ga93bce26c7d80d30a62f5c508f8498a6c" > clamp< / a > (vecType< T, P> < span class = "keyword" > const< / span > & x, T minVal, T maxVal);< / div >
< div class = "line" > < a name = "l00180" > < / a > < span class = "lineno" > 180< / span >   < / div >
< div class = "line" > < a name = "l00181" > < / a > < span class = "lineno" > 181< / 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 = "l00182" > < / a > < span class = "lineno" > 182< / span >   GLM_FUNC_DECL vecType< T, P> < a class = "code" href = "a00146.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 = "l00183" > < / a > < span class = "lineno" > 183< / span >   < / div >
< div class = "line" > < a name = "l00226" > < / a > < span class = "lineno" > 226< / 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 = "l00227" > < / a > < span class = "lineno" > 227< / span >   GLM_FUNC_DECL vecType< T, P> < a class = "code" href = "a00146.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 = "l00228" > < / a > < span class = "lineno" > 228< / span >   < / div >
< div class = "line" > < a name = "l00229" > < / a > < span class = "lineno" > 229< / 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 = "l00230" > < / a > < span class = "lineno" > 230< / span >   GLM_FUNC_DECL vecType< T, P> < a class = "code" href = "a00146.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 = "l00231" > < / a > < span class = "lineno" > 231< / span >   < / div >
< div class = "line" > < a name = "l00232" > < / a > < span class = "lineno" > 232< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > genTypeT, < span class = "keyword" > typename< / span > genTypeU> < / div >
< div class = "line" > < a name = "l00233" > < / a > < span class = "lineno" > 233< / span >   GLM_FUNC_DECL genTypeT < a class = "code" href = "a00146.html#gadccbaffe46f369cf1a96b2aef92cbfdd" > mix< / a > (genTypeT x, genTypeT y, genTypeU a);< / div >
< div class = "line" > < a name = "l00234" > < / a > < span class = "lineno" > 234< / span >   < / div >
< div class = "line" > < a name = "l00239" > < / a > < span class = "lineno" > 239< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > genType> < / div >
< div class = "line" > < a name = "l00240" > < / a > < span class = "lineno" > 240< / span >   GLM_FUNC_DECL genType < a class = "code" href = "a00146.html#ga6d84170051fb87c183c38883ec85b411" > step< / a > (genType edge, genType x);< / div >
< div class = "line" > < a name = "l00241" > < / a > < span class = "lineno" > 241< / span >   < / div >
< div class = "line" > < a name = "l00246" > < / a > < span class = "lineno" > 246< / 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 = "l00247" > < / a > < span class = "lineno" > 247< / span >   GLM_FUNC_DECL vecType< T, P> < a class = "code" href = "a00146.html#ga6d84170051fb87c183c38883ec85b411" > step< / a > (T edge, vecType< T, P> < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00248" > < / a > < span class = "lineno" > 248< / span >   < / div >
< div class = "line" > < a name = "l00253" > < / a > < span class = "lineno" > 253< / 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 = "l00254" > < / a > < span class = "lineno" > 254< / span >   GLM_FUNC_DECL vecType< T, P> < a class = "code" href = "a00146.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 = "l00255" > < / a > < span class = "lineno" > 255< / span >   < / div >
< div class = "line" > < a name = "l00270" > < / a > < span class = "lineno" > 270< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > genType> < / div >
< div class = "line" > < a name = "l00271" > < / a > < span class = "lineno" > 271< / span >   GLM_FUNC_DECL genType < a class = "code" href = "a00146.html#ga562edf7eca082cc5b7a0aaf180436daf" > smoothstep< / a > (genType edge0, genType edge1, genType x);< / div >
< div class = "line" > < a name = "l00272" > < / a > < span class = "lineno" > 272< / span >   < / div >
< div class = "line" > < a name = "l00273" > < / a > < span class = "lineno" > 273< / 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 = "l00274" > < / a > < span class = "lineno" > 274< / span >   GLM_FUNC_DECL vecType< T, P> < a class = "code" href = "a00146.html#ga562edf7eca082cc5b7a0aaf180436daf" > smoothstep< / a > (T edge0, T edge1, vecType< T, P> < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00275" > < / a > < span class = "lineno" > 275< / span >   < / div >
< div class = "line" > < a name = "l00276" > < / a > < span class = "lineno" > 276< / 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 = "l00277" > < / a > < span class = "lineno" > 277< / span >   GLM_FUNC_DECL vecType< T, P> < a class = "code" href = "a00146.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 = "l00278" > < / a > < span class = "lineno" > 278< / span >   < / div >
< div class = "line" > < a name = "l00291" > < / a > < span class = "lineno" > 291< / 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 = "l00292" > < / a > < span class = "lineno" > 292< / span >   GLM_FUNC_DECL vecType< bool, P> < a class = "code" href = "a00146.html#ga6cb8f202a52eed2331724a3800198ebf" > isnan< / a > (vecType< T, P> < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00293" > < / a > < span class = "lineno" > 293< / span >   < / div >
< div class = "line" > < a name = "l00304" > < / a > < span class = "lineno" > 304< / 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 = "l00305" > < / a > < span class = "lineno" > 305< / span >   GLM_FUNC_DECL vecType< bool, P> < a class = "code" href = "a00146.html#gaf28f7a4696746f081685c9fd05c7e2de" > isinf< / a > (vecType< T, P> < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00306" > < / a > < span class = "lineno" > 306< / span >   < / div >
< div class = "line" > < a name = "l00313" > < / a > < span class = "lineno" > 313< / span >   GLM_FUNC_DECL < span class = "keywordtype" > int< / span > < a class = "code" href = "a00146.html#gac4a0710238ae54c67931dd29a0b0f873" > floatBitsToInt< / a > (< span class = "keywordtype" > float< / span > < span class = "keyword" > const< / span > & v);< / div >
< div class = "line" > < a name = "l00314" > < / a > < span class = "lineno" > 314< / span >   < / div >
< div class = "line" > < a name = "l00321" > < / a > < span class = "lineno" > 321< / 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 = "l00322" > < / a > < span class = "lineno" > 322< / span >   GLM_FUNC_DECL vecType< int, P> < a class = "code" href = "a00146.html#gac4a0710238ae54c67931dd29a0b0f873" > floatBitsToInt< / a > (vecType< float, P> < span class = "keyword" > const< / span > & v);< / div >
< div class = "line" > < a name = "l00323" > < / a > < span class = "lineno" > 323< / span >   < / div >
< div class = "line" > < a name = "l00330" > < / a > < span class = "lineno" > 330< / span >   GLM_FUNC_DECL < a class = "code" href = "a00158.html#ga91ad9478d81a7aaf2593e8d9c3d06a14" > uint< / a > < a class = "code" href = "a00146.html#ga1804d4c443605d8a27be644aa461afe4" > floatBitsToUint< / a > (< span class = "keywordtype" > float< / span > < span class = "keyword" > const< / span > & v);< / 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 >   < 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 = "l00339" > < / a > < span class = "lineno" > 339< / span >   GLM_FUNC_DECL vecType< uint, P> < a class = "code" href = "a00146.html#ga1804d4c443605d8a27be644aa461afe4" > floatBitsToUint< / a > (vecType< float, P> < span class = "keyword" > const< / span > & v);< / div >
< div class = "line" > < a name = "l00340" > < / a > < span class = "lineno" > 340< / span >   < / div >
< div class = "line" > < a name = "l00349" > < / a > < span class = "lineno" > 349< / span >   GLM_FUNC_DECL < span class = "keywordtype" > float< / span > < a class = "code" href = "a00146.html#gad21ab176dd0e6b59d923db5efca87f4e" > intBitsToFloat< / a > (< span class = "keywordtype" > int< / span > < span class = "keyword" > const< / span > & v);< / div >
< div class = "line" > < a name = "l00350" > < / a > < span class = "lineno" > 350< / span >   < / div >
< div class = "line" > < a name = "l00359" > < / a > < span class = "lineno" > 359< / 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 = "l00360" > < / a > < span class = "lineno" > 360< / span >   GLM_FUNC_DECL vecType< float, P> < a class = "code" href = "a00146.html#gad21ab176dd0e6b59d923db5efca87f4e" > intBitsToFloat< / a > (vecType< int, P> < span class = "keyword" > const< / span > & v);< / div >
< div class = "line" > < a name = "l00361" > < / a > < span class = "lineno" > 361< / span >   < / div >
< div class = "line" > < a name = "l00370" > < / a > < span class = "lineno" > 370< / span >   GLM_FUNC_DECL < span class = "keywordtype" > float< / span > < a class = "code" href = "a00146.html#ga3acab37650ecd792dc84548094b58684" > uintBitsToFloat< / a > (< a class = "code" href = "a00158.html#ga91ad9478d81a7aaf2593e8d9c3d06a14" > uint< / a > < span class = "keyword" > const< / span > & v);< / div >
< div class = "line" > < a name = "l00371" > < / a > < span class = "lineno" > 371< / span >   < / div >
< div class = "line" > < a name = "l00380" > < / a > < span class = "lineno" > 380< / 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 = "l00381" > < / a > < span class = "lineno" > 381< / span >   GLM_FUNC_DECL vecType< float, P> < a class = "code" href = "a00146.html#ga3acab37650ecd792dc84548094b58684" > uintBitsToFloat< / a > (vecType< uint, P> < span class = "keyword" > const< / span > & v);< / div >
< div class = "line" > < a name = "l00382" > < / a > < span class = "lineno" > 382< / span >   < / div >
< div class = "line" > < a name = "l00389" > < / a > < span class = "lineno" > 389< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > genType> < / div >
< div class = "line" > < a name = "l00390" > < / a > < span class = "lineno" > 390< / span >   GLM_FUNC_DECL genType < a class = "code" href = "a00146.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 = "l00391" > < / a > < span class = "lineno" > 391< / span >   < / div >
< div class = "line" > < a name = "l00406" > < / a > < span class = "lineno" > 406< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > genType, < span class = "keyword" > typename< / span > genIType> < / div >
< div class = "line" > < a name = "l00407" > < / a > < span class = "lineno" > 407< / span >   GLM_FUNC_DECL genType < a class = "code" href = "a00146.html#ga20620e83544d1a988857a3bc4ebe0e1d" > frexp< / a > (genType < span class = "keyword" > const< / span > & x, genIType & < a class = "code" href = "a00147.html#ga25e54a7f44fc49ec6ac6ffc7675cf04a" > exp< / a > );< / div >
< div class = "line" > < a name = "l00408" > < / a > < span class = "lineno" > 408< / span >   < / div >
< div class = "line" > < a name = "l00420" > < / a > < span class = "lineno" > 420< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > typename< / span > genType, < span class = "keyword" > typename< / span > genIType> < / div >
< div class = "line" > < a name = "l00421" > < / a > < span class = "lineno" > 421< / span >   GLM_FUNC_DECL genType < a class = "code" href = "a00146.html#ga52e319d7289b849ec92055abd4830533" > ldexp< / a > (genType < span class = "keyword" > const< / span > & x, genIType < span class = "keyword" > const< / span > & < a class = "code" href = "a00147.html#ga25e54a7f44fc49ec6ac6ffc7675cf04a" > exp< / a > );< / div >
< div class = "line" > < a name = "l00422" > < / a > < span class = "lineno" > 422< / span >   < / div >
< div class = "line" > < a name = "l00424" > < / a > < span class = "lineno" > 424< / span >   }< span class = "comment" > //namespace glm< / span > < / div >
< div class = "line" > < a name = "l00425" > < / a > < span class = "lineno" > 425< / span >   < / div >
< div class = "line" > < a name = "l00426" > < / a > < span class = "lineno" > 426< / span >   < span class = "preprocessor" > #include " func_common.inl" < / span > < / div >
< div class = "line" > < a name = "l00427" > < / a > < span class = "lineno" > 427< / span >   < / div >
< div class = "ttc" id = "a00146_html_ga8ba89e40e55ae5cdf228548f9b7639c7" > < div class = "ttname" > < a href = "a00146.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 = "a00146_html_ga52e319d7289b849ec92055abd4830533" > < div class = "ttname" > < a href = "a00146.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 = "a00146_html_gad21ab176dd0e6b59d923db5efca87f4e" > < div class = "ttname" > < a href = "a00146.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 = "a00146_html_ga9189b2bec45ff301923ea8f8dd157fb8" > < div class = "ttname" > < a href = "a00146.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 = "a00146_html_ga85e33f139b8db1b39b590a5713b9e679" > < div class = "ttname" > < a href = "a00146.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 = "a00146_html_ga562edf7eca082cc5b7a0aaf180436daf" > < div class = "ttname" > < a href = "a00146.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 >
< div class = "ttc" id = "a00146_html_ga98caa7f95a94c86a86ebce893a45326c" > < div class = "ttname" > < a href = "a00146.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 = "a00158_html_ga91ad9478d81a7aaf2593e8d9c3d06a14" > < div class = "ttname" > < a href = "a00158.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 = "a00113_source.html#l00288" > type_int.hpp:288< / a > < / div > < / div >
< div class = "ttc" id = "a00141_html" > < div class = "ttname" > < a href = "a00141.html" > glm< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "a00003_source.html#l00011" > _noise.hpp:11< / a > < / div > < / div >
< div class = "ttc" id = "a00146_html_gada0165544c0618d634c8056a88082ce9" > < div class = "ttname" > < a href = "a00146.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 = "a00146_html_ga655598104195a60a950291485e84a97e" > < div class = "ttname" > < a href = "a00146.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 = "a00146_html_gadccbaffe46f369cf1a96b2aef92cbfdd" > < div class = "ttname" > < a href = "a00146.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 = "a00146_html_ga634cdbf8b37edca03f2248450570fd54" > < div class = "ttname" > < a href = "a00146.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 = "a00146_html_ga693d77696ff36572a0da79efec965acd" > < div class = "ttname" > < a href = "a00146.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 = "a00146_html_ga6cb8f202a52eed2331724a3800198ebf" > < div class = "ttname" > < a href = "a00146.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 = "a00146_html_ga20620e83544d1a988857a3bc4ebe0e1d" > < div class = "ttname" > < a href = "a00146.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 = "a00113_html" > < div class = "ttname" > < a href = "a00113.html" > type_int.hpp< / a > < / div > < div class = "ttdoc" > GLM Core < / div > < / div >
< div class = "ttc" id = "a00146_html_ga1804d4c443605d8a27be644aa461afe4" > < div class = "ttname" > < a href = "a00146.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 = "a00098_html" > < div class = "ttname" > < a href = "a00098.html" > setup.hpp< / a > < / div > < div class = "ttdoc" > GLM Core < / div > < / div >
< div class = "ttc" id = "a00146_html_ga3acab37650ecd792dc84548094b58684" > < div class = "ttname" > < a href = "a00146.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 = "a00146_html_ga6d84170051fb87c183c38883ec85b411" > < div class = "ttname" > < a href = "a00146.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 = "a00147_html_ga25e54a7f44fc49ec6ac6ffc7675cf04a" > < div class = "ttname" > < a href = "a00147.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 = "a00146_html_gaf28f7a4696746f081685c9fd05c7e2de" > < div class = "ttname" > < a href = "a00146.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 = "a00165_html_gaf5ae5330f6b30b4a35fb95f9a73d6134" > < div class = "ttname" > < a href = "a00165.html#gaf5ae5330f6b30b4a35fb95f9a73d6134" > glm::mod< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL vecType< T, P > mod(vecType< T, P > const & x, vecType< T, P > const & y)< / div > < div class = "ttdoc" > Modulus. < / div > < / div >
< div class = "ttc" id = "a00146_html_ga2c2bde1cec025b7ddff83c74a1113719" > < div class = "ttname" > < a href = "a00146.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_gad0f444d4b81cc53c3b6edf5aa25078c2" > < div class = "ttname" > < a href = "a00146.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 = "a00002_html" > < div class = "ttname" > < a href = "a00002.html" > _fixes.hpp< / a > < / div > < div class = "ttdoc" > GLM Core < / div > < / div >
< div class = "ttc" id = "a00146_html_ga568b822b78f045f77c3325e165b44d5d" > < div class = "ttname" > < a href = "a00146.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 = "a00085_html" > < div class = "ttname" > < a href = "a00085.html" > precision.hpp< / a > < / div > < div class = "ttdoc" > GLM Core < / div > < / div >
< div class = "ttc" id = "a00146_html_gac4a0710238ae54c67931dd29a0b0f873" > < div class = "ttname" > < a href = "a00146.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 = "a00146_html_ga93bce26c7d80d30a62f5c508f8498a6c" > < div class = "ttname" > < a href = "a00146.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 = "a00146_html_gac3446b4138e0b8757561c07cd19f084d" > < div class = "ttname" > < a href = "a00146.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 >
2015-08-02 08:23:00 +00:00
< / div > <!-- fragment --> < / div > <!-- contents -->
<!-- start footer part -->
< 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.8.10
< / small > < / address >
< / body >
< / html >