Platformer in OpenGL
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

455 wiersze
25 KiB

5 lat temu
  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: Vector Relational Functions</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">Vector Relational Functions<div class="ingroups"><a class="el" href="a00703.html">Core features</a></div></div> </div>
  67. </div><!--header-->
  68. <div class="contents">
  69. <p>Include &lt;<a class="el" href="a00353.html" title="Core features ">glm/vector_relational.hpp</a>&gt; to use these core features.
  70. <a href="#details">More...</a></p>
  71. <table class="memberdecls">
  72. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
  73. Functions</h2></td></tr>
  74. <tr class="memitem:ga87e53f50b679f5f95c5cb4780311b3dd"><td class="memTemplParams" colspan="2">template&lt;length_t L, qualifier Q&gt; </td></tr>
  75. <tr class="memitem:ga87e53f50b679f5f95c5cb4780311b3dd"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL GLM_CONSTEXPR bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00795.html#ga87e53f50b679f5f95c5cb4780311b3dd">all</a> (vec&lt; L, bool, Q &gt; const &amp;v)</td></tr>
  76. <tr class="memdesc:ga87e53f50b679f5f95c5cb4780311b3dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if all components of x are true. <a href="a00795.html#ga87e53f50b679f5f95c5cb4780311b3dd">More...</a><br /></td></tr>
  77. <tr class="separator:ga87e53f50b679f5f95c5cb4780311b3dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
  78. <tr class="memitem:ga911b3f8e41459dd551ccb6d385d91061"><td class="memTemplParams" colspan="2">template&lt;length_t L, qualifier Q&gt; </td></tr>
  79. <tr class="memitem:ga911b3f8e41459dd551ccb6d385d91061"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL GLM_CONSTEXPR bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00795.html#ga911b3f8e41459dd551ccb6d385d91061">any</a> (vec&lt; L, bool, Q &gt; const &amp;v)</td></tr>
  80. <tr class="memdesc:ga911b3f8e41459dd551ccb6d385d91061"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if any component of x is true. <a href="a00795.html#ga911b3f8e41459dd551ccb6d385d91061">More...</a><br /></td></tr>
  81. <tr class="separator:ga911b3f8e41459dd551ccb6d385d91061"><td class="memSeparator" colspan="2">&#160;</td></tr>
  82. <tr class="memitem:gab4c5cfdaa70834421397a85aa83ad946"><td class="memTemplParams" colspan="2">template&lt;length_t L, typename T , qualifier Q&gt; </td></tr>
  83. <tr class="memitem:gab4c5cfdaa70834421397a85aa83ad946"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL GLM_CONSTEXPR vec&lt; L, bool, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00795.html#gab4c5cfdaa70834421397a85aa83ad946">equal</a> (vec&lt; L, T, Q &gt; const &amp;x, vec&lt; L, T, Q &gt; const &amp;y)</td></tr>
  84. <tr class="memdesc:gab4c5cfdaa70834421397a85aa83ad946"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the component-wise comparison of result x == y. <a href="a00795.html#gab4c5cfdaa70834421397a85aa83ad946">More...</a><br /></td></tr>
  85. <tr class="separator:gab4c5cfdaa70834421397a85aa83ad946"><td class="memSeparator" colspan="2">&#160;</td></tr>
  86. <tr class="memitem:gadfdb8ea82deca869ddc7e63ea5a63ae4"><td class="memTemplParams" colspan="2">template&lt;length_t L, typename T , qualifier Q&gt; </td></tr>
  87. <tr class="memitem:gadfdb8ea82deca869ddc7e63ea5a63ae4"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL GLM_CONSTEXPR vec&lt; L, bool, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00795.html#gadfdb8ea82deca869ddc7e63ea5a63ae4">greaterThan</a> (vec&lt; L, T, Q &gt; const &amp;x, vec&lt; L, T, Q &gt; const &amp;y)</td></tr>
  88. <tr class="memdesc:gadfdb8ea82deca869ddc7e63ea5a63ae4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the component-wise comparison of result x &gt; y. <a href="a00795.html#gadfdb8ea82deca869ddc7e63ea5a63ae4">More...</a><br /></td></tr>
  89. <tr class="separator:gadfdb8ea82deca869ddc7e63ea5a63ae4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  90. <tr class="memitem:ga859975f538940f8d18fe62f916b9abd7"><td class="memTemplParams" colspan="2">template&lt;length_t L, typename T , qualifier Q&gt; </td></tr>
  91. <tr class="memitem:ga859975f538940f8d18fe62f916b9abd7"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL GLM_CONSTEXPR vec&lt; L, bool, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00795.html#ga859975f538940f8d18fe62f916b9abd7">greaterThanEqual</a> (vec&lt; L, T, Q &gt; const &amp;x, vec&lt; L, T, Q &gt; const &amp;y)</td></tr>
  92. <tr class="memdesc:ga859975f538940f8d18fe62f916b9abd7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the component-wise comparison of result x &gt;= y. <a href="a00795.html#ga859975f538940f8d18fe62f916b9abd7">More...</a><br /></td></tr>
  93. <tr class="separator:ga859975f538940f8d18fe62f916b9abd7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  94. <tr class="memitem:gae90ed1592c395f93e3f3dfce6b2f39c6"><td class="memTemplParams" colspan="2">template&lt;length_t L, typename T , qualifier Q&gt; </td></tr>
  95. <tr class="memitem:gae90ed1592c395f93e3f3dfce6b2f39c6"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL GLM_CONSTEXPR vec&lt; L, bool, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00795.html#gae90ed1592c395f93e3f3dfce6b2f39c6">lessThan</a> (vec&lt; L, T, Q &gt; const &amp;x, vec&lt; L, T, Q &gt; const &amp;y)</td></tr>
  96. <tr class="memdesc:gae90ed1592c395f93e3f3dfce6b2f39c6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the component-wise comparison result of x &lt; y. <a href="a00795.html#gae90ed1592c395f93e3f3dfce6b2f39c6">More...</a><br /></td></tr>
  97. <tr class="separator:gae90ed1592c395f93e3f3dfce6b2f39c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  98. <tr class="memitem:gab0bdafc019d227257ff73fb5bcca1718"><td class="memTemplParams" colspan="2">template&lt;length_t L, typename T , qualifier Q&gt; </td></tr>
  99. <tr class="memitem:gab0bdafc019d227257ff73fb5bcca1718"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL GLM_CONSTEXPR vec&lt; L, bool, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00795.html#gab0bdafc019d227257ff73fb5bcca1718">lessThanEqual</a> (vec&lt; L, T, Q &gt; const &amp;x, vec&lt; L, T, Q &gt; const &amp;y)</td></tr>
  100. <tr class="memdesc:gab0bdafc019d227257ff73fb5bcca1718"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the component-wise comparison of result x &lt;= y. <a href="a00795.html#gab0bdafc019d227257ff73fb5bcca1718">More...</a><br /></td></tr>
  101. <tr class="separator:gab0bdafc019d227257ff73fb5bcca1718"><td class="memSeparator" colspan="2">&#160;</td></tr>
  102. <tr class="memitem:ga610fcd175791fd246e328ffee10dbf1e"><td class="memTemplParams" colspan="2">template&lt;length_t L, qualifier Q&gt; </td></tr>
  103. <tr class="memitem:ga610fcd175791fd246e328ffee10dbf1e"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL GLM_CONSTEXPR vec&lt; L, bool, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00795.html#ga610fcd175791fd246e328ffee10dbf1e">not_</a> (vec&lt; L, bool, Q &gt; const &amp;v)</td></tr>
  104. <tr class="memdesc:ga610fcd175791fd246e328ffee10dbf1e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the component-wise logical complement of x. <a href="a00795.html#ga610fcd175791fd246e328ffee10dbf1e">More...</a><br /></td></tr>
  105. <tr class="separator:ga610fcd175791fd246e328ffee10dbf1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  106. <tr class="memitem:ga17c19dc1b76cd5aef63e9e7ff3aa3c27"><td class="memTemplParams" colspan="2">template&lt;length_t L, typename T , qualifier Q&gt; </td></tr>
  107. <tr class="memitem:ga17c19dc1b76cd5aef63e9e7ff3aa3c27"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL GLM_CONSTEXPR vec&lt; L, bool, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00795.html#ga17c19dc1b76cd5aef63e9e7ff3aa3c27">notEqual</a> (vec&lt; L, T, Q &gt; const &amp;x, vec&lt; L, T, Q &gt; const &amp;y)</td></tr>
  108. <tr class="memdesc:ga17c19dc1b76cd5aef63e9e7ff3aa3c27"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the component-wise comparison of result x != y. <a href="a00795.html#ga17c19dc1b76cd5aef63e9e7ff3aa3c27">More...</a><br /></td></tr>
  109. <tr class="separator:ga17c19dc1b76cd5aef63e9e7ff3aa3c27"><td class="memSeparator" colspan="2">&#160;</td></tr>
  110. </table>
  111. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  112. <p>Include &lt;<a class="el" href="a00353.html" title="Core features ">glm/vector_relational.hpp</a>&gt; to use these core features. </p>
  113. <p>Relational and equality operators (&lt;, &lt;=, &gt;, &gt;=, ==, !=) are defined to operate on scalars and produce scalar Boolean results. For vector results, use the following built-in functions.</p>
  114. <p>In all cases, the sizes of all the input and return vectors for any particular call must match. </p>
  115. <h2 class="groupheader">Function Documentation</h2>
  116. <a id="ga87e53f50b679f5f95c5cb4780311b3dd"></a>
  117. <h2 class="memtitle"><span class="permalink"><a href="#ga87e53f50b679f5f95c5cb4780311b3dd">&#9670;&nbsp;</a></span>all()</h2>
  118. <div class="memitem">
  119. <div class="memproto">
  120. <table class="memname">
  121. <tr>
  122. <td class="memname">GLM_FUNC_DECL GLM_CONSTEXPR bool glm::all </td>
  123. <td>(</td>
  124. <td class="paramtype">vec&lt; L, bool, Q &gt; const &amp;&#160;</td>
  125. <td class="paramname"><em>v</em></td><td>)</td>
  126. <td></td>
  127. </tr>
  128. </table>
  129. </div><div class="memdoc">
  130. <p>Returns true if all components of x are true. </p>
  131. <dl class="tparams"><dt>Template Parameters</dt><dd>
  132. <table class="tparams">
  133. <tr><td class="paramname">L</td><td>An integer between 1 and 4 included that qualify the dimension of the vector.</td></tr>
  134. </table>
  135. </dd>
  136. </dl>
  137. <dl class="section see"><dt>See also</dt><dd><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/all.xml">GLSL all man page</a> </dd>
  138. <dd>
  139. <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.7 Vector Relational Functions</a> </dd></dl>
  140. </div>
  141. </div>
  142. <a id="ga911b3f8e41459dd551ccb6d385d91061"></a>
  143. <h2 class="memtitle"><span class="permalink"><a href="#ga911b3f8e41459dd551ccb6d385d91061">&#9670;&nbsp;</a></span>any()</h2>
  144. <div class="memitem">
  145. <div class="memproto">
  146. <table class="memname">
  147. <tr>
  148. <td class="memname">GLM_FUNC_DECL GLM_CONSTEXPR bool glm::any </td>
  149. <td>(</td>
  150. <td class="paramtype">vec&lt; L, bool, Q &gt; const &amp;&#160;</td>
  151. <td class="paramname"><em>v</em></td><td>)</td>
  152. <td></td>
  153. </tr>
  154. </table>
  155. </div><div class="memdoc">
  156. <p>Returns true if any component of x is true. </p>
  157. <dl class="tparams"><dt>Template Parameters</dt><dd>
  158. <table class="tparams">
  159. <tr><td class="paramname">L</td><td>An integer between 1 and 4 included that qualify the dimension of the vector.</td></tr>
  160. </table>
  161. </dd>
  162. </dl>
  163. <dl class="section see"><dt>See also</dt><dd><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/any.xml">GLSL any man page</a> </dd>
  164. <dd>
  165. <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.7 Vector Relational Functions</a> </dd></dl>
  166. </div>
  167. </div>
  168. <a id="gab4c5cfdaa70834421397a85aa83ad946"></a>
  169. <h2 class="memtitle"><span class="permalink"><a href="#gab4c5cfdaa70834421397a85aa83ad946">&#9670;&nbsp;</a></span>equal()</h2>
  170. <div class="memitem">
  171. <div class="memproto">
  172. <table class="memname">
  173. <tr>
  174. <td class="memname">GLM_FUNC_DECL GLM_CONSTEXPR vec&lt;L, bool, Q&gt; glm::equal </td>
  175. <td>(</td>
  176. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  177. <td class="paramname"><em>x</em>, </td>
  178. </tr>
  179. <tr>
  180. <td class="paramkey"></td>
  181. <td></td>
  182. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  183. <td class="paramname"><em>y</em>&#160;</td>
  184. </tr>
  185. <tr>
  186. <td></td>
  187. <td>)</td>
  188. <td></td><td></td>
  189. </tr>
  190. </table>
  191. </div><div class="memdoc">
  192. <p>Returns the component-wise comparison of result x == y. </p>
  193. <dl class="tparams"><dt>Template Parameters</dt><dd>
  194. <table class="tparams">
  195. <tr><td class="paramname">L</td><td>An integer between 1 and 4 included that qualify the dimension of the vector. </td></tr>
  196. <tr><td class="paramname">T</td><td>A floating-point, integer or bool scalar type.</td></tr>
  197. </table>
  198. </dd>
  199. </dl>
  200. <dl class="section see"><dt>See also</dt><dd><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/equal.xml">GLSL equal man page</a> </dd>
  201. <dd>
  202. <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.7 Vector Relational Functions</a> </dd></dl>
  203. </div>
  204. </div>
  205. <a id="gadfdb8ea82deca869ddc7e63ea5a63ae4"></a>
  206. <h2 class="memtitle"><span class="permalink"><a href="#gadfdb8ea82deca869ddc7e63ea5a63ae4">&#9670;&nbsp;</a></span>greaterThan()</h2>
  207. <div class="memitem">
  208. <div class="memproto">
  209. <table class="memname">
  210. <tr>
  211. <td class="memname">GLM_FUNC_DECL GLM_CONSTEXPR vec&lt;L, bool, Q&gt; glm::greaterThan </td>
  212. <td>(</td>
  213. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  214. <td class="paramname"><em>x</em>, </td>
  215. </tr>
  216. <tr>
  217. <td class="paramkey"></td>
  218. <td></td>
  219. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  220. <td class="paramname"><em>y</em>&#160;</td>
  221. </tr>
  222. <tr>
  223. <td></td>
  224. <td>)</td>
  225. <td></td><td></td>
  226. </tr>
  227. </table>
  228. </div><div class="memdoc">
  229. <p>Returns the component-wise comparison of result x &gt; y. </p>
  230. <dl class="tparams"><dt>Template Parameters</dt><dd>
  231. <table class="tparams">
  232. <tr><td class="paramname">L</td><td>An integer between 1 and 4 included that qualify the dimension of the vector. </td></tr>
  233. <tr><td class="paramname">T</td><td>A floating-point or integer scalar type.</td></tr>
  234. </table>
  235. </dd>
  236. </dl>
  237. <dl class="section see"><dt>See also</dt><dd><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/greaterThan.xml">GLSL greaterThan man page</a> </dd>
  238. <dd>
  239. <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.7 Vector Relational Functions</a> </dd></dl>
  240. </div>
  241. </div>
  242. <a id="ga859975f538940f8d18fe62f916b9abd7"></a>
  243. <h2 class="memtitle"><span class="permalink"><a href="#ga859975f538940f8d18fe62f916b9abd7">&#9670;&nbsp;</a></span>greaterThanEqual()</h2>
  244. <div class="memitem">
  245. <div class="memproto">
  246. <table class="memname">
  247. <tr>
  248. <td class="memname">GLM_FUNC_DECL GLM_CONSTEXPR vec&lt;L, bool, Q&gt; glm::greaterThanEqual </td>
  249. <td>(</td>
  250. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  251. <td class="paramname"><em>x</em>, </td>
  252. </tr>
  253. <tr>
  254. <td class="paramkey"></td>
  255. <td></td>
  256. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  257. <td class="paramname"><em>y</em>&#160;</td>
  258. </tr>
  259. <tr>
  260. <td></td>
  261. <td>)</td>
  262. <td></td><td></td>
  263. </tr>
  264. </table>
  265. </div><div class="memdoc">
  266. <p>Returns the component-wise comparison of result x &gt;= y. </p>
  267. <dl class="tparams"><dt>Template Parameters</dt><dd>
  268. <table class="tparams">
  269. <tr><td class="paramname">L</td><td>An integer between 1 and 4 included that qualify the dimension of the vector. </td></tr>
  270. <tr><td class="paramname">T</td><td>A floating-point or integer scalar type.</td></tr>
  271. </table>
  272. </dd>
  273. </dl>
  274. <dl class="section see"><dt>See also</dt><dd><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/greaterThanEqual.xml">GLSL greaterThanEqual man page</a> </dd>
  275. <dd>
  276. <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.7 Vector Relational Functions</a> </dd></dl>
  277. </div>
  278. </div>
  279. <a id="gae90ed1592c395f93e3f3dfce6b2f39c6"></a>
  280. <h2 class="memtitle"><span class="permalink"><a href="#gae90ed1592c395f93e3f3dfce6b2f39c6">&#9670;&nbsp;</a></span>lessThan()</h2>
  281. <div class="memitem">
  282. <div class="memproto">
  283. <table class="memname">
  284. <tr>
  285. <td class="memname">GLM_FUNC_DECL GLM_CONSTEXPR vec&lt;L, bool, Q&gt; glm::lessThan </td>
  286. <td>(</td>
  287. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  288. <td class="paramname"><em>x</em>, </td>
  289. </tr>
  290. <tr>
  291. <td class="paramkey"></td>
  292. <td></td>
  293. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  294. <td class="paramname"><em>y</em>&#160;</td>
  295. </tr>
  296. <tr>
  297. <td></td>
  298. <td>)</td>
  299. <td></td><td></td>
  300. </tr>
  301. </table>
  302. </div><div class="memdoc">
  303. <p>Returns the component-wise comparison result of x &lt; y. </p>
  304. <dl class="tparams"><dt>Template Parameters</dt><dd>
  305. <table class="tparams">
  306. <tr><td class="paramname">L</td><td>An integer between 1 and 4 included that qualify the dimension of the vector. </td></tr>
  307. <tr><td class="paramname">T</td><td>A floating-point or integer scalar type.</td></tr>
  308. </table>
  309. </dd>
  310. </dl>
  311. <dl class="section see"><dt>See also</dt><dd><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/lessThan.xml">GLSL lessThan man page</a> </dd>
  312. <dd>
  313. <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.7 Vector Relational Functions</a> </dd></dl>
  314. </div>
  315. </div>
  316. <a id="gab0bdafc019d227257ff73fb5bcca1718"></a>
  317. <h2 class="memtitle"><span class="permalink"><a href="#gab0bdafc019d227257ff73fb5bcca1718">&#9670;&nbsp;</a></span>lessThanEqual()</h2>
  318. <div class="memitem">
  319. <div class="memproto">
  320. <table class="memname">
  321. <tr>
  322. <td class="memname">GLM_FUNC_DECL GLM_CONSTEXPR vec&lt;L, bool, Q&gt; glm::lessThanEqual </td>
  323. <td>(</td>
  324. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  325. <td class="paramname"><em>x</em>, </td>
  326. </tr>
  327. <tr>
  328. <td class="paramkey"></td>
  329. <td></td>
  330. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  331. <td class="paramname"><em>y</em>&#160;</td>
  332. </tr>
  333. <tr>
  334. <td></td>
  335. <td>)</td>
  336. <td></td><td></td>
  337. </tr>
  338. </table>
  339. </div><div class="memdoc">
  340. <p>Returns the component-wise comparison of result x &lt;= y. </p>
  341. <dl class="tparams"><dt>Template Parameters</dt><dd>
  342. <table class="tparams">
  343. <tr><td class="paramname">L</td><td>An integer between 1 and 4 included that qualify the dimension of the vector. </td></tr>
  344. <tr><td class="paramname">T</td><td>A floating-point or integer scalar type.</td></tr>
  345. </table>
  346. </dd>
  347. </dl>
  348. <dl class="section see"><dt>See also</dt><dd><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/lessThanEqual.xml">GLSL lessThanEqual man page</a> </dd>
  349. <dd>
  350. <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.7 Vector Relational Functions</a> </dd></dl>
  351. </div>
  352. </div>
  353. <a id="ga610fcd175791fd246e328ffee10dbf1e"></a>
  354. <h2 class="memtitle"><span class="permalink"><a href="#ga610fcd175791fd246e328ffee10dbf1e">&#9670;&nbsp;</a></span>not_()</h2>
  355. <div class="memitem">
  356. <div class="memproto">
  357. <table class="memname">
  358. <tr>
  359. <td class="memname">GLM_FUNC_DECL GLM_CONSTEXPR vec&lt;L, bool, Q&gt; glm::not_ </td>
  360. <td>(</td>
  361. <td class="paramtype">vec&lt; L, bool, Q &gt; const &amp;&#160;</td>
  362. <td class="paramname"><em>v</em></td><td>)</td>
  363. <td></td>
  364. </tr>
  365. </table>
  366. </div><div class="memdoc">
  367. <p>Returns the component-wise logical complement of x. </p>
  368. <p>/!\ Because of language incompatibilities between C++ and GLSL, GLM defines the function not but not_ instead.</p>
  369. <dl class="tparams"><dt>Template Parameters</dt><dd>
  370. <table class="tparams">
  371. <tr><td class="paramname">L</td><td>An integer between 1 and 4 included that qualify the dimension of the vector.</td></tr>
  372. </table>
  373. </dd>
  374. </dl>
  375. <dl class="section see"><dt>See also</dt><dd><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/not.xml">GLSL not man page</a> </dd>
  376. <dd>
  377. <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.7 Vector Relational Functions</a> </dd></dl>
  378. </div>
  379. </div>
  380. <a id="ga17c19dc1b76cd5aef63e9e7ff3aa3c27"></a>
  381. <h2 class="memtitle"><span class="permalink"><a href="#ga17c19dc1b76cd5aef63e9e7ff3aa3c27">&#9670;&nbsp;</a></span>notEqual()</h2>
  382. <div class="memitem">
  383. <div class="memproto">
  384. <table class="memname">
  385. <tr>
  386. <td class="memname">GLM_FUNC_DECL GLM_CONSTEXPR vec&lt;L, bool, Q&gt; glm::notEqual </td>
  387. <td>(</td>
  388. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  389. <td class="paramname"><em>x</em>, </td>
  390. </tr>
  391. <tr>
  392. <td class="paramkey"></td>
  393. <td></td>
  394. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  395. <td class="paramname"><em>y</em>&#160;</td>
  396. </tr>
  397. <tr>
  398. <td></td>
  399. <td>)</td>
  400. <td></td><td></td>
  401. </tr>
  402. </table>
  403. </div><div class="memdoc">
  404. <p>Returns the component-wise comparison of result x != y. </p>
  405. <dl class="tparams"><dt>Template Parameters</dt><dd>
  406. <table class="tparams">
  407. <tr><td class="paramname">L</td><td>An integer between 1 and 4 included that qualify the dimension of the vector. </td></tr>
  408. <tr><td class="paramname">T</td><td>A floating-point, integer or bool scalar type.</td></tr>
  409. </table>
  410. </dd>
  411. </dl>
  412. <dl class="section see"><dt>See also</dt><dd><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/notEqual.xml">GLSL notEqual man page</a> </dd>
  413. <dd>
  414. <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.7 Vector Relational Functions</a> </dd></dl>
  415. </div>
  416. </div>
  417. </div><!-- contents -->
  418. <!-- start footer part -->
  419. <hr class="footer"/><address class="footer"><small>
  420. Generated by &#160;<a href="http://www.doxygen.org/index.html">
  421. <img class="footer" src="doxygen.png" alt="doxygen"/>
  422. </a> 1.8.14
  423. </small></address>
  424. </body>
  425. </html>