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: GLM_GTC_round< / 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 > < a href = "files.html" > < span > Files< / span > < / a > < / li >
< / ul >
< / div >
2012-11-18 13:05:52 +00:00
< / div > <!-- top -->
2012-09-05 22:30:34 +00:00
< div class = "header" >
< div class = "summary" >
< a href = "#func-members" > Functions< / a > < / div >
< div class = "headertitle" >
2014-11-25 00:28:32 +00:00
< div class = "title" > GLM_GTC_round< div class = "ingroups" > < a class = "el" href = "a00159.html" > GTC Extensions (Stable)< / a > < / div > < / div > < / div >
2013-12-25 22:48:55 +00:00
< / div > <!-- header -->
2012-09-05 22:30:34 +00:00
< div class = "contents" >
< table class = "memberdecls" >
2012-11-18 13:05:52 +00:00
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "func-members" > < / a >
2012-09-05 22:30:34 +00:00
Functions< / h2 > < / td > < / tr >
2014-11-25 00:28:32 +00:00
< tr class = "memitem:gac84898c466e609cdd2e81d9ba907d9e8" > < td class = "memTemplParams" colspan = "2" > template< typename genType > < / td > < / tr >
< tr class = "memitem:gac84898c466e609cdd2e81d9ba907d9e8" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL genType  < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00178.html#gac84898c466e609cdd2e81d9ba907d9e8" > ceilMultiple< / a > (genType Source, genType Multiple)< / td > < / tr >
< tr class = "separator:gac84898c466e609cdd2e81d9ba907d9e8" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gafe632af669ac57d670ca18e3665a12ca" > < td class = "memTemplParams" colspan = "2" > template< typename T , precision P, template< typename, precision > class vecType> < / td > < / tr >
< tr class = "memitem:gafe632af669ac57d670ca18e3665a12ca" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL vecType< T, P >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00178.html#gafe632af669ac57d670ca18e3665a12ca" > ceilMultiple< / a > (vecType< T, P > const & Source, vecType< T, P > const & Multiple)< / td > < / tr >
< tr class = "separator:gafe632af669ac57d670ca18e3665a12ca" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gaa73c7690c787086fa3ac1c312264acab" > < td class = "memTemplParams" colspan = "2" > template< typename genIUType > < / td > < / tr >
< tr class = "memitem:gaa73c7690c787086fa3ac1c312264acab" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL genIUType  < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00178.html#gaa73c7690c787086fa3ac1c312264acab" > ceilPowerOfTwo< / a > (genIUType Value)< / td > < / tr >
< tr class = "separator:gaa73c7690c787086fa3ac1c312264acab" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga76ec9b214ea1376fe09a903e34bab847" > < td class = "memTemplParams" colspan = "2" > template< typename T , precision P, template< typename, precision > class vecType> < / td > < / tr >
< tr class = "memitem:ga76ec9b214ea1376fe09a903e34bab847" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL vecType< T, P >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00178.html#ga76ec9b214ea1376fe09a903e34bab847" > ceilPowerOfTwo< / a > (vecType< T, P > const & value)< / td > < / tr >
< tr class = "separator:ga76ec9b214ea1376fe09a903e34bab847" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga9eafb9dbedf84e5cece65c2fe9d5631d" > < td class = "memTemplParams" colspan = "2" > template< typename genType > < / td > < / tr >
< tr class = "memitem:ga9eafb9dbedf84e5cece65c2fe9d5631d" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL genType  < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00178.html#ga9eafb9dbedf84e5cece65c2fe9d5631d" > floorMultiple< / a > (genType Source, genType Multiple)< / td > < / tr >
< tr class = "separator:ga9eafb9dbedf84e5cece65c2fe9d5631d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga6912db42d43873fe1dedb3aed2b7a239" > < td class = "memTemplParams" colspan = "2" > template< typename T , precision P, template< typename, precision > class vecType> < / td > < / tr >
< tr class = "memitem:ga6912db42d43873fe1dedb3aed2b7a239" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL vecType< T, P >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00178.html#ga6912db42d43873fe1dedb3aed2b7a239" > floorMultiple< / a > (vecType< T, P > const & Source, vecType< T, P > const & Multiple)< / td > < / tr >
< tr class = "separator:ga6912db42d43873fe1dedb3aed2b7a239" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gac80f6519c31baae10d8d7bea6735d1fa" > < td class = "memTemplParams" colspan = "2" > template< typename genIUType > < / td > < / tr >
< tr class = "memitem:gac80f6519c31baae10d8d7bea6735d1fa" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL genIUType  < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00178.html#gac80f6519c31baae10d8d7bea6735d1fa" > floorPowerOfTwo< / a > (genIUType Value)< / td > < / tr >
< tr class = "separator:gac80f6519c31baae10d8d7bea6735d1fa" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga6a5a8f6dd1b2f755e4572bd039062c37" > < td class = "memTemplParams" colspan = "2" > template< typename T , precision P, template< typename, precision > class vecType> < / td > < / tr >
< tr class = "memitem:ga6a5a8f6dd1b2f755e4572bd039062c37" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL vecType< T, P >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00178.html#ga6a5a8f6dd1b2f755e4572bd039062c37" > floorPowerOfTwo< / a > (vecType< T, P > const & value)< / td > < / tr >
< tr class = "separator:ga6a5a8f6dd1b2f755e4572bd039062c37" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gaf7444a7b2eb524f373463ceba76b9326" > < td class = "memTemplParams" colspan = "2" > template< typename genIUType > < / td > < / tr >
< tr class = "memitem:gaf7444a7b2eb524f373463ceba76b9326" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL bool  < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00178.html#gaf7444a7b2eb524f373463ceba76b9326" > isMultiple< / a > (genIUType Value, genIUType Multiple)< / td > < / tr >
< tr class = "separator:gaf7444a7b2eb524f373463ceba76b9326" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga50ea5d5dc33fffba39ad6002a3784123" > < td class = "memTemplParams" colspan = "2" > template< typename T , precision P, template< typename, precision > class vecType> < / td > < / tr >
< tr class = "memitem:ga50ea5d5dc33fffba39ad6002a3784123" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL vecType< bool, P >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00178.html#ga50ea5d5dc33fffba39ad6002a3784123" > isMultiple< / a > (vecType< T, P > const & Value, T Multiple)< / td > < / tr >
< tr class = "separator:ga50ea5d5dc33fffba39ad6002a3784123" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga7ae705574ef3e3ebfb4f537d8d285c48" > < td class = "memTemplParams" colspan = "2" > template< typename T , precision P, template< typename, precision > class vecType> < / td > < / tr >
< tr class = "memitem:ga7ae705574ef3e3ebfb4f537d8d285c48" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL vecType< bool, P >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00178.html#ga7ae705574ef3e3ebfb4f537d8d285c48" > isMultiple< / a > (vecType< T, P > const & Value, vecType< T, P > const & Multiple)< / td > < / tr >
< tr class = "separator:ga7ae705574ef3e3ebfb4f537d8d285c48" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gaebf826fbb6e0a70eeaab0792d89b25ec" > < td class = "memTemplParams" colspan = "2" > template< typename genIUType > < / td > < / tr >
< tr class = "memitem:gaebf826fbb6e0a70eeaab0792d89b25ec" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL bool  < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00178.html#gaebf826fbb6e0a70eeaab0792d89b25ec" > isPowerOfTwo< / a > (genIUType Value)< / td > < / tr >
< tr class = "separator:gaebf826fbb6e0a70eeaab0792d89b25ec" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gad454e4c8d8cd73ddc7de855f733a1465" > < td class = "memTemplParams" colspan = "2" > template< typename T , precision P, template< typename, precision > class vecType> < / td > < / tr >
< tr class = "memitem:gad454e4c8d8cd73ddc7de855f733a1465" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL vecType< bool, P >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00178.html#gad454e4c8d8cd73ddc7de855f733a1465" > isPowerOfTwo< / a > (vecType< T, P > const & value)< / td > < / tr >
< tr class = "separator:gad454e4c8d8cd73ddc7de855f733a1465" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga6739d1de04b2cea7c78675b365644bce" > < td class = "memTemplParams" colspan = "2" > template< typename genType > < / td > < / tr >
< tr class = "memitem:ga6739d1de04b2cea7c78675b365644bce" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL genType  < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00178.html#ga6739d1de04b2cea7c78675b365644bce" > roundMultiple< / a > (genType Source, genType Multiple)< / td > < / tr >
< tr class = "separator:ga6739d1de04b2cea7c78675b365644bce" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga10a8ab7b254257b607b6a3fc68c3e661" > < td class = "memTemplParams" colspan = "2" > template< typename T , precision P, template< typename, precision > class vecType> < / td > < / tr >
< tr class = "memitem:ga10a8ab7b254257b607b6a3fc68c3e661" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL vecType< T, P >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00178.html#ga10a8ab7b254257b607b6a3fc68c3e661" > roundMultiple< / a > (vecType< T, P > const & Source, vecType< T, P > const & Multiple)< / td > < / tr >
< tr class = "separator:ga10a8ab7b254257b607b6a3fc68c3e661" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga6d24a9e3abe3e6a908661b43acb8efe0" > < td class = "memTemplParams" colspan = "2" > template< typename genIUType > < / td > < / tr >
< tr class = "memitem:ga6d24a9e3abe3e6a908661b43acb8efe0" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL genIUType  < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00178.html#ga6d24a9e3abe3e6a908661b43acb8efe0" > roundPowerOfTwo< / a > (genIUType Value)< / td > < / tr >
< tr class = "separator:ga6d24a9e3abe3e6a908661b43acb8efe0" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gae95be3b384f3bbd00c6c1cf0a1f96485" > < td class = "memTemplParams" colspan = "2" > template< typename T , precision P, template< typename, precision > class vecType> < / td > < / tr >
< tr class = "memitem:gae95be3b384f3bbd00c6c1cf0a1f96485" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL vecType< T, P >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00178.html#gae95be3b384f3bbd00c6c1cf0a1f96485" > roundPowerOfTwo< / a > (vecType< T, P > const & value)< / td > < / tr >
< tr class = "separator:gae95be3b384f3bbd00c6c1cf0a1f96485" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2012-09-05 22:30:34 +00:00
< / table >
2012-11-18 13:05:52 +00:00
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
2014-11-25 00:28:32 +00:00
< p > rounding value to specific boundings < / p >
< p > < < a class = "el" href = "a00102.html" title = "OpenGL Mathematics (glm.g-truc.net) " > glm/gtc/round.hpp< / a > > need to be included to use these functionalities. < / p >
2013-12-25 22:48:55 +00:00
< h2 class = "groupheader" > Function Documentation< / h2 >
2014-11-25 00:28:32 +00:00
< a class = "anchor" id = "gac84898c466e609cdd2e81d9ba907d9e8" > < / a >
2012-11-18 13:05:52 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2014-11-25 00:28:32 +00:00
< td class = "memname" > GLM_FUNC_DECL genType glm::ceilMultiple < / td >
2013-12-25 22:48:55 +00:00
< td > (< / td >
2014-11-25 00:28:32 +00:00
< td class = "paramtype" > genType  < / td >
< td class = "paramname" > < em > Source< / em > , < / td >
2012-11-18 13:05:52 +00:00
< / tr >
2013-12-25 22:48:55 +00:00
< tr >
2014-11-25 00:28:32 +00:00
< td class = "paramkey" > < / td >
2013-12-25 22:48:55 +00:00
< td > < / td >
2014-11-25 00:28:32 +00:00
< td class = "paramtype" > genType  < / td >
< td class = "paramname" > < em > Multiple< / em >   < / td >
2013-12-25 22:48:55 +00:00
< / tr >
< tr >
< td > < / td >
2014-11-25 00:28:32 +00:00
< td > )< / td >
< td > < / td > < td > < / td >
2013-12-25 22:48:55 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2014-11-25 00:28:32 +00:00
< p > Higher multiple number of Source. < / p >
< dl class = "tparams" > < dt > Template Parameters< / dt > < dd >
< table class = "tparams" >
< tr > < td class = "paramname" > genType< / td > < td > Floating-point or integer scalar or vector types. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > Source< / td > < td > < / td > < / tr >
< tr > < td class = "paramname" > Multiple< / td > < td > Must be a null or positive value< / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00178.html" title = "rounding value to specific boundings " > GLM_GTC_round< / a > < / dd > < / dl >
< / div >
< / div >
< a class = "anchor" id = "gafe632af669ac57d670ca18e3665a12ca" > < / a >
2013-12-25 22:48:55 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2014-11-25 00:28:32 +00:00
< td class = "memname" > GLM_FUNC_DECL vecType< T, P> glm::ceilMultiple < / td >
2013-12-25 22:48:55 +00:00
< td > (< / td >
2014-11-25 00:28:32 +00:00
< td class = "paramtype" > vecType< T, P > const &   < / td >
< td class = "paramname" > < em > Source< / em > , < / td >
2013-12-25 22:48:55 +00:00
< / tr >
< tr >
2014-11-25 00:28:32 +00:00
< td class = "paramkey" > < / td >
2013-12-25 22:48:55 +00:00
< td > < / td >
2014-11-25 00:28:32 +00:00
< td class = "paramtype" > vecType< T, P > const &   < / td >
< td class = "paramname" > < em > Multiple< / em >   < / td >
2013-12-25 22:48:55 +00:00
< / tr >
< tr >
< td > < / td >
2014-11-25 00:28:32 +00:00
< td > )< / td >
< td > < / td > < td > < / td >
2013-12-25 22:48:55 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2014-11-25 00:28:32 +00:00
< p > Higher multiple number of Source. < / p >
< dl class = "tparams" > < dt > Template Parameters< / dt > < dd >
< table class = "tparams" >
< tr > < td class = "paramname" > genType< / td > < td > Floating-point or integer scalar or vector types. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > Source< / td > < td > < / td > < / tr >
< tr > < td class = "paramname" > Multiple< / td > < td > Must be a null or positive value< / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00178.html" title = "rounding value to specific boundings " > GLM_GTC_round< / a > < / dd > < / dl >
< / div >
< / div >
< a class = "anchor" id = "gaa73c7690c787086fa3ac1c312264acab" > < / a >
2013-12-25 22:48:55 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2014-11-25 00:28:32 +00:00
< td class = "memname" > GLM_FUNC_DECL genIUType glm::ceilPowerOfTwo < / td >
2013-12-25 22:48:55 +00:00
< td > (< / td >
2014-11-25 00:28:32 +00:00
< td class = "paramtype" > genIUType  < / td >
< td class = "paramname" > < em > Value< / em > < / td > < td > )< / td >
2013-12-25 22:48:55 +00:00
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2014-11-25 00:28:32 +00:00
< p > Return the power of two number which value is just higher the input value, round up to a power of two. < / p >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00178.html" title = "rounding value to specific boundings " > GLM_GTC_round< / a > < / dd > < / dl >
2013-12-25 22:48:55 +00:00
< / div >
< / div >
2014-11-25 00:28:32 +00:00
< a class = "anchor" id = "ga76ec9b214ea1376fe09a903e34bab847" > < / a >
2013-12-25 22:48:55 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2014-11-25 00:28:32 +00:00
< td class = "memname" > GLM_FUNC_DECL vecType< T, P> glm::ceilPowerOfTwo < / td >
2013-12-25 22:48:55 +00:00
< td > (< / td >
2014-11-25 00:28:32 +00:00
< td class = "paramtype" > vecType< T, P > const &   < / td >
< td class = "paramname" > < em > value< / em > < / td > < td > )< / td >
2013-12-25 22:48:55 +00:00
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2014-11-25 00:28:32 +00:00
< p > Return the power of two number which value is just higher the input value, round up to a power of two. < / p >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00178.html" title = "rounding value to specific boundings " > GLM_GTC_round< / a > < / dd > < / dl >
2013-12-25 22:48:55 +00:00
< / div >
< / div >
2014-11-25 00:28:32 +00:00
< a class = "anchor" id = "ga9eafb9dbedf84e5cece65c2fe9d5631d" > < / a >
2013-12-25 22:48:55 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2014-11-25 00:28:32 +00:00
< td class = "memname" > GLM_FUNC_DECL genType glm::floorMultiple < / td >
2013-12-25 22:48:55 +00:00
< td > (< / td >
2014-11-25 00:28:32 +00:00
< td class = "paramtype" > genType  < / td >
< td class = "paramname" > < em > Source< / em > , < / td >
2013-12-25 22:48:55 +00:00
< / tr >
< tr >
2014-11-25 00:28:32 +00:00
< td class = "paramkey" > < / td >
2013-12-25 22:48:55 +00:00
< td > < / td >
2014-11-25 00:28:32 +00:00
< td class = "paramtype" > genType  < / td >
< td class = "paramname" > < em > Multiple< / em >   < / td >
2013-12-25 22:48:55 +00:00
< / tr >
2012-11-18 13:05:52 +00:00
< tr >
< td > < / td >
2014-11-25 00:28:32 +00:00
< td > )< / td >
< td > < / td > < td > < / td >
2012-11-18 13:05:52 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2014-11-25 00:28:32 +00:00
< p > Lower multiple number of Source. < / p >
< dl class = "tparams" > < dt > Template Parameters< / dt > < dd >
< table class = "tparams" >
< tr > < td class = "paramname" > genType< / td > < td > Floating-point or integer scalar or vector types. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > Source< / td > < td > < / td > < / tr >
< tr > < td class = "paramname" > Multiple< / td > < td > Must be a null or positive value< / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00178.html" title = "rounding value to specific boundings " > GLM_GTC_round< / a > < / dd > < / dl >
< / div >
< / div >
< a class = "anchor" id = "ga6912db42d43873fe1dedb3aed2b7a239" > < / a >
2012-09-05 22:30:34 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2014-11-25 00:28:32 +00:00
< td class = "memname" > GLM_FUNC_DECL vecType< T, P> glm::floorMultiple < / td >
2012-09-05 22:30:34 +00:00
< td > (< / td >
2014-11-25 00:28:32 +00:00
< td class = "paramtype" > vecType< T, P > const &   < / td >
< td class = "paramname" > < em > Source< / em > , < / td >
2012-09-05 22:30:34 +00:00
< / tr >
< tr >
2014-11-25 00:28:32 +00:00
< td class = "paramkey" > < / td >
2012-09-05 22:30:34 +00:00
< td > < / td >
2014-11-25 00:28:32 +00:00
< td class = "paramtype" > vecType< T, P > const &   < / td >
< td class = "paramname" > < em > Multiple< / em >   < / td >
2012-11-18 13:05:52 +00:00
< / tr >
< tr >
2013-12-25 22:48:55 +00:00
< td > < / td >
2014-11-25 00:28:32 +00:00
< td > )< / td >
< td > < / td > < td > < / td >
2012-09-05 22:30:34 +00:00
< / tr >
2013-12-25 22:48:55 +00:00
< / table >
< / div > < div class = "memdoc" >
2014-11-25 00:28:32 +00:00
< p > Lower multiple number of Source. < / p >
< dl class = "tparams" > < dt > Template Parameters< / dt > < dd >
< table class = "tparams" >
< tr > < td class = "paramname" > genType< / td > < td > Floating-point or integer scalar or vector types. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > Source< / td > < td > < / td > < / tr >
< tr > < td class = "paramname" > Multiple< / td > < td > Must be a null or positive value< / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00178.html" title = "rounding value to specific boundings " > GLM_GTC_round< / a > < / dd > < / dl >
< / div >
< / div >
< a class = "anchor" id = "gac80f6519c31baae10d8d7bea6735d1fa" > < / a >
2013-12-25 22:48:55 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
2012-09-05 22:30:34 +00:00
< tr >
2014-11-25 00:28:32 +00:00
< td class = "memname" > GLM_FUNC_DECL genIUType glm::floorPowerOfTwo < / td >
2013-12-25 22:48:55 +00:00
< td > (< / td >
2014-11-25 00:28:32 +00:00
< td class = "paramtype" > genIUType  < / td >
< td class = "paramname" > < em > Value< / em > < / td > < td > )< / td >
2012-09-05 22:30:34 +00:00
< td > < / td >
< / tr >
2013-12-25 22:48:55 +00:00
< / table >
< / div > < div class = "memdoc" >
2014-11-25 00:28:32 +00:00
< p > Return the power of two number which value is just lower the input value, round down to a power of two. < / p >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00178.html" title = "rounding value to specific boundings " > GLM_GTC_round< / a > < / dd > < / dl >
2013-12-25 22:48:55 +00:00
< / div >
< / div >
2014-11-25 00:28:32 +00:00
< a class = "anchor" id = "ga6a5a8f6dd1b2f755e4572bd039062c37" > < / a >
2013-12-25 22:48:55 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
2012-09-05 22:30:34 +00:00
< tr >
2014-11-25 00:28:32 +00:00
< td class = "memname" > GLM_FUNC_DECL vecType< T, P> glm::floorPowerOfTwo < / td >
2013-12-25 22:48:55 +00:00
< td > (< / td >
2014-11-25 00:28:32 +00:00
< td class = "paramtype" > vecType< T, P > const &   < / td >
< td class = "paramname" > < em > value< / em > < / td > < td > )< / td >
2012-09-05 22:30:34 +00:00
< td > < / td >
< / tr >
< / table >
2012-11-18 13:05:52 +00:00
< / div > < div class = "memdoc" >
2012-09-05 22:30:34 +00:00
2014-11-25 00:28:32 +00:00
< p > Return the power of two number which value is just lower the input value, round down to a power of two. < / p >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00178.html" title = "rounding value to specific boundings " > GLM_GTC_round< / a > < / dd > < / dl >
2012-09-05 22:30:34 +00:00
< / div >
< / div >
2014-11-25 00:28:32 +00:00
< a class = "anchor" id = "gaf7444a7b2eb524f373463ceba76b9326" > < / a >
2012-09-05 22:30:34 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2014-11-25 00:28:32 +00:00
< td class = "memname" > GLM_FUNC_DECL bool glm::isMultiple < / td >
2012-09-05 22:30:34 +00:00
< td > (< / td >
2014-11-25 00:28:32 +00:00
< td class = "paramtype" > genIUType  < / td >
< td class = "paramname" > < em > Value< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
2013-12-25 22:48:55 +00:00
< td > < / td >
2014-11-25 00:28:32 +00:00
< td class = "paramtype" > genIUType  < / td >
< td class = "paramname" > < em > Multiple< / em >   < / td >
2012-09-05 22:30:34 +00:00
< / tr >
< tr >
< td > < / td >
2014-11-25 00:28:32 +00:00
< td > )< / td >
< td > < / td > < td > < / td >
2012-09-05 22:30:34 +00:00
< / tr >
2013-12-25 22:48:55 +00:00
< / table >
< / div > < div class = "memdoc" >
2014-11-25 00:28:32 +00:00
< p > Return true if the 'Value' is a multiple of 'Multiple'. < / p >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00178.html" title = "rounding value to specific boundings " > GLM_GTC_round< / a > < / dd > < / dl >
2013-12-25 22:48:55 +00:00
< / div >
< / div >
2014-11-25 00:28:32 +00:00
< a class = "anchor" id = "ga50ea5d5dc33fffba39ad6002a3784123" > < / a >
2013-12-25 22:48:55 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
2012-09-05 22:30:34 +00:00
< tr >
2014-11-25 00:28:32 +00:00
< td class = "memname" > GLM_FUNC_DECL vecType< bool, P> glm::isMultiple < / td >
2013-12-25 22:48:55 +00:00
< td > (< / td >
2014-11-25 00:28:32 +00:00
< td class = "paramtype" > vecType< T, P > const &   < / td >
< td class = "paramname" > < em > Value< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
2012-09-05 22:30:34 +00:00
< td > < / td >
2014-11-25 00:28:32 +00:00
< td class = "paramtype" > T  < / td >
< td class = "paramname" > < em > Multiple< / em >   < / td >
2012-09-05 22:30:34 +00:00
< / tr >
2012-11-18 13:05:52 +00:00
< tr >
< td > < / td >
2014-11-25 00:28:32 +00:00
< td > )< / td >
< td > < / td > < td > < / td >
2012-11-18 13:05:52 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2012-09-05 22:30:34 +00:00
2014-11-25 00:28:32 +00:00
< p > Return true if the 'Value' is a multiple of 'Multiple'. < / p >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00178.html" title = "rounding value to specific boundings " > GLM_GTC_round< / a > < / dd > < / dl >
2012-09-05 22:30:34 +00:00
< / div >
< / div >
2014-11-25 00:28:32 +00:00
< a class = "anchor" id = "ga7ae705574ef3e3ebfb4f537d8d285c48" > < / a >
2012-09-05 22:30:34 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2014-11-25 00:28:32 +00:00
< td class = "memname" > GLM_FUNC_DECL vecType< bool, P> glm::isMultiple < / td >
2012-09-05 22:30:34 +00:00
< td > (< / td >
2014-11-25 00:28:32 +00:00
< td class = "paramtype" > vecType< T, P > const &   < / td >
< td class = "paramname" > < em > Value< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
2013-12-25 22:48:55 +00:00
< td > < / td >
2014-11-25 00:28:32 +00:00
< td class = "paramtype" > vecType< T, P > const &   < / td >
< td class = "paramname" > < em > Multiple< / em >   < / td >
2012-09-05 22:30:34 +00:00
< / tr >
< tr >
< td > < / td >
2014-11-25 00:28:32 +00:00
< td > )< / td >
< td > < / td > < td > < / td >
2012-11-18 13:05:52 +00:00
< / tr >
2013-12-25 22:48:55 +00:00
< / table >
< / div > < div class = "memdoc" >
2014-11-25 00:28:32 +00:00
< p > Return true if the 'Value' is a multiple of 'Multiple'. < / p >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00178.html" title = "rounding value to specific boundings " > GLM_GTC_round< / a > < / dd > < / dl >
2013-12-25 22:48:55 +00:00
< / div >
< / div >
2014-11-25 00:28:32 +00:00
< a class = "anchor" id = "gaebf826fbb6e0a70eeaab0792d89b25ec" > < / a >
2013-12-25 22:48:55 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
2012-11-18 13:05:52 +00:00
< tr >
2014-11-25 00:28:32 +00:00
< td class = "memname" > GLM_FUNC_DECL bool glm::isPowerOfTwo < / td >
2013-12-25 22:48:55 +00:00
< td > (< / td >
2014-11-25 00:28:32 +00:00
< td class = "paramtype" > genIUType  < / td >
< td class = "paramname" > < em > Value< / em > < / td > < td > )< / td >
2012-11-18 13:05:52 +00:00
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2014-11-25 00:28:32 +00:00
< p > Return true if the value is a power of two number. < / p >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00178.html" title = "rounding value to specific boundings " > GLM_GTC_round< / a > < / dd > < / dl >
2012-11-18 13:05:52 +00:00
< / div >
< / div >
2014-11-25 00:28:32 +00:00
< a class = "anchor" id = "gad454e4c8d8cd73ddc7de855f733a1465" > < / a >
2012-11-18 13:05:52 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2014-11-25 00:28:32 +00:00
< td class = "memname" > GLM_FUNC_DECL vecType< bool, P> glm::isPowerOfTwo < / td >
2012-11-18 13:05:52 +00:00
< td > (< / td >
2014-11-25 00:28:32 +00:00
< td class = "paramtype" > vecType< T, P > const &   < / td >
< td class = "paramname" > < em > value< / em > < / td > < td > )< / td >
2013-12-25 22:48:55 +00:00
< td > < / td >
2012-09-05 22:30:34 +00:00
< / tr >
2013-12-25 22:48:55 +00:00
< / table >
< / div > < div class = "memdoc" >
2014-11-25 00:28:32 +00:00
< p > Return true if the value is a power of two number. < / p >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00178.html" title = "rounding value to specific boundings " > GLM_GTC_round< / a > < / dd > < / dl >
2013-12-25 22:48:55 +00:00
< / div >
< / div >
2014-11-25 00:28:32 +00:00
< a class = "anchor" id = "ga6739d1de04b2cea7c78675b365644bce" > < / a >
2013-12-25 22:48:55 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
2012-09-05 22:30:34 +00:00
< tr >
2014-11-25 00:28:32 +00:00
< td class = "memname" > GLM_FUNC_DECL genType glm::roundMultiple < / td >
2013-12-25 22:48:55 +00:00
< td > (< / td >
2014-11-25 00:28:32 +00:00
< td class = "paramtype" > genType  < / td >
< td class = "paramname" > < em > Source< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
2012-09-05 22:30:34 +00:00
< td > < / td >
2014-11-25 00:28:32 +00:00
< td class = "paramtype" > genType  < / td >
< td class = "paramname" > < em > Multiple< / em >   < / td >
2012-09-05 22:30:34 +00:00
< / tr >
2013-12-25 22:48:55 +00:00
< tr >
< td > < / td >
2014-11-25 00:28:32 +00:00
< td > )< / td >
< td > < / td > < td > < / td >
2013-12-25 22:48:55 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2014-11-25 00:28:32 +00:00
< p > Lower multiple number of Source. < / p >
< dl class = "tparams" > < dt > Template Parameters< / dt > < dd >
< table class = "tparams" >
< tr > < td class = "paramname" > genType< / td > < td > Floating-point or integer scalar or vector types. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > Source< / td > < td > < / td > < / tr >
< tr > < td class = "paramname" > Multiple< / td > < td > Must be a null or positive value< / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00178.html" title = "rounding value to specific boundings " > GLM_GTC_round< / a > < / dd > < / dl >
< / div >
< / div >
< a class = "anchor" id = "ga10a8ab7b254257b607b6a3fc68c3e661" > < / a >
2013-12-25 22:48:55 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
2012-09-05 22:30:34 +00:00
< tr >
2014-11-25 00:28:32 +00:00
< td class = "memname" > GLM_FUNC_DECL vecType< T, P> glm::roundMultiple < / td >
2013-12-25 22:48:55 +00:00
< td > (< / td >
2014-11-25 00:28:32 +00:00
< td class = "paramtype" > vecType< T, P > const &   < / td >
< td class = "paramname" > < em > Source< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
2013-12-25 22:48:55 +00:00
< td > < / td >
2014-11-25 00:28:32 +00:00
< td class = "paramtype" > vecType< T, P > const &   < / td >
< td class = "paramname" > < em > Multiple< / em >   < / td >
2013-12-25 22:48:55 +00:00
< / tr >
< tr >
2012-09-05 22:30:34 +00:00
< td > < / td >
2014-11-25 00:28:32 +00:00
< td > )< / td >
< td > < / td > < td > < / td >
2012-09-05 22:30:34 +00:00
< / tr >
< / table >
2012-11-18 13:05:52 +00:00
< / div > < div class = "memdoc" >
2012-09-05 22:30:34 +00:00
2014-11-25 00:28:32 +00:00
< p > Lower multiple number of Source. < / p >
< dl class = "tparams" > < dt > Template Parameters< / dt > < dd >
< table class = "tparams" >
< tr > < td class = "paramname" > genType< / td > < td > Floating-point or integer scalar or vector types. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > Source< / td > < td > < / td > < / tr >
< tr > < td class = "paramname" > Multiple< / td > < td > Must be a null or positive value< / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00178.html" title = "rounding value to specific boundings " > GLM_GTC_round< / a > < / dd > < / dl >
< / div >
< / div >
< a class = "anchor" id = "ga6d24a9e3abe3e6a908661b43acb8efe0" > < / a >
2012-11-18 13:05:52 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2014-11-25 00:28:32 +00:00
< td class = "memname" > GLM_FUNC_DECL genIUType glm::roundPowerOfTwo < / td >
2012-11-18 13:05:52 +00:00
< td > (< / td >
2014-11-25 00:28:32 +00:00
< td class = "paramtype" > genIUType  < / td >
< td class = "paramname" > < em > Value< / em > < / td > < td > )< / td >
2012-11-18 13:05:52 +00:00
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2014-11-25 00:28:32 +00:00
< p > Return the power of two number which value is the closet to the input value. < / p >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00178.html" title = "rounding value to specific boundings " > GLM_GTC_round< / a > < / dd > < / dl >
2012-11-18 13:05:52 +00:00
2012-09-05 22:30:34 +00:00
< / div >
< / div >
2014-11-25 00:28:32 +00:00
< a class = "anchor" id = "gae95be3b384f3bbd00c6c1cf0a1f96485" > < / a >
2012-11-18 13:05:52 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2014-11-25 00:28:32 +00:00
< td class = "memname" > GLM_FUNC_DECL vecType< T, P> glm::roundPowerOfTwo < / td >
2012-11-18 13:05:52 +00:00
< td > (< / td >
2014-11-25 00:28:32 +00:00
< td class = "paramtype" > vecType< T, P > const &   < / td >
< td class = "paramname" > < em > value< / em > < / td > < td > )< / td >
2012-11-18 13:05:52 +00:00
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2012-09-05 22:30:34 +00:00
2014-11-25 00:28:32 +00:00
< p > Return the power of two number which value is the closet to the input value. < / p >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00178.html" title = "rounding value to specific boundings " > GLM_GTC_round< / a > < / dd > < / dl >
2012-09-05 22:30:34 +00:00
2012-11-18 13:05:52 +00:00
< / div >
< / div >
< / 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 >