_ray_a_a_box_8h.html 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=11"/>
  6. <meta name="generator" content="Doxygen 1.12.0"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>Jolt Physics: Jolt/Geometry/RayAABox.h File Reference</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. <script type="text/javascript" src="clipboard.js"></script>
  13. <link href="navtree.css" rel="stylesheet" type="text/css"/>
  14. <script type="text/javascript" src="navtreedata.js"></script>
  15. <script type="text/javascript" src="navtree.js"></script>
  16. <script type="text/javascript" src="resize.js"></script>
  17. <script type="text/javascript" src="cookie.js"></script>
  18. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  19. <script type="text/javascript" src="search/searchdata.js"></script>
  20. <script type="text/javascript" src="search/search.js"></script>
  21. <script type="text/x-mathjax-config">
  22. MathJax.Hub.Config({
  23. extensions: ["tex2jax.js"],
  24. jax: ["input/TeX","output/HTML-CSS"],
  25. });
  26. </script>
  27. <script type="text/javascript" async="async" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js"></script>
  28. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  29. </head>
  30. <body>
  31. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  32. <div id="titlearea">
  33. <table cellspacing="0" cellpadding="0">
  34. <tbody>
  35. <tr id="projectrow">
  36. <td id="projectlogo"><img alt="Logo" src="LogoSmall.png"/></td>
  37. <td id="projectalign">
  38. <div id="projectname">Jolt Physics
  39. </div>
  40. <div id="projectbrief">A multi core friendly Game Physics Engine</div>
  41. </td>
  42. </tr>
  43. </tbody>
  44. </table>
  45. </div>
  46. <!-- end header part -->
  47. <!-- Generated by Doxygen 1.12.0 -->
  48. <script type="text/javascript">
  49. /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
  50. var searchBox = new SearchBox("searchBox", "search/",'.html');
  51. /* @license-end */
  52. </script>
  53. <script type="text/javascript">
  54. /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
  55. $(function() { codefold.init(0); });
  56. /* @license-end */
  57. </script>
  58. <script type="text/javascript" src="menudata.js"></script>
  59. <script type="text/javascript" src="menu.js"></script>
  60. <script type="text/javascript">
  61. /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
  62. $(function() {
  63. initMenu('',true,false,'search.php','Search',true);
  64. $(function() { init_search(); });
  65. });
  66. /* @license-end */
  67. </script>
  68. <div id="main-nav"></div>
  69. </div><!-- top -->
  70. <div id="side-nav" class="ui-resizable side-nav-resizable">
  71. <div id="nav-tree">
  72. <div id="nav-tree-contents">
  73. <div id="nav-sync" class="sync"></div>
  74. </div>
  75. </div>
  76. <div id="splitbar" style="-moz-user-select:none;"
  77. class="ui-resizable-handle">
  78. </div>
  79. </div>
  80. <script type="text/javascript">
  81. /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
  82. $(function(){initNavTree('_ray_a_a_box_8h.html',''); initResizable(true); });
  83. /* @license-end */
  84. </script>
  85. <div id="doc-content">
  86. <!-- window showing the filter options -->
  87. <div id="MSearchSelectWindow"
  88. onmouseover="return searchBox.OnSearchSelectShow()"
  89. onmouseout="return searchBox.OnSearchSelectHide()"
  90. onkeydown="return searchBox.OnSearchSelectKey(event)">
  91. </div>
  92. <!-- iframe showing the search results (closed by default) -->
  93. <div id="MSearchResultsWindow">
  94. <div id="MSearchResults">
  95. <div class="SRPage">
  96. <div id="SRIndex">
  97. <div id="SRResults"></div>
  98. <div class="SRStatus" id="Loading">Loading...</div>
  99. <div class="SRStatus" id="Searching">Searching...</div>
  100. <div class="SRStatus" id="NoMatches">No Matches</div>
  101. </div>
  102. </div>
  103. </div>
  104. </div>
  105. <div class="header">
  106. <div class="summary">
  107. <a href="#nested-classes">Classes</a> &#124;
  108. <a href="#func-members">Functions</a> </div>
  109. <div class="headertitle"><div class="title">RayAABox.h File Reference</div></div>
  110. </div><!--header-->
  111. <div class="contents">
  112. <p><a href="_ray_a_a_box_8h_source.html">Go to the source code of this file.</a></p>
  113. <table class="memberdecls">
  114. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
  115. Classes</h2></td></tr>
  116. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ray_inv_direction.html">RayInvDirection</a></td></tr>
  117. <tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper structure holding the reciprocal of a ray for Ray vs <a class="el" href="class_a_a_box.html" title="Axis aligned box.">AABox</a> testing. <a href="class_ray_inv_direction.html#details">More...</a><br /></td></tr>
  118. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  119. </table><table class="memberdecls">
  120. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
  121. Functions</h2></td></tr>
  122. <tr class="memitem:afc8148e5f92f5793a720b3de6fb38094" id="r_afc8148e5f92f5793a720b3de6fb38094"><td class="memItemLeft" align="right" valign="top">JPH_INLINE float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#afc8148e5f92f5793a720b3de6fb38094">RayAABox</a> (<a class="el" href="_math_types_8h.html#a6bc57c31f15cea47640b580d03737c68">Vec3Arg</a> inOrigin, const <a class="el" href="class_ray_inv_direction.html">RayInvDirection</a> &amp;inInvDirection, <a class="el" href="_math_types_8h.html#a6bc57c31f15cea47640b580d03737c68">Vec3Arg</a> inBoundsMin, <a class="el" href="_math_types_8h.html#a6bc57c31f15cea47640b580d03737c68">Vec3Arg</a> inBoundsMax)</td></tr>
  123. <tr class="separator:afc8148e5f92f5793a720b3de6fb38094"><td class="memSeparator" colspan="2">&#160;</td></tr>
  124. <tr class="memitem:a47b273497f8309ea15797696f48f41ad" id="r_a47b273497f8309ea15797696f48f41ad"><td class="memItemLeft" align="right" valign="top">JPH_INLINE <a class="el" href="class_vec4.html">Vec4</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a47b273497f8309ea15797696f48f41ad">RayAABox4</a> (<a class="el" href="_math_types_8h.html#a6bc57c31f15cea47640b580d03737c68">Vec3Arg</a> inOrigin, const <a class="el" href="class_ray_inv_direction.html">RayInvDirection</a> &amp;inInvDirection, <a class="el" href="_math_types_8h.html#a2f6a6bbc069039fb4bc5813de8e77aa1">Vec4Arg</a> inBoundsMinX, <a class="el" href="_math_types_8h.html#a2f6a6bbc069039fb4bc5813de8e77aa1">Vec4Arg</a> inBoundsMinY, <a class="el" href="_math_types_8h.html#a2f6a6bbc069039fb4bc5813de8e77aa1">Vec4Arg</a> inBoundsMinZ, <a class="el" href="_math_types_8h.html#a2f6a6bbc069039fb4bc5813de8e77aa1">Vec4Arg</a> inBoundsMaxX, <a class="el" href="_math_types_8h.html#a2f6a6bbc069039fb4bc5813de8e77aa1">Vec4Arg</a> inBoundsMaxY, <a class="el" href="_math_types_8h.html#a2f6a6bbc069039fb4bc5813de8e77aa1">Vec4Arg</a> inBoundsMaxZ)</td></tr>
  125. <tr class="separator:a47b273497f8309ea15797696f48f41ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
  126. <tr class="memitem:ab0c5d92b5381f2045127c1c41fe1e3d9" id="r_ab0c5d92b5381f2045127c1c41fe1e3d9"><td class="memItemLeft" align="right" valign="top">JPH_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ab0c5d92b5381f2045127c1c41fe1e3d9">RayAABox</a> (<a class="el" href="_math_types_8h.html#a6bc57c31f15cea47640b580d03737c68">Vec3Arg</a> inOrigin, const <a class="el" href="class_ray_inv_direction.html">RayInvDirection</a> &amp;inInvDirection, <a class="el" href="_math_types_8h.html#a6bc57c31f15cea47640b580d03737c68">Vec3Arg</a> inBoundsMin, <a class="el" href="_math_types_8h.html#a6bc57c31f15cea47640b580d03737c68">Vec3Arg</a> inBoundsMax, float &amp;outMin, float &amp;outMax)</td></tr>
  127. <tr class="separator:ab0c5d92b5381f2045127c1c41fe1e3d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  128. <tr class="memitem:ad5c6851778bfb25190803b57f3b156fe" id="r_ad5c6851778bfb25190803b57f3b156fe"><td class="memItemLeft" align="right" valign="top">JPH_INLINE bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ad5c6851778bfb25190803b57f3b156fe">RayAABoxHits</a> (<a class="el" href="_math_types_8h.html#a6bc57c31f15cea47640b580d03737c68">Vec3Arg</a> inOrigin, const <a class="el" href="class_ray_inv_direction.html">RayInvDirection</a> &amp;inInvDirection, <a class="el" href="_math_types_8h.html#a6bc57c31f15cea47640b580d03737c68">Vec3Arg</a> inBoundsMin, <a class="el" href="_math_types_8h.html#a6bc57c31f15cea47640b580d03737c68">Vec3Arg</a> inBoundsMax, float inClosest)</td></tr>
  129. <tr class="memdesc:ad5c6851778bfb25190803b57f3b156fe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Intersect AABB with ray, returns true if there is a hit closer than inClosest. <br /></td></tr>
  130. <tr class="separator:ad5c6851778bfb25190803b57f3b156fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
  131. <tr class="memitem:a796855b2528b68631ec2a0e4e4a7e936" id="r_a796855b2528b68631ec2a0e4e4a7e936"><td class="memItemLeft" align="right" valign="top">JPH_INLINE bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a796855b2528b68631ec2a0e4e4a7e936">RayAABoxHits</a> (<a class="el" href="_math_types_8h.html#a6bc57c31f15cea47640b580d03737c68">Vec3Arg</a> inOrigin, <a class="el" href="_math_types_8h.html#a6bc57c31f15cea47640b580d03737c68">Vec3Arg</a> inDirection, <a class="el" href="_math_types_8h.html#a6bc57c31f15cea47640b580d03737c68">Vec3Arg</a> inBoundsMin, <a class="el" href="_math_types_8h.html#a6bc57c31f15cea47640b580d03737c68">Vec3Arg</a> inBoundsMax)</td></tr>
  132. <tr class="separator:a796855b2528b68631ec2a0e4e4a7e936"><td class="memSeparator" colspan="2">&#160;</td></tr>
  133. </table>
  134. <h2 class="groupheader">Function Documentation</h2>
  135. <a id="afc8148e5f92f5793a720b3de6fb38094" name="afc8148e5f92f5793a720b3de6fb38094"></a>
  136. <h2 class="memtitle"><span class="permalink"><a href="#afc8148e5f92f5793a720b3de6fb38094">&#9670;&#160;</a></span>RayAABox() <span class="overload">[1/2]</span></h2>
  137. <div class="memitem">
  138. <div class="memproto">
  139. <table class="memname">
  140. <tr>
  141. <td class="memname">JPH_INLINE float RayAABox </td>
  142. <td>(</td>
  143. <td class="paramtype"><a class="el" href="_math_types_8h.html#a6bc57c31f15cea47640b580d03737c68">Vec3Arg</a></td> <td class="paramname"><span class="paramname"><em>inOrigin</em></span>, </td>
  144. </tr>
  145. <tr>
  146. <td class="paramkey"></td>
  147. <td></td>
  148. <td class="paramtype">const <a class="el" href="class_ray_inv_direction.html">RayInvDirection</a> &amp;</td> <td class="paramname"><span class="paramname"><em>inInvDirection</em></span>, </td>
  149. </tr>
  150. <tr>
  151. <td class="paramkey"></td>
  152. <td></td>
  153. <td class="paramtype"><a class="el" href="_math_types_8h.html#a6bc57c31f15cea47640b580d03737c68">Vec3Arg</a></td> <td class="paramname"><span class="paramname"><em>inBoundsMin</em></span>, </td>
  154. </tr>
  155. <tr>
  156. <td class="paramkey"></td>
  157. <td></td>
  158. <td class="paramtype"><a class="el" href="_math_types_8h.html#a6bc57c31f15cea47640b580d03737c68">Vec3Arg</a></td> <td class="paramname"><span class="paramname"><em>inBoundsMax</em></span>&#160;)</td>
  159. </tr>
  160. </table>
  161. </div><div class="memdoc">
  162. <p>Intersect AABB with ray, returns minimal distance along ray or FLT_MAX if no hit Note: Can return negative value if ray starts in box </p>
  163. </div>
  164. </div>
  165. <a id="ab0c5d92b5381f2045127c1c41fe1e3d9" name="ab0c5d92b5381f2045127c1c41fe1e3d9"></a>
  166. <h2 class="memtitle"><span class="permalink"><a href="#ab0c5d92b5381f2045127c1c41fe1e3d9">&#9670;&#160;</a></span>RayAABox() <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">JPH_INLINE void RayAABox </td>
  172. <td>(</td>
  173. <td class="paramtype"><a class="el" href="_math_types_8h.html#a6bc57c31f15cea47640b580d03737c68">Vec3Arg</a></td> <td class="paramname"><span class="paramname"><em>inOrigin</em></span>, </td>
  174. </tr>
  175. <tr>
  176. <td class="paramkey"></td>
  177. <td></td>
  178. <td class="paramtype">const <a class="el" href="class_ray_inv_direction.html">RayInvDirection</a> &amp;</td> <td class="paramname"><span class="paramname"><em>inInvDirection</em></span>, </td>
  179. </tr>
  180. <tr>
  181. <td class="paramkey"></td>
  182. <td></td>
  183. <td class="paramtype"><a class="el" href="_math_types_8h.html#a6bc57c31f15cea47640b580d03737c68">Vec3Arg</a></td> <td class="paramname"><span class="paramname"><em>inBoundsMin</em></span>, </td>
  184. </tr>
  185. <tr>
  186. <td class="paramkey"></td>
  187. <td></td>
  188. <td class="paramtype"><a class="el" href="_math_types_8h.html#a6bc57c31f15cea47640b580d03737c68">Vec3Arg</a></td> <td class="paramname"><span class="paramname"><em>inBoundsMax</em></span>, </td>
  189. </tr>
  190. <tr>
  191. <td class="paramkey"></td>
  192. <td></td>
  193. <td class="paramtype">float &amp;</td> <td class="paramname"><span class="paramname"><em>outMin</em></span>, </td>
  194. </tr>
  195. <tr>
  196. <td class="paramkey"></td>
  197. <td></td>
  198. <td class="paramtype">float &amp;</td> <td class="paramname"><span class="paramname"><em>outMax</em></span>&#160;)</td>
  199. </tr>
  200. </table>
  201. </div><div class="memdoc">
  202. <p>Intersect AABB with ray, returns minimal and maximal distance along ray or FLT_MAX, -FLT_MAX if no hit Note: Can return negative value for outMin if ray starts in box </p>
  203. </div>
  204. </div>
  205. <a id="a47b273497f8309ea15797696f48f41ad" name="a47b273497f8309ea15797696f48f41ad"></a>
  206. <h2 class="memtitle"><span class="permalink"><a href="#a47b273497f8309ea15797696f48f41ad">&#9670;&#160;</a></span>RayAABox4()</h2>
  207. <div class="memitem">
  208. <div class="memproto">
  209. <table class="memname">
  210. <tr>
  211. <td class="memname">JPH_INLINE <a class="el" href="class_vec4.html">Vec4</a> RayAABox4 </td>
  212. <td>(</td>
  213. <td class="paramtype"><a class="el" href="_math_types_8h.html#a6bc57c31f15cea47640b580d03737c68">Vec3Arg</a></td> <td class="paramname"><span class="paramname"><em>inOrigin</em></span>, </td>
  214. </tr>
  215. <tr>
  216. <td class="paramkey"></td>
  217. <td></td>
  218. <td class="paramtype">const <a class="el" href="class_ray_inv_direction.html">RayInvDirection</a> &amp;</td> <td class="paramname"><span class="paramname"><em>inInvDirection</em></span>, </td>
  219. </tr>
  220. <tr>
  221. <td class="paramkey"></td>
  222. <td></td>
  223. <td class="paramtype"><a class="el" href="_math_types_8h.html#a2f6a6bbc069039fb4bc5813de8e77aa1">Vec4Arg</a></td> <td class="paramname"><span class="paramname"><em>inBoundsMinX</em></span>, </td>
  224. </tr>
  225. <tr>
  226. <td class="paramkey"></td>
  227. <td></td>
  228. <td class="paramtype"><a class="el" href="_math_types_8h.html#a2f6a6bbc069039fb4bc5813de8e77aa1">Vec4Arg</a></td> <td class="paramname"><span class="paramname"><em>inBoundsMinY</em></span>, </td>
  229. </tr>
  230. <tr>
  231. <td class="paramkey"></td>
  232. <td></td>
  233. <td class="paramtype"><a class="el" href="_math_types_8h.html#a2f6a6bbc069039fb4bc5813de8e77aa1">Vec4Arg</a></td> <td class="paramname"><span class="paramname"><em>inBoundsMinZ</em></span>, </td>
  234. </tr>
  235. <tr>
  236. <td class="paramkey"></td>
  237. <td></td>
  238. <td class="paramtype"><a class="el" href="_math_types_8h.html#a2f6a6bbc069039fb4bc5813de8e77aa1">Vec4Arg</a></td> <td class="paramname"><span class="paramname"><em>inBoundsMaxX</em></span>, </td>
  239. </tr>
  240. <tr>
  241. <td class="paramkey"></td>
  242. <td></td>
  243. <td class="paramtype"><a class="el" href="_math_types_8h.html#a2f6a6bbc069039fb4bc5813de8e77aa1">Vec4Arg</a></td> <td class="paramname"><span class="paramname"><em>inBoundsMaxY</em></span>, </td>
  244. </tr>
  245. <tr>
  246. <td class="paramkey"></td>
  247. <td></td>
  248. <td class="paramtype"><a class="el" href="_math_types_8h.html#a2f6a6bbc069039fb4bc5813de8e77aa1">Vec4Arg</a></td> <td class="paramname"><span class="paramname"><em>inBoundsMaxZ</em></span>&#160;)</td>
  249. </tr>
  250. </table>
  251. </div><div class="memdoc">
  252. <p>Intersect 4 AABBs with ray, returns minimal distance along ray or FLT_MAX if no hit Note: Can return negative value if ray starts in box </p>
  253. </div>
  254. </div>
  255. <a id="ad5c6851778bfb25190803b57f3b156fe" name="ad5c6851778bfb25190803b57f3b156fe"></a>
  256. <h2 class="memtitle"><span class="permalink"><a href="#ad5c6851778bfb25190803b57f3b156fe">&#9670;&#160;</a></span>RayAABoxHits() <span class="overload">[1/2]</span></h2>
  257. <div class="memitem">
  258. <div class="memproto">
  259. <table class="memname">
  260. <tr>
  261. <td class="memname">JPH_INLINE bool RayAABoxHits </td>
  262. <td>(</td>
  263. <td class="paramtype"><a class="el" href="_math_types_8h.html#a6bc57c31f15cea47640b580d03737c68">Vec3Arg</a></td> <td class="paramname"><span class="paramname"><em>inOrigin</em></span>, </td>
  264. </tr>
  265. <tr>
  266. <td class="paramkey"></td>
  267. <td></td>
  268. <td class="paramtype">const <a class="el" href="class_ray_inv_direction.html">RayInvDirection</a> &amp;</td> <td class="paramname"><span class="paramname"><em>inInvDirection</em></span>, </td>
  269. </tr>
  270. <tr>
  271. <td class="paramkey"></td>
  272. <td></td>
  273. <td class="paramtype"><a class="el" href="_math_types_8h.html#a6bc57c31f15cea47640b580d03737c68">Vec3Arg</a></td> <td class="paramname"><span class="paramname"><em>inBoundsMin</em></span>, </td>
  274. </tr>
  275. <tr>
  276. <td class="paramkey"></td>
  277. <td></td>
  278. <td class="paramtype"><a class="el" href="_math_types_8h.html#a6bc57c31f15cea47640b580d03737c68">Vec3Arg</a></td> <td class="paramname"><span class="paramname"><em>inBoundsMax</em></span>, </td>
  279. </tr>
  280. <tr>
  281. <td class="paramkey"></td>
  282. <td></td>
  283. <td class="paramtype">float</td> <td class="paramname"><span class="paramname"><em>inClosest</em></span>&#160;)</td>
  284. </tr>
  285. </table>
  286. </div><div class="memdoc">
  287. <p>Intersect AABB with ray, returns true if there is a hit closer than inClosest. </p>
  288. </div>
  289. </div>
  290. <a id="a796855b2528b68631ec2a0e4e4a7e936" name="a796855b2528b68631ec2a0e4e4a7e936"></a>
  291. <h2 class="memtitle"><span class="permalink"><a href="#a796855b2528b68631ec2a0e4e4a7e936">&#9670;&#160;</a></span>RayAABoxHits() <span class="overload">[2/2]</span></h2>
  292. <div class="memitem">
  293. <div class="memproto">
  294. <table class="memname">
  295. <tr>
  296. <td class="memname">JPH_INLINE bool RayAABoxHits </td>
  297. <td>(</td>
  298. <td class="paramtype"><a class="el" href="_math_types_8h.html#a6bc57c31f15cea47640b580d03737c68">Vec3Arg</a></td> <td class="paramname"><span class="paramname"><em>inOrigin</em></span>, </td>
  299. </tr>
  300. <tr>
  301. <td class="paramkey"></td>
  302. <td></td>
  303. <td class="paramtype"><a class="el" href="_math_types_8h.html#a6bc57c31f15cea47640b580d03737c68">Vec3Arg</a></td> <td class="paramname"><span class="paramname"><em>inDirection</em></span>, </td>
  304. </tr>
  305. <tr>
  306. <td class="paramkey"></td>
  307. <td></td>
  308. <td class="paramtype"><a class="el" href="_math_types_8h.html#a6bc57c31f15cea47640b580d03737c68">Vec3Arg</a></td> <td class="paramname"><span class="paramname"><em>inBoundsMin</em></span>, </td>
  309. </tr>
  310. <tr>
  311. <td class="paramkey"></td>
  312. <td></td>
  313. <td class="paramtype"><a class="el" href="_math_types_8h.html#a6bc57c31f15cea47640b580d03737c68">Vec3Arg</a></td> <td class="paramname"><span class="paramname"><em>inBoundsMax</em></span>&#160;)</td>
  314. </tr>
  315. </table>
  316. </div><div class="memdoc">
  317. <p>Intersect AABB with ray without hit fraction, based on separating axis test </p><dl class="section see"><dt>See also</dt><dd><a href="http://www.codercorner.com/RayAABB.cpp">http://www.codercorner.com/RayAABB.cpp</a> </dd></dl>
  318. </div>
  319. </div>
  320. </div><!-- contents -->
  321. </div><!-- doc-content -->
  322. <!-- start footer part -->
  323. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  324. <ul>
  325. <li class="navelem"><a class="el" href="dir_d99289a5d3c46cf26f14ff6c90658d9f.html">Jolt</a></li><li class="navelem"><a class="el" href="dir_2d88bf03bf4a7a62918727c0f2ee34eb.html">Geometry</a></li><li class="navelem"><a class="el" href="_ray_a_a_box_8h.html">RayAABox.h</a></li>
  326. <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0 </li>
  327. </ul>
  328. </div>
  329. </body>
  330. </html>