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.

374 lines
18 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_matrix_relational</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_matrix_relational<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:ga27e90dcb7941c9b70e295dc3f6f6369f"><td class="memTemplParams" colspan="2">template&lt;length_t C, length_t R, typename T , qualifier Q&gt; </td></tr>
  73. <tr class="memitem:ga27e90dcb7941c9b70e295dc3f6f6369f"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL GLM_CONSTEXPR vec&lt; C, bool, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00667.html#ga27e90dcb7941c9b70e295dc3f6f6369f">equal</a> (mat&lt; C, R, T, Q &gt; const &amp;x, mat&lt; C, R, T, Q &gt; const &amp;y)</td></tr>
  74. <tr class="separator:ga27e90dcb7941c9b70e295dc3f6f6369f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  75. <tr class="memitem:gaf5d687d70d11708b68c36c6db5777040"><td class="memTemplParams" colspan="2">template&lt;length_t C, length_t R, typename T , qualifier Q&gt; </td></tr>
  76. <tr class="memitem:gaf5d687d70d11708b68c36c6db5777040"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL GLM_CONSTEXPR vec&lt; C, bool, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00667.html#gaf5d687d70d11708b68c36c6db5777040">equal</a> (mat&lt; C, R, T, Q &gt; const &amp;x, mat&lt; C, R, T, Q &gt; const &amp;y, T epsilon)</td></tr>
  77. <tr class="separator:gaf5d687d70d11708b68c36c6db5777040"><td class="memSeparator" colspan="2">&#160;</td></tr>
  78. <tr class="memitem:gafa6a053e81179fa4292b35651c83c3fb"><td class="memTemplParams" colspan="2">template&lt;length_t C, length_t R, typename T , qualifier Q&gt; </td></tr>
  79. <tr class="memitem:gafa6a053e81179fa4292b35651c83c3fb"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL GLM_CONSTEXPR vec&lt; C, bool, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00667.html#gafa6a053e81179fa4292b35651c83c3fb">equal</a> (mat&lt; C, R, T, Q &gt; const &amp;x, mat&lt; C, R, T, Q &gt; const &amp;y, vec&lt; C, T, Q &gt; const &amp;epsilon)</td></tr>
  80. <tr class="separator:gafa6a053e81179fa4292b35651c83c3fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  81. <tr class="memitem:ga8504f18a7e2bf315393032c2137dad83"><td class="memTemplParams" colspan="2">template&lt;length_t C, length_t R, typename T , qualifier Q&gt; </td></tr>
  82. <tr class="memitem:ga8504f18a7e2bf315393032c2137dad83"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL GLM_CONSTEXPR vec&lt; C, bool, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00667.html#ga8504f18a7e2bf315393032c2137dad83">notEqual</a> (mat&lt; C, R, T, Q &gt; const &amp;x, mat&lt; C, R, T, Q &gt; const &amp;y)</td></tr>
  83. <tr class="separator:ga8504f18a7e2bf315393032c2137dad83"><td class="memSeparator" colspan="2">&#160;</td></tr>
  84. <tr class="memitem:ga29071147d118569344d10944b7d5c378"><td class="memTemplParams" colspan="2">template&lt;length_t C, length_t R, typename T , qualifier Q&gt; </td></tr>
  85. <tr class="memitem:ga29071147d118569344d10944b7d5c378"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL GLM_CONSTEXPR vec&lt; C, bool, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00667.html#ga29071147d118569344d10944b7d5c378">notEqual</a> (mat&lt; C, R, T, Q &gt; const &amp;x, mat&lt; C, R, T, Q &gt; const &amp;y, T epsilon)</td></tr>
  86. <tr class="separator:ga29071147d118569344d10944b7d5c378"><td class="memSeparator" colspan="2">&#160;</td></tr>
  87. <tr class="memitem:gad7959e14fbc35b4ed2617daf4d67f6cd"><td class="memTemplParams" colspan="2">template&lt;length_t C, length_t R, typename T , qualifier Q&gt; </td></tr>
  88. <tr class="memitem:gad7959e14fbc35b4ed2617daf4d67f6cd"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL GLM_CONSTEXPR vec&lt; C, bool, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00667.html#gad7959e14fbc35b4ed2617daf4d67f6cd">notEqual</a> (mat&lt; C, R, T, Q &gt; const &amp;x, mat&lt; C, R, T, Q &gt; const &amp;y, vec&lt; C, T, Q &gt; const &amp;epsilon)</td></tr>
  89. <tr class="separator:gad7959e14fbc35b4ed2617daf4d67f6cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
  90. </table>
  91. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  92. <p>Exposes comparison functions for matrix types that take a user defined epsilon values. </p>
  93. <p>Include &lt;<a class="el" href="a00197.html" title="GLM_EXT_matrix_relational ">glm/ext/matrix_relational.hpp</a>&gt; to use the features of this extension.</p>
  94. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00694.html" title="Exposes comparison functions for vector types that take a user defined epsilon values. ">GLM_EXT_vector_relational</a> </dd>
  95. <dd>
  96. <a class="el" href="a00683.html" title="Exposes comparison functions for scalar types that take a user defined epsilon values. ">GLM_EXT_scalar_relational</a> </dd>
  97. <dd>
  98. <a class="el" href="a00676.html" title="Exposes comparison functions for quaternion types that take a user defined epsilon values...">GLM_EXT_quaternion_relational</a> </dd></dl>
  99. <h2 class="groupheader">Function Documentation</h2>
  100. <a id="ga27e90dcb7941c9b70e295dc3f6f6369f"></a>
  101. <h2 class="memtitle"><span class="permalink"><a href="#ga27e90dcb7941c9b70e295dc3f6f6369f">&#9670;&nbsp;</a></span>equal() <span class="overload">[1/3]</span></h2>
  102. <div class="memitem">
  103. <div class="memproto">
  104. <table class="memname">
  105. <tr>
  106. <td class="memname">GLM_FUNC_DECL GLM_CONSTEXPR vec&lt;C, bool, Q&gt; glm::equal </td>
  107. <td>(</td>
  108. <td class="paramtype">mat&lt; C, R, T, Q &gt; const &amp;&#160;</td>
  109. <td class="paramname"><em>x</em>, </td>
  110. </tr>
  111. <tr>
  112. <td class="paramkey"></td>
  113. <td></td>
  114. <td class="paramtype">mat&lt; C, R, T, Q &gt; const &amp;&#160;</td>
  115. <td class="paramname"><em>y</em>&#160;</td>
  116. </tr>
  117. <tr>
  118. <td></td>
  119. <td>)</td>
  120. <td></td><td></td>
  121. </tr>
  122. </table>
  123. </div><div class="memdoc">
  124. <p>Perform a component-wise equal-to comparison of two matrices. </p>
  125. <p>Return a boolean vector which components value is True if this expression is satisfied per column of the matrices.</p>
  126. <dl class="tparams"><dt>Template Parameters</dt><dd>
  127. <table class="tparams">
  128. <tr><td class="paramname">C</td><td>Integer between 1 and 4 included that qualify the number of columns of the matrix </td></tr>
  129. <tr><td class="paramname">R</td><td>Integer between 1 and 4 included that qualify the number of rows of the matrix </td></tr>
  130. <tr><td class="paramname">T</td><td>Floating-point or integer scalar types </td></tr>
  131. <tr><td class="paramname">Q</td><td>Value from qualifier enum </td></tr>
  132. </table>
  133. </dd>
  134. </dl>
  135. </div>
  136. </div>
  137. <a id="gaf5d687d70d11708b68c36c6db5777040"></a>
  138. <h2 class="memtitle"><span class="permalink"><a href="#gaf5d687d70d11708b68c36c6db5777040">&#9670;&nbsp;</a></span>equal() <span class="overload">[2/3]</span></h2>
  139. <div class="memitem">
  140. <div class="memproto">
  141. <table class="memname">
  142. <tr>
  143. <td class="memname">GLM_FUNC_DECL GLM_CONSTEXPR vec&lt;C, bool, Q&gt; glm::equal </td>
  144. <td>(</td>
  145. <td class="paramtype">mat&lt; C, R, T, Q &gt; const &amp;&#160;</td>
  146. <td class="paramname"><em>x</em>, </td>
  147. </tr>
  148. <tr>
  149. <td class="paramkey"></td>
  150. <td></td>
  151. <td class="paramtype">mat&lt; C, R, T, Q &gt; const &amp;&#160;</td>
  152. <td class="paramname"><em>y</em>, </td>
  153. </tr>
  154. <tr>
  155. <td class="paramkey"></td>
  156. <td></td>
  157. <td class="paramtype">T&#160;</td>
  158. <td class="paramname"><em>epsilon</em>&#160;</td>
  159. </tr>
  160. <tr>
  161. <td></td>
  162. <td>)</td>
  163. <td></td><td></td>
  164. </tr>
  165. </table>
  166. </div><div class="memdoc">
  167. <p>Returns the component-wise comparison of |x - y| &lt; epsilon. </p>
  168. <p>True if this expression is satisfied.</p>
  169. <dl class="tparams"><dt>Template Parameters</dt><dd>
  170. <table class="tparams">
  171. <tr><td class="paramname">C</td><td>Integer between 1 and 4 included that qualify the number of columns of the matrix </td></tr>
  172. <tr><td class="paramname">R</td><td>Integer between 1 and 4 included that qualify the number of rows of the matrix </td></tr>
  173. <tr><td class="paramname">T</td><td>Floating-point or integer scalar types </td></tr>
  174. <tr><td class="paramname">Q</td><td>Value from qualifier enum </td></tr>
  175. </table>
  176. </dd>
  177. </dl>
  178. </div>
  179. </div>
  180. <a id="gafa6a053e81179fa4292b35651c83c3fb"></a>
  181. <h2 class="memtitle"><span class="permalink"><a href="#gafa6a053e81179fa4292b35651c83c3fb">&#9670;&nbsp;</a></span>equal() <span class="overload">[3/3]</span></h2>
  182. <div class="memitem">
  183. <div class="memproto">
  184. <table class="memname">
  185. <tr>
  186. <td class="memname">GLM_FUNC_DECL GLM_CONSTEXPR vec&lt;C, bool, Q&gt; glm::equal </td>
  187. <td>(</td>
  188. <td class="paramtype">mat&lt; C, R, T, Q &gt; const &amp;&#160;</td>
  189. <td class="paramname"><em>x</em>, </td>
  190. </tr>
  191. <tr>
  192. <td class="paramkey"></td>
  193. <td></td>
  194. <td class="paramtype">mat&lt; C, R, T, Q &gt; const &amp;&#160;</td>
  195. <td class="paramname"><em>y</em>, </td>
  196. </tr>
  197. <tr>
  198. <td class="paramkey"></td>
  199. <td></td>
  200. <td class="paramtype">vec&lt; C, T, Q &gt; const &amp;&#160;</td>
  201. <td class="paramname"><em>epsilon</em>&#160;</td>
  202. </tr>
  203. <tr>
  204. <td></td>
  205. <td>)</td>
  206. <td></td><td></td>
  207. </tr>
  208. </table>
  209. </div><div class="memdoc">
  210. <p>Returns the component-wise comparison of |x - y| &lt; epsilon. </p>
  211. <p>True if this expression is satisfied.</p>
  212. <dl class="tparams"><dt>Template Parameters</dt><dd>
  213. <table class="tparams">
  214. <tr><td class="paramname">C</td><td>Integer between 1 and 4 included that qualify the number of columns of the matrix </td></tr>
  215. <tr><td class="paramname">R</td><td>Integer between 1 and 4 included that qualify the number of rows of the matrix </td></tr>
  216. <tr><td class="paramname">T</td><td>Floating-point or integer scalar types </td></tr>
  217. <tr><td class="paramname">Q</td><td>Value from qualifier enum </td></tr>
  218. </table>
  219. </dd>
  220. </dl>
  221. </div>
  222. </div>
  223. <a id="ga8504f18a7e2bf315393032c2137dad83"></a>
  224. <h2 class="memtitle"><span class="permalink"><a href="#ga8504f18a7e2bf315393032c2137dad83">&#9670;&nbsp;</a></span>notEqual() <span class="overload">[1/3]</span></h2>
  225. <div class="memitem">
  226. <div class="memproto">
  227. <table class="memname">
  228. <tr>
  229. <td class="memname">GLM_FUNC_DECL GLM_CONSTEXPR vec&lt;C, bool, Q&gt; glm::notEqual </td>
  230. <td>(</td>
  231. <td class="paramtype">mat&lt; C, R, T, Q &gt; const &amp;&#160;</td>
  232. <td class="paramname"><em>x</em>, </td>
  233. </tr>
  234. <tr>
  235. <td class="paramkey"></td>
  236. <td></td>
  237. <td class="paramtype">mat&lt; C, R, T, Q &gt; const &amp;&#160;</td>
  238. <td class="paramname"><em>y</em>&#160;</td>
  239. </tr>
  240. <tr>
  241. <td></td>
  242. <td>)</td>
  243. <td></td><td></td>
  244. </tr>
  245. </table>
  246. </div><div class="memdoc">
  247. <p>Perform a component-wise not-equal-to comparison of two matrices. </p>
  248. <p>Return a boolean vector which components value is True if this expression is satisfied per column of the matrices.</p>
  249. <dl class="tparams"><dt>Template Parameters</dt><dd>
  250. <table class="tparams">
  251. <tr><td class="paramname">C</td><td>Integer between 1 and 4 included that qualify the number of columns of the matrix </td></tr>
  252. <tr><td class="paramname">R</td><td>Integer between 1 and 4 included that qualify the number of rows of the matrix </td></tr>
  253. <tr><td class="paramname">T</td><td>Floating-point or integer scalar types </td></tr>
  254. <tr><td class="paramname">Q</td><td>Value from qualifier enum </td></tr>
  255. </table>
  256. </dd>
  257. </dl>
  258. </div>
  259. </div>
  260. <a id="ga29071147d118569344d10944b7d5c378"></a>
  261. <h2 class="memtitle"><span class="permalink"><a href="#ga29071147d118569344d10944b7d5c378">&#9670;&nbsp;</a></span>notEqual() <span class="overload">[2/3]</span></h2>
  262. <div class="memitem">
  263. <div class="memproto">
  264. <table class="memname">
  265. <tr>
  266. <td class="memname">GLM_FUNC_DECL GLM_CONSTEXPR vec&lt;C, bool, Q&gt; glm::notEqual </td>
  267. <td>(</td>
  268. <td class="paramtype">mat&lt; C, R, T, Q &gt; const &amp;&#160;</td>
  269. <td class="paramname"><em>x</em>, </td>
  270. </tr>
  271. <tr>
  272. <td class="paramkey"></td>
  273. <td></td>
  274. <td class="paramtype">mat&lt; C, R, T, Q &gt; const &amp;&#160;</td>
  275. <td class="paramname"><em>y</em>, </td>
  276. </tr>
  277. <tr>
  278. <td class="paramkey"></td>
  279. <td></td>
  280. <td class="paramtype">T&#160;</td>
  281. <td class="paramname"><em>epsilon</em>&#160;</td>
  282. </tr>
  283. <tr>
  284. <td></td>
  285. <td>)</td>
  286. <td></td><td></td>
  287. </tr>
  288. </table>
  289. </div><div class="memdoc">
  290. <p>Returns the component-wise comparison of |x - y| &lt; epsilon. </p>
  291. <p>True if this expression is not satisfied.</p>
  292. <dl class="tparams"><dt>Template Parameters</dt><dd>
  293. <table class="tparams">
  294. <tr><td class="paramname">C</td><td>Integer between 1 and 4 included that qualify the number of columns of the matrix </td></tr>
  295. <tr><td class="paramname">R</td><td>Integer between 1 and 4 included that qualify the number of rows of the matrix </td></tr>
  296. <tr><td class="paramname">T</td><td>Floating-point or integer scalar types </td></tr>
  297. <tr><td class="paramname">Q</td><td>Value from qualifier enum </td></tr>
  298. </table>
  299. </dd>
  300. </dl>
  301. </div>
  302. </div>
  303. <a id="gad7959e14fbc35b4ed2617daf4d67f6cd"></a>
  304. <h2 class="memtitle"><span class="permalink"><a href="#gad7959e14fbc35b4ed2617daf4d67f6cd">&#9670;&nbsp;</a></span>notEqual() <span class="overload">[3/3]</span></h2>
  305. <div class="memitem">
  306. <div class="memproto">
  307. <table class="memname">
  308. <tr>
  309. <td class="memname">GLM_FUNC_DECL GLM_CONSTEXPR vec&lt;C, bool, Q&gt; glm::notEqual </td>
  310. <td>(</td>
  311. <td class="paramtype">mat&lt; C, R, T, Q &gt; const &amp;&#160;</td>
  312. <td class="paramname"><em>x</em>, </td>
  313. </tr>
  314. <tr>
  315. <td class="paramkey"></td>
  316. <td></td>
  317. <td class="paramtype">mat&lt; C, R, T, Q &gt; const &amp;&#160;</td>
  318. <td class="paramname"><em>y</em>, </td>
  319. </tr>
  320. <tr>
  321. <td class="paramkey"></td>
  322. <td></td>
  323. <td class="paramtype">vec&lt; C, T, Q &gt; const &amp;&#160;</td>
  324. <td class="paramname"><em>epsilon</em>&#160;</td>
  325. </tr>
  326. <tr>
  327. <td></td>
  328. <td>)</td>
  329. <td></td><td></td>
  330. </tr>
  331. </table>
  332. </div><div class="memdoc">
  333. <p>Returns the component-wise comparison of |x - y| &gt;= epsilon. </p>
  334. <p>True if this expression is not satisfied.</p>
  335. <dl class="tparams"><dt>Template Parameters</dt><dd>
  336. <table class="tparams">
  337. <tr><td class="paramname">C</td><td>Integer between 1 and 4 included that qualify the number of columns of the matrix </td></tr>
  338. <tr><td class="paramname">R</td><td>Integer between 1 and 4 included that qualify the number of rows of the matrix </td></tr>
  339. <tr><td class="paramname">T</td><td>Floating-point or integer scalar types </td></tr>
  340. <tr><td class="paramname">Q</td><td>Value from qualifier enum </td></tr>
  341. </table>
  342. </dd>
  343. </dl>
  344. </div>
  345. </div>
  346. </div><!-- contents -->
  347. <!-- start footer part -->
  348. <hr class="footer"/><address class="footer"><small>
  349. Generated by &#160;<a href="http://www.doxygen.org/index.html">
  350. <img class="footer" src="doxygen.png" alt="doxygen"/>
  351. </a> 1.8.14
  352. </small></address>
  353. </body>
  354. </html>