Platformer in OpenGL
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

128 linhas
5.4 KiB

5 anos atrás
  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_exterior_product</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_exterior_product<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:gac36e72b934ea6a9dd313772d7e78fa93"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
  73. <tr class="memitem:gac36e72b934ea6a9dd313772d7e78fa93"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00739.html#gac36e72b934ea6a9dd313772d7e78fa93">cross</a> (vec&lt; 2, T, Q &gt; const &amp;v, vec&lt; 2, T, Q &gt; const &amp;u)</td></tr>
  74. <tr class="separator:gac36e72b934ea6a9dd313772d7e78fa93"><td class="memSeparator" colspan="2">&#160;</td></tr>
  75. </table>
  76. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  77. <p>Include &lt;<a class="el" href="a00482.html" title="GLM_GTX_exterior_product ">glm/gtx/exterior_product.hpp</a>&gt; to use the features of this extension. </p>
  78. <p>Allow to perform bit operations on integer values </p>
  79. <h2 class="groupheader">Function Documentation</h2>
  80. <a id="gac36e72b934ea6a9dd313772d7e78fa93"></a>
  81. <h2 class="memtitle"><span class="permalink"><a href="#gac36e72b934ea6a9dd313772d7e78fa93">&#9670;&nbsp;</a></span>cross()</h2>
  82. <div class="memitem">
  83. <div class="memproto">
  84. <table class="memname">
  85. <tr>
  86. <td class="memname">GLM_FUNC_DECL T glm::cross </td>
  87. <td>(</td>
  88. <td class="paramtype">vec&lt; 2, T, Q &gt; const &amp;&#160;</td>
  89. <td class="paramname"><em>v</em>, </td>
  90. </tr>
  91. <tr>
  92. <td class="paramkey"></td>
  93. <td></td>
  94. <td class="paramtype">vec&lt; 2, T, Q &gt; const &amp;&#160;</td>
  95. <td class="paramname"><em>u</em>&#160;</td>
  96. </tr>
  97. <tr>
  98. <td></td>
  99. <td>)</td>
  100. <td></td><td></td>
  101. </tr>
  102. </table>
  103. </div><div class="memdoc">
  104. <p>Returns the cross product of x and y. </p>
  105. <dl class="tparams"><dt>Template Parameters</dt><dd>
  106. <table class="tparams">
  107. <tr><td class="paramname">T</td><td>Floating-point scalar types </td></tr>
  108. <tr><td class="paramname">Q</td><td>Value from qualifier enum</td></tr>
  109. </table>
  110. </dd>
  111. </dl>
  112. <dl class="section see"><dt>See also</dt><dd><a href="https://en.wikipedia.org/wiki/Exterior_algebra#Cross_and_triple_products">Exterior product</a> </dd></dl>
  113. </div>
  114. </div>
  115. </div><!-- contents -->
  116. <!-- start footer part -->
  117. <hr class="footer"/><address class="footer"><small>
  118. Generated by &#160;<a href="http://www.doxygen.org/index.html">
  119. <img class="footer" src="doxygen.png" alt="doxygen"/>
  120. </a> 1.8.14
  121. </small></address>
  122. </body>
  123. </html>