Platformer in OpenGL
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

288 Zeilen
13 KiB

vor 5 Jahren
  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_fast_trigonometry</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_fast_trigonometry<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:ga9721d63356e5d94fdc4b393a426ab26b"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  73. <tr class="memitem:ga9721d63356e5d94fdc4b393a426ab26b"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00742.html#ga9721d63356e5d94fdc4b393a426ab26b">fastAcos</a> (T angle)</td></tr>
  74. <tr class="separator:ga9721d63356e5d94fdc4b393a426ab26b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  75. <tr class="memitem:ga562cb62c51fbfe7fac7db0bce706b81f"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  76. <tr class="memitem:ga562cb62c51fbfe7fac7db0bce706b81f"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00742.html#ga562cb62c51fbfe7fac7db0bce706b81f">fastAsin</a> (T angle)</td></tr>
  77. <tr class="separator:ga562cb62c51fbfe7fac7db0bce706b81f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  78. <tr class="memitem:ga8d197c6ef564f5e5d59af3b3f8adcc2c"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  79. <tr class="memitem:ga8d197c6ef564f5e5d59af3b3f8adcc2c"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00742.html#ga8d197c6ef564f5e5d59af3b3f8adcc2c">fastAtan</a> (T y, T x)</td></tr>
  80. <tr class="separator:ga8d197c6ef564f5e5d59af3b3f8adcc2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  81. <tr class="memitem:gae25de86a968490ff56856fa425ec9d30"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  82. <tr class="memitem:gae25de86a968490ff56856fa425ec9d30"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00742.html#gae25de86a968490ff56856fa425ec9d30">fastAtan</a> (T angle)</td></tr>
  83. <tr class="separator:gae25de86a968490ff56856fa425ec9d30"><td class="memSeparator" colspan="2">&#160;</td></tr>
  84. <tr class="memitem:gab34c8b45c23c0165a64dcecfcc3b302a"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  85. <tr class="memitem:gab34c8b45c23c0165a64dcecfcc3b302a"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00742.html#gab34c8b45c23c0165a64dcecfcc3b302a">fastCos</a> (T angle)</td></tr>
  86. <tr class="separator:gab34c8b45c23c0165a64dcecfcc3b302a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  87. <tr class="memitem:ga0aab3257bb3b628d10a1e0483e2c6915"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  88. <tr class="memitem:ga0aab3257bb3b628d10a1e0483e2c6915"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00742.html#ga0aab3257bb3b628d10a1e0483e2c6915">fastSin</a> (T angle)</td></tr>
  89. <tr class="separator:ga0aab3257bb3b628d10a1e0483e2c6915"><td class="memSeparator" colspan="2">&#160;</td></tr>
  90. <tr class="memitem:gaf29b9c1101a10007b4f79ee89df27ba2"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  91. <tr class="memitem:gaf29b9c1101a10007b4f79ee89df27ba2"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00742.html#gaf29b9c1101a10007b4f79ee89df27ba2">fastTan</a> (T angle)</td></tr>
  92. <tr class="separator:gaf29b9c1101a10007b4f79ee89df27ba2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  93. <tr class="memitem:ga069527c6dbd64f53435b8ebc4878b473"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  94. <tr class="memitem:ga069527c6dbd64f53435b8ebc4878b473"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00742.html#ga069527c6dbd64f53435b8ebc4878b473">wrapAngle</a> (T angle)</td></tr>
  95. <tr class="separator:ga069527c6dbd64f53435b8ebc4878b473"><td class="memSeparator" colspan="2">&#160;</td></tr>
  96. </table>
  97. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  98. <p>Include &lt;<a class="el" href="a00491.html" title="GLM_GTX_fast_trigonometry ">glm/gtx/fast_trigonometry.hpp</a>&gt; to use the features of this extension. </p>
  99. <p>Fast but less accurate implementations of trigonometric functions. </p>
  100. <h2 class="groupheader">Function Documentation</h2>
  101. <a id="ga9721d63356e5d94fdc4b393a426ab26b"></a>
  102. <h2 class="memtitle"><span class="permalink"><a href="#ga9721d63356e5d94fdc4b393a426ab26b">&#9670;&nbsp;</a></span>fastAcos()</h2>
  103. <div class="memitem">
  104. <div class="memproto">
  105. <table class="memname">
  106. <tr>
  107. <td class="memname">GLM_FUNC_DECL T glm::fastAcos </td>
  108. <td>(</td>
  109. <td class="paramtype">T&#160;</td>
  110. <td class="paramname"><em>angle</em></td><td>)</td>
  111. <td></td>
  112. </tr>
  113. </table>
  114. </div><div class="memdoc">
  115. <p>Faster than the common acos function but less accurate. </p>
  116. <p>Defined between -2pi and 2pi. From GLM_GTX_fast_trigonometry extension. </p>
  117. </div>
  118. </div>
  119. <a id="ga562cb62c51fbfe7fac7db0bce706b81f"></a>
  120. <h2 class="memtitle"><span class="permalink"><a href="#ga562cb62c51fbfe7fac7db0bce706b81f">&#9670;&nbsp;</a></span>fastAsin()</h2>
  121. <div class="memitem">
  122. <div class="memproto">
  123. <table class="memname">
  124. <tr>
  125. <td class="memname">GLM_FUNC_DECL T glm::fastAsin </td>
  126. <td>(</td>
  127. <td class="paramtype">T&#160;</td>
  128. <td class="paramname"><em>angle</em></td><td>)</td>
  129. <td></td>
  130. </tr>
  131. </table>
  132. </div><div class="memdoc">
  133. <p>Faster than the common asin function but less accurate. </p>
  134. <p>Defined between -2pi and 2pi. From GLM_GTX_fast_trigonometry extension. </p>
  135. </div>
  136. </div>
  137. <a id="ga8d197c6ef564f5e5d59af3b3f8adcc2c"></a>
  138. <h2 class="memtitle"><span class="permalink"><a href="#ga8d197c6ef564f5e5d59af3b3f8adcc2c">&#9670;&nbsp;</a></span>fastAtan() <span class="overload">[1/2]</span></h2>
  139. <div class="memitem">
  140. <div class="memproto">
  141. <table class="memname">
  142. <tr>
  143. <td class="memname">GLM_FUNC_DECL T glm::fastAtan </td>
  144. <td>(</td>
  145. <td class="paramtype">T&#160;</td>
  146. <td class="paramname"><em>y</em>, </td>
  147. </tr>
  148. <tr>
  149. <td class="paramkey"></td>
  150. <td></td>
  151. <td class="paramtype">T&#160;</td>
  152. <td class="paramname"><em>x</em>&#160;</td>
  153. </tr>
  154. <tr>
  155. <td></td>
  156. <td>)</td>
  157. <td></td><td></td>
  158. </tr>
  159. </table>
  160. </div><div class="memdoc">
  161. <p>Faster than the common atan function but less accurate. </p>
  162. <p>Defined between -2pi and 2pi. From GLM_GTX_fast_trigonometry extension. </p>
  163. </div>
  164. </div>
  165. <a id="gae25de86a968490ff56856fa425ec9d30"></a>
  166. <h2 class="memtitle"><span class="permalink"><a href="#gae25de86a968490ff56856fa425ec9d30">&#9670;&nbsp;</a></span>fastAtan() <span class="overload">[2/2]</span></h2>
  167. <div class="memitem">
  168. <div class="memproto">
  169. <table class="memname">
  170. <tr>
  171. <td class="memname">GLM_FUNC_DECL T glm::fastAtan </td>
  172. <td>(</td>
  173. <td class="paramtype">T&#160;</td>
  174. <td class="paramname"><em>angle</em></td><td>)</td>
  175. <td></td>
  176. </tr>
  177. </table>
  178. </div><div class="memdoc">
  179. <p>Faster than the common atan function but less accurate. </p>
  180. <p>Defined between -2pi and 2pi. From GLM_GTX_fast_trigonometry extension. </p>
  181. </div>
  182. </div>
  183. <a id="gab34c8b45c23c0165a64dcecfcc3b302a"></a>
  184. <h2 class="memtitle"><span class="permalink"><a href="#gab34c8b45c23c0165a64dcecfcc3b302a">&#9670;&nbsp;</a></span>fastCos()</h2>
  185. <div class="memitem">
  186. <div class="memproto">
  187. <table class="memname">
  188. <tr>
  189. <td class="memname">GLM_FUNC_DECL T glm::fastCos </td>
  190. <td>(</td>
  191. <td class="paramtype">T&#160;</td>
  192. <td class="paramname"><em>angle</em></td><td>)</td>
  193. <td></td>
  194. </tr>
  195. </table>
  196. </div><div class="memdoc">
  197. <p>Faster than the common cos function but less accurate. </p>
  198. <p>From GLM_GTX_fast_trigonometry extension. </p>
  199. </div>
  200. </div>
  201. <a id="ga0aab3257bb3b628d10a1e0483e2c6915"></a>
  202. <h2 class="memtitle"><span class="permalink"><a href="#ga0aab3257bb3b628d10a1e0483e2c6915">&#9670;&nbsp;</a></span>fastSin()</h2>
  203. <div class="memitem">
  204. <div class="memproto">
  205. <table class="memname">
  206. <tr>
  207. <td class="memname">GLM_FUNC_DECL T glm::fastSin </td>
  208. <td>(</td>
  209. <td class="paramtype">T&#160;</td>
  210. <td class="paramname"><em>angle</em></td><td>)</td>
  211. <td></td>
  212. </tr>
  213. </table>
  214. </div><div class="memdoc">
  215. <p>Faster than the common sin function but less accurate. </p>
  216. <p>From GLM_GTX_fast_trigonometry extension. </p>
  217. </div>
  218. </div>
  219. <a id="gaf29b9c1101a10007b4f79ee89df27ba2"></a>
  220. <h2 class="memtitle"><span class="permalink"><a href="#gaf29b9c1101a10007b4f79ee89df27ba2">&#9670;&nbsp;</a></span>fastTan()</h2>
  221. <div class="memitem">
  222. <div class="memproto">
  223. <table class="memname">
  224. <tr>
  225. <td class="memname">GLM_FUNC_DECL T glm::fastTan </td>
  226. <td>(</td>
  227. <td class="paramtype">T&#160;</td>
  228. <td class="paramname"><em>angle</em></td><td>)</td>
  229. <td></td>
  230. </tr>
  231. </table>
  232. </div><div class="memdoc">
  233. <p>Faster than the common tan function but less accurate. </p>
  234. <p>Defined between -2pi and 2pi. From GLM_GTX_fast_trigonometry extension. </p>
  235. </div>
  236. </div>
  237. <a id="ga069527c6dbd64f53435b8ebc4878b473"></a>
  238. <h2 class="memtitle"><span class="permalink"><a href="#ga069527c6dbd64f53435b8ebc4878b473">&#9670;&nbsp;</a></span>wrapAngle()</h2>
  239. <div class="memitem">
  240. <div class="memproto">
  241. <table class="memname">
  242. <tr>
  243. <td class="memname">GLM_FUNC_DECL T glm::wrapAngle </td>
  244. <td>(</td>
  245. <td class="paramtype">T&#160;</td>
  246. <td class="paramname"><em>angle</em></td><td>)</td>
  247. <td></td>
  248. </tr>
  249. </table>
  250. </div><div class="memdoc">
  251. <p>Wrap an angle to [0 2pi[ From GLM_GTX_fast_trigonometry extension. </p>
  252. </div>
  253. </div>
  254. </div><!-- contents -->
  255. <!-- start footer part -->
  256. <hr class="footer"/><address class="footer"><small>
  257. Generated by &#160;<a href="http://www.doxygen.org/index.html">
  258. <img class="footer" src="doxygen.png" alt="doxygen"/>
  259. </a> 1.8.14
  260. </small></address>
  261. </body>
  262. </html>