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.

309 regels
14 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_GTX_vector_query</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_GTX_vector_query<div class="ingroups"><a class="el" href="a00705.html">Experimental 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:ga13da4a787a2ff70e95d561fb19ff91b4"><td class="memTemplParams" colspan="2">template&lt;length_t L, typename T , qualifier Q&gt; </td></tr>
  73. <tr class="memitem:ga13da4a787a2ff70e95d561fb19ff91b4"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00785.html#ga13da4a787a2ff70e95d561fb19ff91b4">areCollinear</a> (vec&lt; L, T, Q &gt; const &amp;v0, vec&lt; L, T, Q &gt; const &amp;v1, T const &amp;epsilon)</td></tr>
  74. <tr class="separator:ga13da4a787a2ff70e95d561fb19ff91b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  75. <tr class="memitem:gac7b95b3f798e3c293262b2bdaad47c57"><td class="memTemplParams" colspan="2">template&lt;length_t L, typename T , qualifier Q&gt; </td></tr>
  76. <tr class="memitem:gac7b95b3f798e3c293262b2bdaad47c57"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00785.html#gac7b95b3f798e3c293262b2bdaad47c57">areOrthogonal</a> (vec&lt; L, T, Q &gt; const &amp;v0, vec&lt; L, T, Q &gt; const &amp;v1, T const &amp;epsilon)</td></tr>
  77. <tr class="separator:gac7b95b3f798e3c293262b2bdaad47c57"><td class="memSeparator" colspan="2">&#160;</td></tr>
  78. <tr class="memitem:ga1b091c3d7f9ee3b0708311c001c293e3"><td class="memTemplParams" colspan="2">template&lt;length_t L, typename T , qualifier Q&gt; </td></tr>
  79. <tr class="memitem:ga1b091c3d7f9ee3b0708311c001c293e3"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00785.html#ga1b091c3d7f9ee3b0708311c001c293e3">areOrthonormal</a> (vec&lt; L, T, Q &gt; const &amp;v0, vec&lt; L, T, Q &gt; const &amp;v1, T const &amp;epsilon)</td></tr>
  80. <tr class="separator:ga1b091c3d7f9ee3b0708311c001c293e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  81. <tr class="memitem:gaf6ec1688eab7442fe96fe4941d5d4e76"><td class="memTemplParams" colspan="2">template&lt;length_t L, typename T , qualifier Q&gt; </td></tr>
  82. <tr class="memitem:gaf6ec1688eab7442fe96fe4941d5d4e76"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; L, bool, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00785.html#gaf6ec1688eab7442fe96fe4941d5d4e76">isCompNull</a> (vec&lt; L, T, Q &gt; const &amp;v, T const &amp;epsilon)</td></tr>
  83. <tr class="separator:gaf6ec1688eab7442fe96fe4941d5d4e76"><td class="memSeparator" colspan="2">&#160;</td></tr>
  84. <tr class="memitem:gac3c974f459fd75453134fad7ae89a39e"><td class="memTemplParams" colspan="2">template&lt;length_t L, typename T , qualifier Q&gt; </td></tr>
  85. <tr class="memitem:gac3c974f459fd75453134fad7ae89a39e"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00785.html#gac3c974f459fd75453134fad7ae89a39e">isNormalized</a> (vec&lt; L, T, Q &gt; const &amp;v, T const &amp;epsilon)</td></tr>
  86. <tr class="separator:gac3c974f459fd75453134fad7ae89a39e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  87. <tr class="memitem:gab4a3637dbcb4bb42dc55caea7a1e0495"><td class="memTemplParams" colspan="2">template&lt;length_t L, typename T , qualifier Q&gt; </td></tr>
  88. <tr class="memitem:gab4a3637dbcb4bb42dc55caea7a1e0495"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00785.html#gab4a3637dbcb4bb42dc55caea7a1e0495">isNull</a> (vec&lt; L, T, Q &gt; const &amp;v, T const &amp;epsilon)</td></tr>
  89. <tr class="separator:gab4a3637dbcb4bb42dc55caea7a1e0495"><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>Include &lt;<a class="el" href="a00611.html" title="GLM_GTX_vector_query ">glm/gtx/vector_query.hpp</a>&gt; to use the features of this extension. </p>
  93. <p>Query informations of vector types </p>
  94. <h2 class="groupheader">Function Documentation</h2>
  95. <a id="ga13da4a787a2ff70e95d561fb19ff91b4"></a>
  96. <h2 class="memtitle"><span class="permalink"><a href="#ga13da4a787a2ff70e95d561fb19ff91b4">&#9670;&nbsp;</a></span>areCollinear()</h2>
  97. <div class="memitem">
  98. <div class="memproto">
  99. <table class="memname">
  100. <tr>
  101. <td class="memname">GLM_FUNC_DECL bool glm::areCollinear </td>
  102. <td>(</td>
  103. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  104. <td class="paramname"><em>v0</em>, </td>
  105. </tr>
  106. <tr>
  107. <td class="paramkey"></td>
  108. <td></td>
  109. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  110. <td class="paramname"><em>v1</em>, </td>
  111. </tr>
  112. <tr>
  113. <td class="paramkey"></td>
  114. <td></td>
  115. <td class="paramtype">T const &amp;&#160;</td>
  116. <td class="paramname"><em>epsilon</em>&#160;</td>
  117. </tr>
  118. <tr>
  119. <td></td>
  120. <td>)</td>
  121. <td></td><td></td>
  122. </tr>
  123. </table>
  124. </div><div class="memdoc">
  125. <p>Check whether two vectors are collinears. </p>
  126. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00785.html" title="Include &lt;glm/gtx/vector_query.hpp&gt; to use the features of this extension. ">GLM_GTX_vector_query</a> extensions. </dd></dl>
  127. </div>
  128. </div>
  129. <a id="gac7b95b3f798e3c293262b2bdaad47c57"></a>
  130. <h2 class="memtitle"><span class="permalink"><a href="#gac7b95b3f798e3c293262b2bdaad47c57">&#9670;&nbsp;</a></span>areOrthogonal()</h2>
  131. <div class="memitem">
  132. <div class="memproto">
  133. <table class="memname">
  134. <tr>
  135. <td class="memname">GLM_FUNC_DECL bool glm::areOrthogonal </td>
  136. <td>(</td>
  137. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  138. <td class="paramname"><em>v0</em>, </td>
  139. </tr>
  140. <tr>
  141. <td class="paramkey"></td>
  142. <td></td>
  143. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  144. <td class="paramname"><em>v1</em>, </td>
  145. </tr>
  146. <tr>
  147. <td class="paramkey"></td>
  148. <td></td>
  149. <td class="paramtype">T const &amp;&#160;</td>
  150. <td class="paramname"><em>epsilon</em>&#160;</td>
  151. </tr>
  152. <tr>
  153. <td></td>
  154. <td>)</td>
  155. <td></td><td></td>
  156. </tr>
  157. </table>
  158. </div><div class="memdoc">
  159. <p>Check whether two vectors are orthogonals. </p>
  160. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00785.html" title="Include &lt;glm/gtx/vector_query.hpp&gt; to use the features of this extension. ">GLM_GTX_vector_query</a> extensions. </dd></dl>
  161. </div>
  162. </div>
  163. <a id="ga1b091c3d7f9ee3b0708311c001c293e3"></a>
  164. <h2 class="memtitle"><span class="permalink"><a href="#ga1b091c3d7f9ee3b0708311c001c293e3">&#9670;&nbsp;</a></span>areOrthonormal()</h2>
  165. <div class="memitem">
  166. <div class="memproto">
  167. <table class="memname">
  168. <tr>
  169. <td class="memname">GLM_FUNC_DECL bool glm::areOrthonormal </td>
  170. <td>(</td>
  171. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  172. <td class="paramname"><em>v0</em>, </td>
  173. </tr>
  174. <tr>
  175. <td class="paramkey"></td>
  176. <td></td>
  177. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  178. <td class="paramname"><em>v1</em>, </td>
  179. </tr>
  180. <tr>
  181. <td class="paramkey"></td>
  182. <td></td>
  183. <td class="paramtype">T const &amp;&#160;</td>
  184. <td class="paramname"><em>epsilon</em>&#160;</td>
  185. </tr>
  186. <tr>
  187. <td></td>
  188. <td>)</td>
  189. <td></td><td></td>
  190. </tr>
  191. </table>
  192. </div><div class="memdoc">
  193. <p>Check whether two vectors are orthonormal. </p>
  194. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00785.html" title="Include &lt;glm/gtx/vector_query.hpp&gt; to use the features of this extension. ">GLM_GTX_vector_query</a> extensions. </dd></dl>
  195. </div>
  196. </div>
  197. <a id="gaf6ec1688eab7442fe96fe4941d5d4e76"></a>
  198. <h2 class="memtitle"><span class="permalink"><a href="#gaf6ec1688eab7442fe96fe4941d5d4e76">&#9670;&nbsp;</a></span>isCompNull()</h2>
  199. <div class="memitem">
  200. <div class="memproto">
  201. <table class="memname">
  202. <tr>
  203. <td class="memname">GLM_FUNC_DECL vec&lt;L, bool, Q&gt; glm::isCompNull </td>
  204. <td>(</td>
  205. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  206. <td class="paramname"><em>v</em>, </td>
  207. </tr>
  208. <tr>
  209. <td class="paramkey"></td>
  210. <td></td>
  211. <td class="paramtype">T const &amp;&#160;</td>
  212. <td class="paramname"><em>epsilon</em>&#160;</td>
  213. </tr>
  214. <tr>
  215. <td></td>
  216. <td>)</td>
  217. <td></td><td></td>
  218. </tr>
  219. </table>
  220. </div><div class="memdoc">
  221. <p>Check whether a each component of a vector is null. </p>
  222. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00785.html" title="Include &lt;glm/gtx/vector_query.hpp&gt; to use the features of this extension. ">GLM_GTX_vector_query</a> extensions. </dd></dl>
  223. </div>
  224. </div>
  225. <a id="gac3c974f459fd75453134fad7ae89a39e"></a>
  226. <h2 class="memtitle"><span class="permalink"><a href="#gac3c974f459fd75453134fad7ae89a39e">&#9670;&nbsp;</a></span>isNormalized()</h2>
  227. <div class="memitem">
  228. <div class="memproto">
  229. <table class="memname">
  230. <tr>
  231. <td class="memname">GLM_FUNC_DECL bool glm::isNormalized </td>
  232. <td>(</td>
  233. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  234. <td class="paramname"><em>v</em>, </td>
  235. </tr>
  236. <tr>
  237. <td class="paramkey"></td>
  238. <td></td>
  239. <td class="paramtype">T const &amp;&#160;</td>
  240. <td class="paramname"><em>epsilon</em>&#160;</td>
  241. </tr>
  242. <tr>
  243. <td></td>
  244. <td>)</td>
  245. <td></td><td></td>
  246. </tr>
  247. </table>
  248. </div><div class="memdoc">
  249. <p>Check whether a vector is normalized. </p>
  250. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00785.html" title="Include &lt;glm/gtx/vector_query.hpp&gt; to use the features of this extension. ">GLM_GTX_vector_query</a> extensions. </dd></dl>
  251. </div>
  252. </div>
  253. <a id="gab4a3637dbcb4bb42dc55caea7a1e0495"></a>
  254. <h2 class="memtitle"><span class="permalink"><a href="#gab4a3637dbcb4bb42dc55caea7a1e0495">&#9670;&nbsp;</a></span>isNull()</h2>
  255. <div class="memitem">
  256. <div class="memproto">
  257. <table class="memname">
  258. <tr>
  259. <td class="memname">GLM_FUNC_DECL bool glm::isNull </td>
  260. <td>(</td>
  261. <td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
  262. <td class="paramname"><em>v</em>, </td>
  263. </tr>
  264. <tr>
  265. <td class="paramkey"></td>
  266. <td></td>
  267. <td class="paramtype">T const &amp;&#160;</td>
  268. <td class="paramname"><em>epsilon</em>&#160;</td>
  269. </tr>
  270. <tr>
  271. <td></td>
  272. <td>)</td>
  273. <td></td><td></td>
  274. </tr>
  275. </table>
  276. </div><div class="memdoc">
  277. <p>Check whether a vector is null. </p>
  278. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00785.html" title="Include &lt;glm/gtx/vector_query.hpp&gt; to use the features of this extension. ">GLM_GTX_vector_query</a> extensions. </dd></dl>
  279. </div>
  280. </div>
  281. </div><!-- contents -->
  282. <!-- start footer part -->
  283. <hr class="footer"/><address class="footer"><small>
  284. Generated by &#160;<a href="http://www.doxygen.org/index.html">
  285. <img class="footer" src="doxygen.png" alt="doxygen"/>
  286. </a> 1.8.14
  287. </small></address>
  288. </body>
  289. </html>