Platformer in OpenGL
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

175 řádky
8.5 KiB

před 5 roky
  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_transform</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_transform<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:gaf599be4c0e9d99be1f9cddba79b6018b"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
  73. <tr class="memitem:gaf599be4c0e9d99be1f9cddba79b6018b"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00779.html#gaf599be4c0e9d99be1f9cddba79b6018b">rotate</a> (T angle, vec&lt; 3, T, Q &gt; const &amp;v)</td></tr>
  74. <tr class="separator:gaf599be4c0e9d99be1f9cddba79b6018b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  75. <tr class="memitem:gafbeefee8fec884d566e4ada0049174d7"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
  76. <tr class="memitem:gafbeefee8fec884d566e4ada0049174d7"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00779.html#gafbeefee8fec884d566e4ada0049174d7">scale</a> (vec&lt; 3, T, Q &gt; const &amp;v)</td></tr>
  77. <tr class="separator:gafbeefee8fec884d566e4ada0049174d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  78. <tr class="memitem:ga309a30e652e58c396e2c3d4db3ee7658"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
  79. <tr class="memitem:ga309a30e652e58c396e2c3d4db3ee7658"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00779.html#ga309a30e652e58c396e2c3d4db3ee7658">translate</a> (vec&lt; 3, T, Q &gt; const &amp;v)</td></tr>
  80. <tr class="separator:ga309a30e652e58c396e2c3d4db3ee7658"><td class="memSeparator" colspan="2">&#160;</td></tr>
  81. </table>
  82. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  83. <p>Include &lt;<a class="el" href="a00596.html" title="GLM_GTX_transform ">glm/gtx/transform.hpp</a>&gt; to use the features of this extension. </p>
  84. <p>Add transformation matrices </p>
  85. <h2 class="groupheader">Function Documentation</h2>
  86. <a id="gaf599be4c0e9d99be1f9cddba79b6018b"></a>
  87. <h2 class="memtitle"><span class="permalink"><a href="#gaf599be4c0e9d99be1f9cddba79b6018b">&#9670;&nbsp;</a></span>rotate()</h2>
  88. <div class="memitem">
  89. <div class="memproto">
  90. <table class="memname">
  91. <tr>
  92. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, Q&gt; glm::rotate </td>
  93. <td>(</td>
  94. <td class="paramtype">T&#160;</td>
  95. <td class="paramname"><em>angle</em>, </td>
  96. </tr>
  97. <tr>
  98. <td class="paramkey"></td>
  99. <td></td>
  100. <td class="paramtype">vec&lt; 3, T, Q &gt; const &amp;&#160;</td>
  101. <td class="paramname"><em>v</em>&#160;</td>
  102. </tr>
  103. <tr>
  104. <td></td>
  105. <td>)</td>
  106. <td></td><td></td>
  107. </tr>
  108. </table>
  109. </div><div class="memdoc">
  110. <p>Builds a rotation 4 * 4 matrix created from an axis of 3 scalars and an angle expressed in radians. </p>
  111. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00714.html" title="Include &lt;glm/gtc/matrix_transform.hpp&gt; to use the features of this extension. ">GLM_GTC_matrix_transform</a> </dd>
  112. <dd>
  113. <a class="el" href="a00779.html" title="Include &lt;glm/gtx/transform.hpp&gt; to use the features of this extension. ">GLM_GTX_transform</a> </dd></dl>
  114. </div>
  115. </div>
  116. <a id="gafbeefee8fec884d566e4ada0049174d7"></a>
  117. <h2 class="memtitle"><span class="permalink"><a href="#gafbeefee8fec884d566e4ada0049174d7">&#9670;&nbsp;</a></span>scale()</h2>
  118. <div class="memitem">
  119. <div class="memproto">
  120. <table class="memname">
  121. <tr>
  122. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, Q&gt; glm::scale </td>
  123. <td>(</td>
  124. <td class="paramtype">vec&lt; 3, T, 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>Transforms a matrix with a scale 4 * 4 matrix created from a vector of 3 components. </p>
  131. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00714.html" title="Include &lt;glm/gtc/matrix_transform.hpp&gt; to use the features of this extension. ">GLM_GTC_matrix_transform</a> </dd>
  132. <dd>
  133. <a class="el" href="a00779.html" title="Include &lt;glm/gtx/transform.hpp&gt; to use the features of this extension. ">GLM_GTX_transform</a> </dd></dl>
  134. </div>
  135. </div>
  136. <a id="ga309a30e652e58c396e2c3d4db3ee7658"></a>
  137. <h2 class="memtitle"><span class="permalink"><a href="#ga309a30e652e58c396e2c3d4db3ee7658">&#9670;&nbsp;</a></span>translate()</h2>
  138. <div class="memitem">
  139. <div class="memproto">
  140. <table class="memname">
  141. <tr>
  142. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, Q&gt; glm::translate </td>
  143. <td>(</td>
  144. <td class="paramtype">vec&lt; 3, T, Q &gt; const &amp;&#160;</td>
  145. <td class="paramname"><em>v</em></td><td>)</td>
  146. <td></td>
  147. </tr>
  148. </table>
  149. </div><div class="memdoc">
  150. <p>Transforms a matrix with a translation 4 * 4 matrix created from 3 scalars. </p>
  151. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00714.html" title="Include &lt;glm/gtc/matrix_transform.hpp&gt; to use the features of this extension. ">GLM_GTC_matrix_transform</a> </dd>
  152. <dd>
  153. <a class="el" href="a00779.html" title="Include &lt;glm/gtx/transform.hpp&gt; to use the features of this extension. ">GLM_GTX_transform</a> </dd></dl>
  154. </div>
  155. </div>
  156. </div><!-- contents -->
  157. <!-- start footer part -->
  158. <hr class="footer"/><address class="footer"><small>
  159. Generated by &#160;<a href="http://www.doxygen.org/index.html">
  160. <img class="footer" src="doxygen.png" alt="doxygen"/>
  161. </a> 1.8.14
  162. </small></address>
  163. </body>
  164. </html>