Platformer in OpenGL
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

564 regels
23 KiB

5 jaren geleden
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.14"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>0.9.9 API documenation: GLM_EXT_scalar_common</title>
  9. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  10. <script type="text/javascript" src="jquery.js"></script>
  11. <script type="text/javascript" src="dynsections.js"></script>
  12. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="search/searchdata.js"></script>
  14. <script type="text/javascript" src="search/search.js"></script>
  15. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  19. <div id="titlearea">
  20. <table cellspacing="0" cellpadding="0">
  21. <tbody>
  22. <tr style="height: 56px;">
  23. <td id="projectlogo"><img alt="Logo" src="logo-mini.png"/></td>
  24. <td id="projectalign" style="padding-left: 0.5em;">
  25. <div id="projectname">0.9.9 API documenation
  26. </div>
  27. </td>
  28. </tr>
  29. </tbody>
  30. </table>
  31. </div>
  32. <!-- end header part -->
  33. <!-- Generated by Doxygen 1.8.14 -->
  34. <script type="text/javascript">
  35. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  36. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  37. /* @license-end */
  38. </script>
  39. <script type="text/javascript" src="menudata.js"></script>
  40. <script type="text/javascript" src="menu.js"></script>
  41. <script type="text/javascript">
  42. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  43. $(function() {
  44. initMenu('',true,false,'search.php','Search');
  45. $(document).ready(function() { init_search(); });
  46. });
  47. /* @license-end */</script>
  48. <div id="main-nav"></div>
  49. </div><!-- top -->
  50. <!-- window showing the filter options -->
  51. <div id="MSearchSelectWindow"
  52. onmouseover="return searchBox.OnSearchSelectShow()"
  53. onmouseout="return searchBox.OnSearchSelectHide()"
  54. onkeydown="return searchBox.OnSearchSelectKey(event)">
  55. </div>
  56. <!-- iframe showing the search results (closed by default) -->
  57. <div id="MSearchResultsWindow">
  58. <iframe src="javascript:void(0)" frameborder="0"
  59. name="MSearchResults" id="MSearchResults">
  60. </iframe>
  61. </div>
  62. <div class="header">
  63. <div class="summary">
  64. <a href="#func-members">Functions</a> </div>
  65. <div class="headertitle">
  66. <div class="title">GLM_EXT_scalar_common<div class="ingroups"><a class="el" href="a00703.html">Stable extensions</a></div></div> </div>
  67. </div><!--header-->
  68. <div class="contents">
  69. <table class="memberdecls">
  70. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
  71. Functions</h2></td></tr>
  72. <tr class="memitem:ga36920478565cf608e93064283ce06421"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  73. <tr class="memitem:ga36920478565cf608e93064283ce06421"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00679.html#ga36920478565cf608e93064283ce06421">fmax</a> (T a, T b)</td></tr>
  74. <tr class="separator:ga36920478565cf608e93064283ce06421"><td class="memSeparator" colspan="2">&#160;</td></tr>
  75. <tr class="memitem:ga0007bba71ca451ac70e99d28dfbeaab9"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  76. <tr class="memitem:ga0007bba71ca451ac70e99d28dfbeaab9"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00679.html#ga0007bba71ca451ac70e99d28dfbeaab9">fmax</a> (T a, T b, T C)</td></tr>
  77. <tr class="separator:ga0007bba71ca451ac70e99d28dfbeaab9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  78. <tr class="memitem:ga27e260b1ff4d04c3ad4b864d26cbaf08"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  79. <tr class="memitem:ga27e260b1ff4d04c3ad4b864d26cbaf08"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00679.html#ga27e260b1ff4d04c3ad4b864d26cbaf08">fmax</a> (T a, T b, T C, T D)</td></tr>
  80. <tr class="separator:ga27e260b1ff4d04c3ad4b864d26cbaf08"><td class="memSeparator" colspan="2">&#160;</td></tr>
  81. <tr class="memitem:ga7b2b438a765e2a62098c79eb212f28f0"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  82. <tr class="memitem:ga7b2b438a765e2a62098c79eb212f28f0"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00679.html#ga7b2b438a765e2a62098c79eb212f28f0">fmin</a> (T a, T b)</td></tr>
  83. <tr class="separator:ga7b2b438a765e2a62098c79eb212f28f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  84. <tr class="memitem:ga1a95fe4cf5437e8133f1093fe9726a64"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  85. <tr class="memitem:ga1a95fe4cf5437e8133f1093fe9726a64"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00679.html#ga1a95fe4cf5437e8133f1093fe9726a64">fmin</a> (T a, T b, T c)</td></tr>
  86. <tr class="separator:ga1a95fe4cf5437e8133f1093fe9726a64"><td class="memSeparator" colspan="2">&#160;</td></tr>
  87. <tr class="memitem:ga3d6f9c6c16bfd6f38f2c4f8076e8b661"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  88. <tr class="memitem:ga3d6f9c6c16bfd6f38f2c4f8076e8b661"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00679.html#ga3d6f9c6c16bfd6f38f2c4f8076e8b661">fmin</a> (T a, T b, T c, T d)</td></tr>
  89. <tr class="separator:ga3d6f9c6c16bfd6f38f2c4f8076e8b661"><td class="memSeparator" colspan="2">&#160;</td></tr>
  90. <tr class="memitem:gaa20839d9ab14514f8966f69877ea0de8"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  91. <tr class="memitem:gaa20839d9ab14514f8966f69877ea0de8"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00679.html#gaa20839d9ab14514f8966f69877ea0de8">max</a> (T a, T b, T c)</td></tr>
  92. <tr class="separator:gaa20839d9ab14514f8966f69877ea0de8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  93. <tr class="memitem:ga2274b5e75ed84b0b1e50d8d22f1f2f67"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  94. <tr class="memitem:ga2274b5e75ed84b0b1e50d8d22f1f2f67"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00679.html#ga2274b5e75ed84b0b1e50d8d22f1f2f67">max</a> (T a, T b, T c, T d)</td></tr>
  95. <tr class="separator:ga2274b5e75ed84b0b1e50d8d22f1f2f67"><td class="memSeparator" colspan="2">&#160;</td></tr>
  96. <tr class="memitem:ga420b37cbd98c395b93dab0278305cd46"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  97. <tr class="memitem:ga420b37cbd98c395b93dab0278305cd46"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00679.html#ga420b37cbd98c395b93dab0278305cd46">min</a> (T a, T b, T c)</td></tr>
  98. <tr class="separator:ga420b37cbd98c395b93dab0278305cd46"><td class="memSeparator" colspan="2">&#160;</td></tr>
  99. <tr class="memitem:ga0d24a9acb8178df77e4aff90cbb2010d"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  100. <tr class="memitem:ga0d24a9acb8178df77e4aff90cbb2010d"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00679.html#ga0d24a9acb8178df77e4aff90cbb2010d">min</a> (T a, T b, T c, T d)</td></tr>
  101. <tr class="separator:ga0d24a9acb8178df77e4aff90cbb2010d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  102. </table>
  103. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  104. <p>Exposes min and max functions for 3 to 4 scalar parameters. </p>
  105. <p>Include &lt;<a class="el" href="a00233.html" title="GLM_EXT_scalar_common ">glm/ext/scalar_common.hpp</a>&gt; to use the features of this extension.</p>
  106. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00662.html" title="Provides GLSL common functions. ">Common functions</a> </dd>
  107. <dd>
  108. <a class="el" href="a00687.html" title="Exposes min and max functions for 3 to 4 vector parameters. ">GLM_EXT_vector_common</a> </dd></dl>
  109. <h2 class="groupheader">Function Documentation</h2>
  110. <a id="ga36920478565cf608e93064283ce06421"></a>
  111. <h2 class="memtitle"><span class="permalink"><a href="#ga36920478565cf608e93064283ce06421">&#9670;&nbsp;</a></span>fmax() <span class="overload">[1/3]</span></h2>
  112. <div class="memitem">
  113. <div class="memproto">
  114. <table class="memname">
  115. <tr>
  116. <td class="memname">GLM_FUNC_DECL T glm::fmax </td>
  117. <td>(</td>
  118. <td class="paramtype">T&#160;</td>
  119. <td class="paramname"><em>a</em>, </td>
  120. </tr>
  121. <tr>
  122. <td class="paramkey"></td>
  123. <td></td>
  124. <td class="paramtype">T&#160;</td>
  125. <td class="paramname"><em>b</em>&#160;</td>
  126. </tr>
  127. <tr>
  128. <td></td>
  129. <td>)</td>
  130. <td></td><td></td>
  131. </tr>
  132. </table>
  133. </div><div class="memdoc">
  134. <p>Returns the maximum component-wise values of 2 inputs. </p>
  135. <p>If one of the two arguments is NaN, the value of the other argument is returned.</p>
  136. <dl class="tparams"><dt>Template Parameters</dt><dd>
  137. <table class="tparams">
  138. <tr><td class="paramname">T</td><td>A floating-point scalar type.</td></tr>
  139. </table>
  140. </dd>
  141. </dl>
  142. <dl class="section see"><dt>See also</dt><dd><a href="http://en.cppreference.com/w/cpp/numeric/math/fmax">std::fmax documentation</a> </dd></dl>
  143. </div>
  144. </div>
  145. <a id="ga0007bba71ca451ac70e99d28dfbeaab9"></a>
  146. <h2 class="memtitle"><span class="permalink"><a href="#ga0007bba71ca451ac70e99d28dfbeaab9">&#9670;&nbsp;</a></span>fmax() <span class="overload">[2/3]</span></h2>
  147. <div class="memitem">
  148. <div class="memproto">
  149. <table class="memname">
  150. <tr>
  151. <td class="memname">GLM_FUNC_DECL T glm::fmax </td>
  152. <td>(</td>
  153. <td class="paramtype">T&#160;</td>
  154. <td class="paramname"><em>a</em>, </td>
  155. </tr>
  156. <tr>
  157. <td class="paramkey"></td>
  158. <td></td>
  159. <td class="paramtype">T&#160;</td>
  160. <td class="paramname"><em>b</em>, </td>
  161. </tr>
  162. <tr>
  163. <td class="paramkey"></td>
  164. <td></td>
  165. <td class="paramtype">T&#160;</td>
  166. <td class="paramname"><em>C</em>&#160;</td>
  167. </tr>
  168. <tr>
  169. <td></td>
  170. <td>)</td>
  171. <td></td><td></td>
  172. </tr>
  173. </table>
  174. </div><div class="memdoc">
  175. <p>Returns the maximum component-wise values of 3 inputs. </p>
  176. <p>If one of the two arguments is NaN, the value of the other argument is returned.</p>
  177. <dl class="tparams"><dt>Template Parameters</dt><dd>
  178. <table class="tparams">
  179. <tr><td class="paramname">T</td><td>A floating-point scalar type.</td></tr>
  180. </table>
  181. </dd>
  182. </dl>
  183. <dl class="section see"><dt>See also</dt><dd><a href="http://en.cppreference.com/w/cpp/numeric/math/fmax">std::fmax documentation</a> </dd></dl>
  184. </div>
  185. </div>
  186. <a id="ga27e260b1ff4d04c3ad4b864d26cbaf08"></a>
  187. <h2 class="memtitle"><span class="permalink"><a href="#ga27e260b1ff4d04c3ad4b864d26cbaf08">&#9670;&nbsp;</a></span>fmax() <span class="overload">[3/3]</span></h2>
  188. <div class="memitem">
  189. <div class="memproto">
  190. <table class="memname">
  191. <tr>
  192. <td class="memname">GLM_FUNC_DECL T glm::fmax </td>
  193. <td>(</td>
  194. <td class="paramtype">T&#160;</td>
  195. <td class="paramname"><em>a</em>, </td>
  196. </tr>
  197. <tr>
  198. <td class="paramkey"></td>
  199. <td></td>
  200. <td class="paramtype">T&#160;</td>
  201. <td class="paramname"><em>b</em>, </td>
  202. </tr>
  203. <tr>
  204. <td class="paramkey"></td>
  205. <td></td>
  206. <td class="paramtype">T&#160;</td>
  207. <td class="paramname"><em>C</em>, </td>
  208. </tr>
  209. <tr>
  210. <td class="paramkey"></td>
  211. <td></td>
  212. <td class="paramtype">T&#160;</td>
  213. <td class="paramname"><em>D</em>&#160;</td>
  214. </tr>
  215. <tr>
  216. <td></td>
  217. <td>)</td>
  218. <td></td><td></td>
  219. </tr>
  220. </table>
  221. </div><div class="memdoc">
  222. <p>Returns the maximum component-wise values of 4 inputs. </p>
  223. <p>If one of the two arguments is NaN, the value of the other argument is returned.</p>
  224. <dl class="tparams"><dt>Template Parameters</dt><dd>
  225. <table class="tparams">
  226. <tr><td class="paramname">T</td><td>A floating-point scalar type.</td></tr>
  227. </table>
  228. </dd>
  229. </dl>
  230. <dl class="section see"><dt>See also</dt><dd><a href="http://en.cppreference.com/w/cpp/numeric/math/fmax">std::fmax documentation</a> </dd></dl>
  231. </div>
  232. </div>
  233. <a id="ga7b2b438a765e2a62098c79eb212f28f0"></a>
  234. <h2 class="memtitle"><span class="permalink"><a href="#ga7b2b438a765e2a62098c79eb212f28f0">&#9670;&nbsp;</a></span>fmin() <span class="overload">[1/3]</span></h2>
  235. <div class="memitem">
  236. <div class="memproto">
  237. <table class="memname">
  238. <tr>
  239. <td class="memname">GLM_FUNC_DECL T glm::fmin </td>
  240. <td>(</td>
  241. <td class="paramtype">T&#160;</td>
  242. <td class="paramname"><em>a</em>, </td>
  243. </tr>
  244. <tr>
  245. <td class="paramkey"></td>
  246. <td></td>
  247. <td class="paramtype">T&#160;</td>
  248. <td class="paramname"><em>b</em>&#160;</td>
  249. </tr>
  250. <tr>
  251. <td></td>
  252. <td>)</td>
  253. <td></td><td></td>
  254. </tr>
  255. </table>
  256. </div><div class="memdoc">
  257. <p>Returns the minimum component-wise values of 2 inputs. </p>
  258. <p>If one of the two arguments is NaN, the value of the other argument is returned.</p>
  259. <dl class="tparams"><dt>Template Parameters</dt><dd>
  260. <table class="tparams">
  261. <tr><td class="paramname">T</td><td>A floating-point scalar type.</td></tr>
  262. </table>
  263. </dd>
  264. </dl>
  265. <dl class="section see"><dt>See also</dt><dd><a href="http://en.cppreference.com/w/cpp/numeric/math/fmin">std::fmin documentation</a> </dd></dl>
  266. </div>
  267. </div>
  268. <a id="ga1a95fe4cf5437e8133f1093fe9726a64"></a>
  269. <h2 class="memtitle"><span class="permalink"><a href="#ga1a95fe4cf5437e8133f1093fe9726a64">&#9670;&nbsp;</a></span>fmin() <span class="overload">[2/3]</span></h2>
  270. <div class="memitem">
  271. <div class="memproto">
  272. <table class="memname">
  273. <tr>
  274. <td class="memname">GLM_FUNC_DECL T glm::fmin </td>
  275. <td>(</td>
  276. <td class="paramtype">T&#160;</td>
  277. <td class="paramname"><em>a</em>, </td>
  278. </tr>
  279. <tr>
  280. <td class="paramkey"></td>
  281. <td></td>
  282. <td class="paramtype">T&#160;</td>
  283. <td class="paramname"><em>b</em>, </td>
  284. </tr>
  285. <tr>
  286. <td class="paramkey"></td>
  287. <td></td>
  288. <td class="paramtype">T&#160;</td>
  289. <td class="paramname"><em>c</em>&#160;</td>
  290. </tr>
  291. <tr>
  292. <td></td>
  293. <td>)</td>
  294. <td></td><td></td>
  295. </tr>
  296. </table>
  297. </div><div class="memdoc">
  298. <p>Returns the minimum component-wise values of 3 inputs. </p>
  299. <p>If one of the two arguments is NaN, the value of the other argument is returned.</p>
  300. <dl class="tparams"><dt>Template Parameters</dt><dd>
  301. <table class="tparams">
  302. <tr><td class="paramname">T</td><td>A floating-point scalar type.</td></tr>
  303. </table>
  304. </dd>
  305. </dl>
  306. <dl class="section see"><dt>See also</dt><dd><a href="http://en.cppreference.com/w/cpp/numeric/math/fmin">std::fmin documentation</a> </dd></dl>
  307. </div>
  308. </div>
  309. <a id="ga3d6f9c6c16bfd6f38f2c4f8076e8b661"></a>
  310. <h2 class="memtitle"><span class="permalink"><a href="#ga3d6f9c6c16bfd6f38f2c4f8076e8b661">&#9670;&nbsp;</a></span>fmin() <span class="overload">[3/3]</span></h2>
  311. <div class="memitem">
  312. <div class="memproto">
  313. <table class="memname">
  314. <tr>
  315. <td class="memname">GLM_FUNC_DECL T glm::fmin </td>
  316. <td>(</td>
  317. <td class="paramtype">T&#160;</td>
  318. <td class="paramname"><em>a</em>, </td>
  319. </tr>
  320. <tr>
  321. <td class="paramkey"></td>
  322. <td></td>
  323. <td class="paramtype">T&#160;</td>
  324. <td class="paramname"><em>b</em>, </td>
  325. </tr>
  326. <tr>
  327. <td class="paramkey"></td>
  328. <td></td>
  329. <td class="paramtype">T&#160;</td>
  330. <td class="paramname"><em>c</em>, </td>
  331. </tr>
  332. <tr>
  333. <td class="paramkey"></td>
  334. <td></td>
  335. <td class="paramtype">T&#160;</td>
  336. <td class="paramname"><em>d</em>&#160;</td>
  337. </tr>
  338. <tr>
  339. <td></td>
  340. <td>)</td>
  341. <td></td><td></td>
  342. </tr>
  343. </table>
  344. </div><div class="memdoc">
  345. <p>Returns the minimum component-wise values of 4 inputs. </p>
  346. <p>If one of the two arguments is NaN, the value of the other argument is returned.</p>
  347. <dl class="tparams"><dt>Template Parameters</dt><dd>
  348. <table class="tparams">
  349. <tr><td class="paramname">T</td><td>A floating-point scalar type.</td></tr>
  350. </table>
  351. </dd>
  352. </dl>
  353. <dl class="section see"><dt>See also</dt><dd><a href="http://en.cppreference.com/w/cpp/numeric/math/fmin">std::fmin documentation</a> </dd></dl>
  354. </div>
  355. </div>
  356. <a id="gaa20839d9ab14514f8966f69877ea0de8"></a>
  357. <h2 class="memtitle"><span class="permalink"><a href="#gaa20839d9ab14514f8966f69877ea0de8">&#9670;&nbsp;</a></span>max() <span class="overload">[1/2]</span></h2>
  358. <div class="memitem">
  359. <div class="memproto">
  360. <table class="memname">
  361. <tr>
  362. <td class="memname">GLM_FUNC_DECL T glm::max </td>
  363. <td>(</td>
  364. <td class="paramtype">T&#160;</td>
  365. <td class="paramname"><em>a</em>, </td>
  366. </tr>
  367. <tr>
  368. <td class="paramkey"></td>
  369. <td></td>
  370. <td class="paramtype">T&#160;</td>
  371. <td class="paramname"><em>b</em>, </td>
  372. </tr>
  373. <tr>
  374. <td class="paramkey"></td>
  375. <td></td>
  376. <td class="paramtype">T&#160;</td>
  377. <td class="paramname"><em>c</em>&#160;</td>
  378. </tr>
  379. <tr>
  380. <td></td>
  381. <td>)</td>
  382. <td></td><td></td>
  383. </tr>
  384. </table>
  385. </div><div class="memdoc">
  386. <p>Returns the maximum component-wise values of 3 inputs. </p>
  387. <dl class="tparams"><dt>Template Parameters</dt><dd>
  388. <table class="tparams">
  389. <tr><td class="paramname">T</td><td>A floating-point scalar type. </td></tr>
  390. </table>
  391. </dd>
  392. </dl>
  393. </div>
  394. </div>
  395. <a id="ga2274b5e75ed84b0b1e50d8d22f1f2f67"></a>
  396. <h2 class="memtitle"><span class="permalink"><a href="#ga2274b5e75ed84b0b1e50d8d22f1f2f67">&#9670;&nbsp;</a></span>max() <span class="overload">[2/2]</span></h2>
  397. <div class="memitem">
  398. <div class="memproto">
  399. <table class="memname">
  400. <tr>
  401. <td class="memname">GLM_FUNC_DECL T glm::max </td>
  402. <td>(</td>
  403. <td class="paramtype">T&#160;</td>
  404. <td class="paramname"><em>a</em>, </td>
  405. </tr>
  406. <tr>
  407. <td class="paramkey"></td>
  408. <td></td>
  409. <td class="paramtype">T&#160;</td>
  410. <td class="paramname"><em>b</em>, </td>
  411. </tr>
  412. <tr>
  413. <td class="paramkey"></td>
  414. <td></td>
  415. <td class="paramtype">T&#160;</td>
  416. <td class="paramname"><em>c</em>, </td>
  417. </tr>
  418. <tr>
  419. <td class="paramkey"></td>
  420. <td></td>
  421. <td class="paramtype">T&#160;</td>
  422. <td class="paramname"><em>d</em>&#160;</td>
  423. </tr>
  424. <tr>
  425. <td></td>
  426. <td>)</td>
  427. <td></td><td></td>
  428. </tr>
  429. </table>
  430. </div><div class="memdoc">
  431. <p>Returns the maximum component-wise values of 4 inputs. </p>
  432. <dl class="tparams"><dt>Template Parameters</dt><dd>
  433. <table class="tparams">
  434. <tr><td class="paramname">T</td><td>A floating-point scalar type. </td></tr>
  435. </table>
  436. </dd>
  437. </dl>
  438. </div>
  439. </div>
  440. <a id="ga420b37cbd98c395b93dab0278305cd46"></a>
  441. <h2 class="memtitle"><span class="permalink"><a href="#ga420b37cbd98c395b93dab0278305cd46">&#9670;&nbsp;</a></span>min() <span class="overload">[1/2]</span></h2>
  442. <div class="memitem">
  443. <div class="memproto">
  444. <table class="memname">
  445. <tr>
  446. <td class="memname">GLM_FUNC_DECL T glm::min </td>
  447. <td>(</td>
  448. <td class="paramtype">T&#160;</td>
  449. <td class="paramname"><em>a</em>, </td>
  450. </tr>
  451. <tr>
  452. <td class="paramkey"></td>
  453. <td></td>
  454. <td class="paramtype">T&#160;</td>
  455. <td class="paramname"><em>b</em>, </td>
  456. </tr>
  457. <tr>
  458. <td class="paramkey"></td>
  459. <td></td>
  460. <td class="paramtype">T&#160;</td>
  461. <td class="paramname"><em>c</em>&#160;</td>
  462. </tr>
  463. <tr>
  464. <td></td>
  465. <td>)</td>
  466. <td></td><td></td>
  467. </tr>
  468. </table>
  469. </div><div class="memdoc">
  470. <p>Returns the minimum component-wise values of 3 inputs. </p>
  471. <dl class="tparams"><dt>Template Parameters</dt><dd>
  472. <table class="tparams">
  473. <tr><td class="paramname">T</td><td>A floating-point scalar type. </td></tr>
  474. </table>
  475. </dd>
  476. </dl>
  477. </div>
  478. </div>
  479. <a id="ga0d24a9acb8178df77e4aff90cbb2010d"></a>
  480. <h2 class="memtitle"><span class="permalink"><a href="#ga0d24a9acb8178df77e4aff90cbb2010d">&#9670;&nbsp;</a></span>min() <span class="overload">[2/2]</span></h2>
  481. <div class="memitem">
  482. <div class="memproto">
  483. <table class="memname">
  484. <tr>
  485. <td class="memname">GLM_FUNC_DECL T glm::min </td>
  486. <td>(</td>
  487. <td class="paramtype">T&#160;</td>
  488. <td class="paramname"><em>a</em>, </td>
  489. </tr>
  490. <tr>
  491. <td class="paramkey"></td>
  492. <td></td>
  493. <td class="paramtype">T&#160;</td>
  494. <td class="paramname"><em>b</em>, </td>
  495. </tr>
  496. <tr>
  497. <td class="paramkey"></td>
  498. <td></td>
  499. <td class="paramtype">T&#160;</td>
  500. <td class="paramname"><em>c</em>, </td>
  501. </tr>
  502. <tr>
  503. <td class="paramkey"></td>
  504. <td></td>
  505. <td class="paramtype">T&#160;</td>
  506. <td class="paramname"><em>d</em>&#160;</td>
  507. </tr>
  508. <tr>
  509. <td></td>
  510. <td>)</td>
  511. <td></td><td></td>
  512. </tr>
  513. </table>
  514. </div><div class="memdoc">
  515. <p>Returns the minimum component-wise values of 4 inputs. </p>
  516. <dl class="tparams"><dt>Template Parameters</dt><dd>
  517. <table class="tparams">
  518. <tr><td class="paramname">T</td><td>A floating-point scalar type. </td></tr>
  519. </table>
  520. </dd>
  521. </dl>
  522. </div>
  523. </div>
  524. </div><!-- contents -->
  525. <!-- start footer part -->
  526. <hr class="footer"/><address class="footer"><small>
  527. Generated by &#160;<a href="http://www.doxygen.org/index.html">
  528. <img class="footer" src="doxygen.png" alt="doxygen"/>
  529. </a> 1.8.14
  530. </small></address>
  531. </body>
  532. </html>