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.

670 lines
32 KiB

5 years ago
  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_vector_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_vector_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:gad66b6441f7200db16c9f341711733c56"><td class="memTemplParams" colspan="2">template&lt;length_t L, typename T , qualifier Q&gt; </td></tr>
  73. <tr class="memitem:gad66b6441f7200db16c9f341711733c56"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; L, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00687.html#gad66b6441f7200db16c9f341711733c56">fmax</a> (vec&lt; L, T, Q &gt; const &amp;a, T b)</td></tr>
  74. <tr class="separator:gad66b6441f7200db16c9f341711733c56"><td class="memSeparator" colspan="2">&#160;</td></tr>
  75. <tr class="memitem:ga8df4be3f48d6717c40ea788fd30deebf"><td class="memTemplParams" colspan="2">template&lt;length_t L, typename T , qualifier Q&gt; </td></tr>
  76. <tr class="memitem:ga8df4be3f48d6717c40ea788fd30deebf"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; L, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00687.html#ga8df4be3f48d6717c40ea788fd30deebf">fmax</a> (vec&lt; L, T, Q &gt; const &amp;a, vec&lt; L, T, Q &gt; const &amp;b)</td></tr>
  77. <tr class="separator:ga8df4be3f48d6717c40ea788fd30deebf"><td class="memSeparator" colspan="2">&#160;</td></tr>
  78. <tr class="memitem:ga0f04ba924294dae4234ca93ede23229a"><td class="memTemplParams" colspan="2">template&lt;length_t L, typename T , qualifier Q&gt; </td></tr>
  79. <tr class="memitem:ga0f04ba924294dae4234ca93ede23229a"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; L, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00687.html#ga0f04ba924294dae4234ca93ede23229a">fmax</a> (vec&lt; L, T, Q &gt; const &amp;a, vec&lt; L, T, Q &gt; const &amp;b, vec&lt; L, T, Q &gt; const &amp;c)</td></tr>
  80. <tr class="separator:ga0f04ba924294dae4234ca93ede23229a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  81. <tr class="memitem:ga4ed3eb250ccbe17bfe8ded8a6b72d230"><td class="memTemplParams" colspan="2">template&lt;length_t L, typename T , qualifier Q&gt; </td></tr>
  82. <tr class="memitem:ga4ed3eb250ccbe17bfe8ded8a6b72d230"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; L, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00687.html#ga4ed3eb250ccbe17bfe8ded8a6b72d230">fmax</a> (vec&lt; L, T, Q &gt; const &amp;a, vec&lt; L, T, Q &gt; const &amp;b, vec&lt; L, T, Q &gt; const &amp;c, vec&lt; L, T, Q &gt; const &amp;d)</td></tr>
  83. <tr class="separator:ga4ed3eb250ccbe17bfe8ded8a6b72d230"><td class="memSeparator" colspan="2">&#160;</td></tr>
  84. <tr class="memitem:gae989203363cff9eab5093630df4fe071"><td class="memTemplParams" colspan="2">template&lt;length_t L, typename T , qualifier Q&gt; </td></tr>
  85. <tr class="memitem:gae989203363cff9eab5093630df4fe071"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; L, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00687.html#gae989203363cff9eab5093630df4fe071">fmin</a> (vec&lt; L, T, Q &gt; const &amp;x, T y)</td></tr>
  86. <tr class="separator:gae989203363cff9eab5093630df4fe071"><td class="memSeparator" colspan="2">&#160;</td></tr>
  87. <tr class="memitem:ga7c42e93cd778c9181d1cdeea4d3e43bd"><td class="memTemplParams" colspan="2">template&lt;length_t L, typename T , qualifier Q&gt; </td></tr>
  88. <tr class="memitem:ga7c42e93cd778c9181d1cdeea4d3e43bd"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; L, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00687.html#ga7c42e93cd778c9181d1cdeea4d3e43bd">fmin</a> (vec&lt; L, T, Q &gt; const &amp;x, vec&lt; L, T, Q &gt; const &amp;y)</td></tr>
  89. <tr class="separator:ga7c42e93cd778c9181d1cdeea4d3e43bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
  90. <tr class="memitem:ga7e62739055b49189d9355471f78fe000"><td class="memTemplParams" colspan="2">template&lt;length_t L, typename T , qualifier Q&gt; </td></tr>
  91. <tr class="memitem:ga7e62739055b49189d9355471f78fe000"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; L, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00687.html#ga7e62739055b49189d9355471f78fe000">fmin</a> (vec&lt; L, T, Q &gt; const &amp;a, vec&lt; L, T, Q &gt; const &amp;b, vec&lt; L, T, Q &gt; const &amp;c)</td></tr>
  92. <tr class="separator:ga7e62739055b49189d9355471f78fe000"><td class="memSeparator" colspan="2">&#160;</td></tr>
  93. <tr class="memitem:ga4a543dd7d22ad1f3b8b839f808a9d93c"><td class="memTemplParams" colspan="2">template&lt;length_t L, typename T , qualifier Q&gt; </td></tr>
  94. <tr class="memitem:ga4a543dd7d22ad1f3b8b839f808a9d93c"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; L, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00687.html#ga4a543dd7d22ad1f3b8b839f808a9d93c">fmin</a> (vec&lt; L, T, Q &gt; const &amp;a, vec&lt; L, T, Q &gt; const &amp;b, vec&lt; L, T, Q &gt; const &amp;c, vec&lt; L, T, Q &gt; const &amp;d)</td></tr>
  95. <tr class="separator:ga4a543dd7d22ad1f3b8b839f808a9d93c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  96. <tr class="memitem:gaa45d34f6a2906f8bf58ab2ba5429234d"><td class="memTemplParams" colspan="2">template&lt;length_t L, typename T , qualifier Q&gt; </td></tr>
  97. <tr class="memitem:gaa45d34f6a2906f8bf58ab2ba5429234d"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL GLM_CONSTEXPR vec&lt; L, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00687.html#gaa45d34f6a2906f8bf58ab2ba5429234d">max</a> (vec&lt; L, T, Q &gt; const &amp;x, vec&lt; L, T, Q &gt; const &amp;y, vec&lt; L, T, Q &gt; const &amp;z)</td></tr>
  98. <tr class="separator:gaa45d34f6a2906f8bf58ab2ba5429234d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  99. <tr class="memitem:ga94d42b8da2b4ded5ddf7504fbdc6bf10"><td class="memTemplParams" colspan="2">template&lt;length_t L, typename T , qualifier Q&gt; </td></tr>
  100. <tr class="memitem:ga94d42b8da2b4ded5ddf7504fbdc6bf10"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL GLM_CONSTEXPR vec&lt; L, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00687.html#ga94d42b8da2b4ded5ddf7504fbdc6bf10">max</a> (vec&lt; L, T, Q &gt; const &amp;x, vec&lt; L, T, Q &gt; const &amp;y, vec&lt; L, T, Q &gt; const &amp;z, vec&lt; L, T, Q &gt; const &amp;w)</td></tr>
  101. <tr class="separator:ga94d42b8da2b4ded5ddf7504fbdc6bf10"><td class="memSeparator" colspan="2">&#160;</td></tr>
  102. <tr class="memitem:ga3cd83d80fd4f433d8e333593ec56dddf"><td class="memTemplParams" colspan="2">template&lt;length_t L, typename T , qualifier Q&gt; </td></tr>
  103. <tr class="memitem:ga3cd83d80fd4f433d8e333593ec56dddf"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL GLM_CONSTEXPR vec&lt; L, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00687.html#ga3cd83d80fd4f433d8e333593ec56dddf">min</a> (vec&lt; L, T, Q &gt; const &amp;a, vec&lt; L, T, Q &gt; const &amp;b, vec&lt; L, T, Q &gt; const &amp;c)</td></tr>
  104. <tr class="separator:ga3cd83d80fd4f433d8e333593ec56dddf"><td class="memSeparator" colspan="2">&#160;</td></tr>
  105. <tr class="memitem:gab66920ed064ab518d6859c5a889c4be4"><td class="memTemplParams" colspan="2">template&lt;length_t L, typename T , qualifier Q&gt; </td></tr>
  106. <tr class="memitem:gab66920ed064ab518d6859c5a889c4be4"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL GLM_CONSTEXPR vec&lt; L, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00687.html#gab66920ed064ab518d6859c5a889c4be4">min</a> (vec&lt; L, T, Q &gt; const &amp;a, vec&lt; L, T, Q &gt; const &amp;b, vec&lt; L, T, Q &gt; const &amp;c, vec&lt; L, T, Q &gt; const &amp;d)</td></tr>
  107. <tr class="separator:gab66920ed064ab518d6859c5a889c4be4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  108. </table>
  109. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  110. <p>Exposes min and max functions for 3 to 4 vector parameters. </p>
  111. <p>Include &lt;<a class="el" href="a00275.html" title="GLM_EXT_vector_common ">glm/ext/vector_common.hpp</a>&gt; to use the features of this extension.</p>
  112. <dl class="section see"><dt>See also</dt><dd>core_common </dd>
  113. <dd>
  114. <a class="el" href="a00679.html" title="Exposes min and max functions for 3 to 4 scalar parameters. ">GLM_EXT_scalar_common</a> </dd></dl>
  115. <h2 class="groupheader">Function Documentation</h2>
  116. <a id="gad66b6441f7200db16c9f341711733c56"></a>
  117. <h2 class="memtitle"><span class="permalink"><a href="#gad66b6441f7200db16c9f341711733c56">&#9670;&nbsp;</a></span>fmax() <span class="overload">[1/4]</span></h2>
  118. <div class="memitem">
  119. <div class="memproto">
  120. <table class="memname">
  121. <tr>
  122. <td class="memname">GLM_FUNC_DECL vec&lt;L, T, Q&gt; glm::fmax </td>
  123. <td>(</td>
  124. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  125. <td class="paramname"><em>a</em>, </td>
  126. </tr>
  127. <tr>
  128. <td class="paramkey"></td>
  129. <td></td>
  130. <td class="paramtype">T&#160;</td>
  131. <td class="paramname"><em>b</em>&#160;</td>
  132. </tr>
  133. <tr>
  134. <td></td>
  135. <td>)</td>
  136. <td></td><td></td>
  137. </tr>
  138. </table>
  139. </div><div class="memdoc">
  140. <p>Returns y if x &lt; y; otherwise, it returns x. </p>
  141. <p>If one of the two arguments is NaN, the value of the other argument is returned.</p>
  142. <dl class="tparams"><dt>Template Parameters</dt><dd>
  143. <table class="tparams">
  144. <tr><td class="paramname">L</td><td>Integer between 1 and 4 included that qualify the dimension of the vector </td></tr>
  145. <tr><td class="paramname">T</td><td>Floating-point scalar types </td></tr>
  146. <tr><td class="paramname">Q</td><td>Value from qualifier enum</td></tr>
  147. </table>
  148. </dd>
  149. </dl>
  150. <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>
  151. </div>
  152. </div>
  153. <a id="ga8df4be3f48d6717c40ea788fd30deebf"></a>
  154. <h2 class="memtitle"><span class="permalink"><a href="#ga8df4be3f48d6717c40ea788fd30deebf">&#9670;&nbsp;</a></span>fmax() <span class="overload">[2/4]</span></h2>
  155. <div class="memitem">
  156. <div class="memproto">
  157. <table class="memname">
  158. <tr>
  159. <td class="memname">GLM_FUNC_DECL vec&lt;L, T, Q&gt; glm::fmax </td>
  160. <td>(</td>
  161. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  162. <td class="paramname"><em>a</em>, </td>
  163. </tr>
  164. <tr>
  165. <td class="paramkey"></td>
  166. <td></td>
  167. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  168. <td class="paramname"><em>b</em>&#160;</td>
  169. </tr>
  170. <tr>
  171. <td></td>
  172. <td>)</td>
  173. <td></td><td></td>
  174. </tr>
  175. </table>
  176. </div><div class="memdoc">
  177. <p>Returns y if x &lt; y; otherwise, it returns x. </p>
  178. <p>If one of the two arguments is NaN, the value of the other argument is returned.</p>
  179. <dl class="tparams"><dt>Template Parameters</dt><dd>
  180. <table class="tparams">
  181. <tr><td class="paramname">L</td><td>Integer between 1 and 4 included that qualify the dimension of the vector </td></tr>
  182. <tr><td class="paramname">T</td><td>Floating-point scalar types </td></tr>
  183. <tr><td class="paramname">Q</td><td>Value from qualifier enum</td></tr>
  184. </table>
  185. </dd>
  186. </dl>
  187. <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>
  188. </div>
  189. </div>
  190. <a id="ga0f04ba924294dae4234ca93ede23229a"></a>
  191. <h2 class="memtitle"><span class="permalink"><a href="#ga0f04ba924294dae4234ca93ede23229a">&#9670;&nbsp;</a></span>fmax() <span class="overload">[3/4]</span></h2>
  192. <div class="memitem">
  193. <div class="memproto">
  194. <table class="memname">
  195. <tr>
  196. <td class="memname">GLM_FUNC_DECL vec&lt;L, T, Q&gt; glm::fmax </td>
  197. <td>(</td>
  198. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  199. <td class="paramname"><em>a</em>, </td>
  200. </tr>
  201. <tr>
  202. <td class="paramkey"></td>
  203. <td></td>
  204. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  205. <td class="paramname"><em>b</em>, </td>
  206. </tr>
  207. <tr>
  208. <td class="paramkey"></td>
  209. <td></td>
  210. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  211. <td class="paramname"><em>c</em>&#160;</td>
  212. </tr>
  213. <tr>
  214. <td></td>
  215. <td>)</td>
  216. <td></td><td></td>
  217. </tr>
  218. </table>
  219. </div><div class="memdoc">
  220. <p>Returns y if x &lt; y; otherwise, it returns x. </p>
  221. <p>If one of the two arguments is NaN, the value of the other argument is returned.</p>
  222. <dl class="tparams"><dt>Template Parameters</dt><dd>
  223. <table class="tparams">
  224. <tr><td class="paramname">L</td><td>Integer between 1 and 4 included that qualify the dimension of the vector </td></tr>
  225. <tr><td class="paramname">T</td><td>Floating-point scalar types </td></tr>
  226. <tr><td class="paramname">Q</td><td>Value from qualifier enum</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="ga4ed3eb250ccbe17bfe8ded8a6b72d230"></a>
  234. <h2 class="memtitle"><span class="permalink"><a href="#ga4ed3eb250ccbe17bfe8ded8a6b72d230">&#9670;&nbsp;</a></span>fmax() <span class="overload">[4/4]</span></h2>
  235. <div class="memitem">
  236. <div class="memproto">
  237. <table class="memname">
  238. <tr>
  239. <td class="memname">GLM_FUNC_DECL vec&lt;L, T, Q&gt; glm::fmax </td>
  240. <td>(</td>
  241. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#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">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  248. <td class="paramname"><em>b</em>, </td>
  249. </tr>
  250. <tr>
  251. <td class="paramkey"></td>
  252. <td></td>
  253. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  254. <td class="paramname"><em>c</em>, </td>
  255. </tr>
  256. <tr>
  257. <td class="paramkey"></td>
  258. <td></td>
  259. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  260. <td class="paramname"><em>d</em>&#160;</td>
  261. </tr>
  262. <tr>
  263. <td></td>
  264. <td>)</td>
  265. <td></td><td></td>
  266. </tr>
  267. </table>
  268. </div><div class="memdoc">
  269. <p>Returns y if x &lt; y; otherwise, it returns x. </p>
  270. <p>If one of the two arguments is NaN, the value of the other argument is returned.</p>
  271. <dl class="tparams"><dt>Template Parameters</dt><dd>
  272. <table class="tparams">
  273. <tr><td class="paramname">L</td><td>Integer between 1 and 4 included that qualify the dimension of the vector </td></tr>
  274. <tr><td class="paramname">T</td><td>Floating-point scalar types </td></tr>
  275. <tr><td class="paramname">Q</td><td>Value from qualifier enum</td></tr>
  276. </table>
  277. </dd>
  278. </dl>
  279. <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>
  280. </div>
  281. </div>
  282. <a id="gae989203363cff9eab5093630df4fe071"></a>
  283. <h2 class="memtitle"><span class="permalink"><a href="#gae989203363cff9eab5093630df4fe071">&#9670;&nbsp;</a></span>fmin() <span class="overload">[1/4]</span></h2>
  284. <div class="memitem">
  285. <div class="memproto">
  286. <table class="memname">
  287. <tr>
  288. <td class="memname">GLM_FUNC_DECL vec&lt;L, T, Q&gt; glm::fmin </td>
  289. <td>(</td>
  290. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  291. <td class="paramname"><em>x</em>, </td>
  292. </tr>
  293. <tr>
  294. <td class="paramkey"></td>
  295. <td></td>
  296. <td class="paramtype">T&#160;</td>
  297. <td class="paramname"><em>y</em>&#160;</td>
  298. </tr>
  299. <tr>
  300. <td></td>
  301. <td>)</td>
  302. <td></td><td></td>
  303. </tr>
  304. </table>
  305. </div><div class="memdoc">
  306. <p>Returns y if y &lt; x; otherwise, it returns x. </p>
  307. <p>If one of the two arguments is NaN, the value of the other argument is returned.</p>
  308. <dl class="tparams"><dt>Template Parameters</dt><dd>
  309. <table class="tparams">
  310. <tr><td class="paramname">L</td><td>Integer between 1 and 4 included that qualify the dimension of the vector </td></tr>
  311. <tr><td class="paramname">T</td><td>Floating-point scalar types </td></tr>
  312. <tr><td class="paramname">Q</td><td>Value from qualifier enum</td></tr>
  313. </table>
  314. </dd>
  315. </dl>
  316. <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>
  317. </div>
  318. </div>
  319. <a id="ga7c42e93cd778c9181d1cdeea4d3e43bd"></a>
  320. <h2 class="memtitle"><span class="permalink"><a href="#ga7c42e93cd778c9181d1cdeea4d3e43bd">&#9670;&nbsp;</a></span>fmin() <span class="overload">[2/4]</span></h2>
  321. <div class="memitem">
  322. <div class="memproto">
  323. <table class="memname">
  324. <tr>
  325. <td class="memname">GLM_FUNC_DECL vec&lt;L, T, Q&gt; glm::fmin </td>
  326. <td>(</td>
  327. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  328. <td class="paramname"><em>x</em>, </td>
  329. </tr>
  330. <tr>
  331. <td class="paramkey"></td>
  332. <td></td>
  333. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  334. <td class="paramname"><em>y</em>&#160;</td>
  335. </tr>
  336. <tr>
  337. <td></td>
  338. <td>)</td>
  339. <td></td><td></td>
  340. </tr>
  341. </table>
  342. </div><div class="memdoc">
  343. <p>Returns y if y &lt; x; otherwise, it returns x. </p>
  344. <p>If one of the two arguments is NaN, the value of the other argument is returned.</p>
  345. <dl class="tparams"><dt>Template Parameters</dt><dd>
  346. <table class="tparams">
  347. <tr><td class="paramname">L</td><td>Integer between 1 and 4 included that qualify the dimension of the vector </td></tr>
  348. <tr><td class="paramname">T</td><td>Floating-point scalar types </td></tr>
  349. <tr><td class="paramname">Q</td><td>Value from qualifier enum</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="ga7e62739055b49189d9355471f78fe000"></a>
  357. <h2 class="memtitle"><span class="permalink"><a href="#ga7e62739055b49189d9355471f78fe000">&#9670;&nbsp;</a></span>fmin() <span class="overload">[3/4]</span></h2>
  358. <div class="memitem">
  359. <div class="memproto">
  360. <table class="memname">
  361. <tr>
  362. <td class="memname">GLM_FUNC_DECL vec&lt;L, T, Q&gt; glm::fmin </td>
  363. <td>(</td>
  364. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#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">vec&lt; L, T, Q &gt; const &amp;&#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">vec&lt; L, T, Q &gt; const &amp;&#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 y if y &lt; x; otherwise, it returns x. </p>
  387. <p>If one of the two arguments is NaN, the value of the other argument is returned.</p>
  388. <dl class="tparams"><dt>Template Parameters</dt><dd>
  389. <table class="tparams">
  390. <tr><td class="paramname">L</td><td>Integer between 1 and 4 included that qualify the dimension of the vector </td></tr>
  391. <tr><td class="paramname">T</td><td>Floating-point scalar types </td></tr>
  392. <tr><td class="paramname">Q</td><td>Value from qualifier enum</td></tr>
  393. </table>
  394. </dd>
  395. </dl>
  396. <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>
  397. </div>
  398. </div>
  399. <a id="ga4a543dd7d22ad1f3b8b839f808a9d93c"></a>
  400. <h2 class="memtitle"><span class="permalink"><a href="#ga4a543dd7d22ad1f3b8b839f808a9d93c">&#9670;&nbsp;</a></span>fmin() <span class="overload">[4/4]</span></h2>
  401. <div class="memitem">
  402. <div class="memproto">
  403. <table class="memname">
  404. <tr>
  405. <td class="memname">GLM_FUNC_DECL vec&lt;L, T, Q&gt; glm::fmin </td>
  406. <td>(</td>
  407. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  408. <td class="paramname"><em>a</em>, </td>
  409. </tr>
  410. <tr>
  411. <td class="paramkey"></td>
  412. <td></td>
  413. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  414. <td class="paramname"><em>b</em>, </td>
  415. </tr>
  416. <tr>
  417. <td class="paramkey"></td>
  418. <td></td>
  419. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  420. <td class="paramname"><em>c</em>, </td>
  421. </tr>
  422. <tr>
  423. <td class="paramkey"></td>
  424. <td></td>
  425. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  426. <td class="paramname"><em>d</em>&#160;</td>
  427. </tr>
  428. <tr>
  429. <td></td>
  430. <td>)</td>
  431. <td></td><td></td>
  432. </tr>
  433. </table>
  434. </div><div class="memdoc">
  435. <p>Returns y if y &lt; x; otherwise, it returns x. </p>
  436. <p>If one of the two arguments is NaN, the value of the other argument is returned.</p>
  437. <dl class="tparams"><dt>Template Parameters</dt><dd>
  438. <table class="tparams">
  439. <tr><td class="paramname">L</td><td>Integer between 1 and 4 included that qualify the dimension of the vector </td></tr>
  440. <tr><td class="paramname">T</td><td>Floating-point scalar types </td></tr>
  441. <tr><td class="paramname">Q</td><td>Value from qualifier enum</td></tr>
  442. </table>
  443. </dd>
  444. </dl>
  445. <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>
  446. </div>
  447. </div>
  448. <a id="gaa45d34f6a2906f8bf58ab2ba5429234d"></a>
  449. <h2 class="memtitle"><span class="permalink"><a href="#gaa45d34f6a2906f8bf58ab2ba5429234d">&#9670;&nbsp;</a></span>max() <span class="overload">[1/2]</span></h2>
  450. <div class="memitem">
  451. <div class="memproto">
  452. <table class="memname">
  453. <tr>
  454. <td class="memname">GLM_FUNC_DECL GLM_CONSTEXPR vec&lt;L, T, Q&gt; glm::max </td>
  455. <td>(</td>
  456. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  457. <td class="paramname"><em>x</em>, </td>
  458. </tr>
  459. <tr>
  460. <td class="paramkey"></td>
  461. <td></td>
  462. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  463. <td class="paramname"><em>y</em>, </td>
  464. </tr>
  465. <tr>
  466. <td class="paramkey"></td>
  467. <td></td>
  468. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  469. <td class="paramname"><em>z</em>&#160;</td>
  470. </tr>
  471. <tr>
  472. <td></td>
  473. <td>)</td>
  474. <td></td><td></td>
  475. </tr>
  476. </table>
  477. </div><div class="memdoc">
  478. <p>Return the maximum component-wise values of 3 inputs. </p>
  479. <dl class="tparams"><dt>Template Parameters</dt><dd>
  480. <table class="tparams">
  481. <tr><td class="paramname">L</td><td>Integer between 1 and 4 included that qualify the dimension of the vector </td></tr>
  482. <tr><td class="paramname">T</td><td>Floating-point or integer scalar types </td></tr>
  483. <tr><td class="paramname">Q</td><td>Value from qualifier enum </td></tr>
  484. </table>
  485. </dd>
  486. </dl>
  487. </div>
  488. </div>
  489. <a id="ga94d42b8da2b4ded5ddf7504fbdc6bf10"></a>
  490. <h2 class="memtitle"><span class="permalink"><a href="#ga94d42b8da2b4ded5ddf7504fbdc6bf10">&#9670;&nbsp;</a></span>max() <span class="overload">[2/2]</span></h2>
  491. <div class="memitem">
  492. <div class="memproto">
  493. <table class="memname">
  494. <tr>
  495. <td class="memname">GLM_FUNC_DECL GLM_CONSTEXPR vec&lt;L, T, Q&gt; glm::max </td>
  496. <td>(</td>
  497. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  498. <td class="paramname"><em>x</em>, </td>
  499. </tr>
  500. <tr>
  501. <td class="paramkey"></td>
  502. <td></td>
  503. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  504. <td class="paramname"><em>y</em>, </td>
  505. </tr>
  506. <tr>
  507. <td class="paramkey"></td>
  508. <td></td>
  509. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  510. <td class="paramname"><em>z</em>, </td>
  511. </tr>
  512. <tr>
  513. <td class="paramkey"></td>
  514. <td></td>
  515. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  516. <td class="paramname"><em>w</em>&#160;</td>
  517. </tr>
  518. <tr>
  519. <td></td>
  520. <td>)</td>
  521. <td></td><td></td>
  522. </tr>
  523. </table>
  524. </div><div class="memdoc">
  525. <p>Return the maximum component-wise values of 4 inputs. </p>
  526. <dl class="tparams"><dt>Template Parameters</dt><dd>
  527. <table class="tparams">
  528. <tr><td class="paramname">L</td><td>Integer between 1 and 4 included that qualify the dimension of the vector </td></tr>
  529. <tr><td class="paramname">T</td><td>Floating-point or integer scalar types </td></tr>
  530. <tr><td class="paramname">Q</td><td>Value from qualifier enum </td></tr>
  531. </table>
  532. </dd>
  533. </dl>
  534. </div>
  535. </div>
  536. <a id="ga3cd83d80fd4f433d8e333593ec56dddf"></a>
  537. <h2 class="memtitle"><span class="permalink"><a href="#ga3cd83d80fd4f433d8e333593ec56dddf">&#9670;&nbsp;</a></span>min() <span class="overload">[1/2]</span></h2>
  538. <div class="memitem">
  539. <div class="memproto">
  540. <table class="memname">
  541. <tr>
  542. <td class="memname">GLM_FUNC_DECL GLM_CONSTEXPR vec&lt;L, T, Q&gt; glm::min </td>
  543. <td>(</td>
  544. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  545. <td class="paramname"><em>a</em>, </td>
  546. </tr>
  547. <tr>
  548. <td class="paramkey"></td>
  549. <td></td>
  550. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  551. <td class="paramname"><em>b</em>, </td>
  552. </tr>
  553. <tr>
  554. <td class="paramkey"></td>
  555. <td></td>
  556. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  557. <td class="paramname"><em>c</em>&#160;</td>
  558. </tr>
  559. <tr>
  560. <td></td>
  561. <td>)</td>
  562. <td></td><td></td>
  563. </tr>
  564. </table>
  565. </div><div class="memdoc">
  566. <p>Return the minimum component-wise values of 3 inputs. </p>
  567. <dl class="tparams"><dt>Template Parameters</dt><dd>
  568. <table class="tparams">
  569. <tr><td class="paramname">L</td><td>Integer between 1 and 4 included that qualify the dimension of the vector </td></tr>
  570. <tr><td class="paramname">T</td><td>Floating-point or integer scalar types </td></tr>
  571. <tr><td class="paramname">Q</td><td>Value from qualifier enum </td></tr>
  572. </table>
  573. </dd>
  574. </dl>
  575. </div>
  576. </div>
  577. <a id="gab66920ed064ab518d6859c5a889c4be4"></a>
  578. <h2 class="memtitle"><span class="permalink"><a href="#gab66920ed064ab518d6859c5a889c4be4">&#9670;&nbsp;</a></span>min() <span class="overload">[2/2]</span></h2>
  579. <div class="memitem">
  580. <div class="memproto">
  581. <table class="memname">
  582. <tr>
  583. <td class="memname">GLM_FUNC_DECL GLM_CONSTEXPR vec&lt;L, T, Q&gt; glm::min </td>
  584. <td>(</td>
  585. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  586. <td class="paramname"><em>a</em>, </td>
  587. </tr>
  588. <tr>
  589. <td class="paramkey"></td>
  590. <td></td>
  591. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  592. <td class="paramname"><em>b</em>, </td>
  593. </tr>
  594. <tr>
  595. <td class="paramkey"></td>
  596. <td></td>
  597. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  598. <td class="paramname"><em>c</em>, </td>
  599. </tr>
  600. <tr>
  601. <td class="paramkey"></td>
  602. <td></td>
  603. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  604. <td class="paramname"><em>d</em>&#160;</td>
  605. </tr>
  606. <tr>
  607. <td></td>
  608. <td>)</td>
  609. <td></td><td></td>
  610. </tr>
  611. </table>
  612. </div><div class="memdoc">
  613. <p>Return the minimum component-wise values of 4 inputs. </p>
  614. <dl class="tparams"><dt>Template Parameters</dt><dd>
  615. <table class="tparams">
  616. <tr><td class="paramname">L</td><td>Integer between 1 and 4 included that qualify the dimension of the vector </td></tr>
  617. <tr><td class="paramname">T</td><td>Floating-point or integer scalar types </td></tr>
  618. <tr><td class="paramname">Q</td><td>Value from qualifier enum </td></tr>
  619. </table>
  620. </dd>
  621. </dl>
  622. </div>
  623. </div>
  624. </div><!-- contents -->
  625. <!-- start footer part -->
  626. <hr class="footer"/><address class="footer"><small>
  627. Generated by &#160;<a href="http://www.doxygen.org/index.html">
  628. <img class="footer" src="doxygen.png" alt="doxygen"/>
  629. </a> 1.8.14
  630. </small></address>
  631. </body>
  632. </html>