| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
- <head>
- <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
- <meta http-equiv="X-UA-Compatible" content="IE=11"/>
- <meta name="generator" content="Doxygen 1.12.0"/>
- <meta name="viewport" content="width=device-width, initial-scale=1"/>
- <title>Jolt Physics: Jolt/Physics/Collision/Shape/EmptyShape.h Source File</title>
- <link href="tabs.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="jquery.js"></script>
- <script type="text/javascript" src="dynsections.js"></script>
- <script type="text/javascript" src="clipboard.js"></script>
- <link href="navtree.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="navtreedata.js"></script>
- <script type="text/javascript" src="navtree.js"></script>
- <script type="text/javascript" src="resize.js"></script>
- <script type="text/javascript" src="cookie.js"></script>
- <link href="search/search.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="search/searchdata.js"></script>
- <script type="text/javascript" src="search/search.js"></script>
- <script type="text/x-mathjax-config">
- MathJax.Hub.Config({
- extensions: ["tex2jax.js"],
- jax: ["input/TeX","output/HTML-CSS"],
- });
- </script>
- <script type="text/javascript" async="async" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js"></script>
- <link href="doxygen.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
- <div id="titlearea">
- <table cellspacing="0" cellpadding="0">
- <tbody>
- <tr id="projectrow">
- <td id="projectlogo"><img alt="Logo" src="LogoSmall.png"/></td>
- <td id="projectalign">
- <div id="projectname">Jolt Physics
- </div>
- <div id="projectbrief">A multi core friendly Game Physics Engine</div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <!-- end header part -->
- <!-- Generated by Doxygen 1.12.0 -->
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
- var searchBox = new SearchBox("searchBox", "search/",'.html');
- /* @license-end */
- </script>
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
- $(function() { codefold.init(0); });
- /* @license-end */
- </script>
- <script type="text/javascript" src="menudata.js"></script>
- <script type="text/javascript" src="menu.js"></script>
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
- $(function() {
- initMenu('',true,false,'search.php','Search',true);
- $(function() { init_search(); });
- });
- /* @license-end */
- </script>
- <div id="main-nav"></div>
- </div><!-- top -->
- <div id="side-nav" class="ui-resizable side-nav-resizable">
- <div id="nav-tree">
- <div id="nav-tree-contents">
- <div id="nav-sync" class="sync"></div>
- </div>
- </div>
- <div id="splitbar" style="-moz-user-select:none;"
- class="ui-resizable-handle">
- </div>
- </div>
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
- $(function(){initNavTree('_empty_shape_8h_source.html',''); initResizable(true); });
- /* @license-end */
- </script>
- <div id="doc-content">
- <!-- window showing the filter options -->
- <div id="MSearchSelectWindow"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- onkeydown="return searchBox.OnSearchSelectKey(event)">
- </div>
- <!-- iframe showing the search results (closed by default) -->
- <div id="MSearchResultsWindow">
- <div id="MSearchResults">
- <div class="SRPage">
- <div id="SRIndex">
- <div id="SRResults"></div>
- <div class="SRStatus" id="Loading">Loading...</div>
- <div class="SRStatus" id="Searching">Searching...</div>
- <div class="SRStatus" id="NoMatches">No Matches</div>
- </div>
- </div>
- </div>
- </div>
- <div class="header">
- <div class="headertitle"><div class="title">EmptyShape.h</div></div>
- </div><!--header-->
- <div class="contents">
- <a href="_empty_shape_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="comment">// Jolt Physics Library (https://github.com/jrouwe/JoltPhysics)</span></div>
- <div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment">// SPDX-FileCopyrightText: 2024 Jorrit Rouwe</span></div>
- <div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="comment">// SPDX-License-Identifier: MIT</span></div>
- <div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span> </div>
- <div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="preprocessor">#pragma once</span></div>
- <div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span> </div>
- <div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="preprocessor">#include <<a class="code" href="_shape_8h.html">Jolt/Physics/Collision/Shape/Shape.h</a>></span></div>
- <div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#include <<a class="code" href="_physics_material_8h.html">Jolt/Physics/Collision/PhysicsMaterial.h</a>></span></div>
- <div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span> </div>
- <div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><a class="code hl_define" href="_core_8h.html#ad14098b68b8c44ea6112601031268405">JPH_NAMESPACE_BEGIN</a></div>
- <div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span> </div>
- <div class="foldopen" id="foldopen00013" data-start="{" data-end="};">
- <div class="line"><a id="l00013" name="l00013"></a><span class="lineno"><a class="line" href="class_empty_shape_settings.html"> 13</a></span><span class="keyword">class </span><a class="code hl_define" href="_core_8h.html#a2712a9b0f778ab9d1aa5118b4e8e6bd8">JPH_EXPORT</a> <a class="code hl_class" href="class_empty_shape_settings.html">EmptyShapeSettings</a> final : <span class="keyword">public</span> <a class="code hl_class" href="class_shape_settings.html">ShapeSettings</a></div>
- <div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span>{</div>
- <div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span> <a class="code hl_define" href="_serializable_object_8h.html#ad80cbee2b256f570ee204534dec05da4">JPH_DECLARE_SERIALIZABLE_VIRTUAL</a>(<a class="code hl_define" href="_core_8h.html#a2712a9b0f778ab9d1aa5118b4e8e6bd8">JPH_EXPORT</a>, <a class="code hl_class" href="class_empty_shape_settings.html">EmptyShapeSettings</a>)</div>
- <div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span> </div>
- <div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="keyword">public</span>:</div>
- <div class="line"><a id="l00018" name="l00018"></a><span class="lineno"><a class="line" href="class_empty_shape_settings.html#a3ff04fcd2ab15c28f068b250ea75265d"> 18</a></span> <a class="code hl_function" href="class_empty_shape_settings.html#a3ff04fcd2ab15c28f068b250ea75265d">EmptyShapeSettings</a>() = <span class="keywordflow">default</span>;</div>
- <div class="line"><a id="l00019" name="l00019"></a><span class="lineno"><a class="line" href="class_empty_shape_settings.html#abe3f90a6756362e7bbf6d29c2e60ec6c"> 19</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="class_empty_shape_settings.html#abe3f90a6756362e7bbf6d29c2e60ec6c">EmptyShapeSettings</a>(<a class="code hl_class" href="class_vec3.html">Vec3Arg</a> inCenterOfMass) : mCenterOfMass(inCenterOfMass) { }</div>
- <div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> </div>
- <div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> ShapeResult <a class="code hl_function" href="class_shape_settings.html#a21e53b5758542a5527c7941d61d838fa">Create</a>() <span class="keyword">const override</span>;</div>
- <div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> </div>
- <div class="line"><a id="l00023" name="l00023"></a><span class="lineno"><a class="line" href="class_empty_shape_settings.html#adf956078b31de6d6e17fa286eaa4eec2"> 23</a></span> <a class="code hl_class" href="class_vec3.html">Vec3</a> mCenterOfMass = <a class="code hl_function" href="class_vec3.html#ad03c52ab27761bc1e64e33c47632ba51">Vec3::sZero</a>(); </div>
- <div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span>};</div>
- </div>
- <div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> </div>
- <div class="foldopen" id="foldopen00034" data-start="{" data-end="};">
- <div class="line"><a id="l00034" name="l00034"></a><span class="lineno"><a class="line" href="class_empty_shape.html"> 34</a></span><span class="keyword">class </span><a class="code hl_define" href="_core_8h.html#a2712a9b0f778ab9d1aa5118b4e8e6bd8">JPH_EXPORT</a> <a class="code hl_class" href="class_empty_shape.html">EmptyShape</a> final : <span class="keyword">public</span> <a class="code hl_class" href="class_shape.html">Shape</a></div>
- <div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span>{</div>
- <div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span><span class="keyword">public</span>:</div>
- <div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> <span class="comment">// Constructor</span></div>
- <div class="line"><a id="l00038" name="l00038"></a><span class="lineno"><a class="line" href="class_empty_shape.html#a4a04fa376b63eb8b3a765f8fda6971ee"> 38</a></span> <a class="code hl_function" href="class_empty_shape.html#a4a04fa376b63eb8b3a765f8fda6971ee">EmptyShape</a>() : <a class="code hl_class" href="class_shape.html">Shape</a>(<a class="code hl_enumeration" href="_shape_8h.html#ad64a1c665070a3100e456e54073554a5">EShapeType</a>::<a class="code hl_enumvalue" href="_shape_8h.html#ad64a1c665070a3100e456e54073554a5ace2c8aed9c2fa0cfbed56cbda4d8bf07">Empty</a>, <a class="code hl_enumeration" href="_shape_8h.html#aa332e0529e75b83aad91881c8d32551b">EShapeSubType</a>::<a class="code hl_enumvalue" href="_shape_8h.html#ad64a1c665070a3100e456e54073554a5ace2c8aed9c2fa0cfbed56cbda4d8bf07">Empty</a>) { }</div>
- <div class="line"><a id="l00039" name="l00039"></a><span class="lineno"><a class="line" href="class_empty_shape.html#aae59a4d60010e1e96b17ccee1fe5bc86"> 39</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="class_empty_shape.html#aae59a4d60010e1e96b17ccee1fe5bc86">EmptyShape</a>(<a class="code hl_class" href="class_vec3.html">Vec3Arg</a> inCenterOfMass) : <a class="code hl_class" href="class_shape.html">Shape</a>(<a class="code hl_enumeration" href="_shape_8h.html#ad64a1c665070a3100e456e54073554a5">EShapeType</a>::<a class="code hl_enumvalue" href="_shape_8h.html#ad64a1c665070a3100e456e54073554a5ace2c8aed9c2fa0cfbed56cbda4d8bf07">Empty</a>, <a class="code hl_enumeration" href="_shape_8h.html#aa332e0529e75b83aad91881c8d32551b">EShapeSubType</a>::<a class="code hl_enumvalue" href="_shape_8h.html#ad64a1c665070a3100e456e54073554a5ace2c8aed9c2fa0cfbed56cbda4d8bf07">Empty</a>), mCenterOfMass(inCenterOfMass) { }</div>
- <div class="line"><a id="l00040" name="l00040"></a><span class="lineno"><a class="line" href="class_empty_shape.html#ad8ce22a3087ff3f82d1414a68eb7ddf4"> 40</a></span> <a class="code hl_function" href="class_empty_shape.html#ad8ce22a3087ff3f82d1414a68eb7ddf4">EmptyShape</a>(<span class="keyword">const</span> <a class="code hl_class" href="class_empty_shape_settings.html">EmptyShapeSettings</a> &inSettings, <a class="code hl_class" href="class_result.html">ShapeResult</a> &outResult) : <a class="code hl_class" href="class_shape.html">Shape</a>(<a class="code hl_enumeration" href="_shape_8h.html#ad64a1c665070a3100e456e54073554a5">EShapeType</a>::<a class="code hl_enumvalue" href="_shape_8h.html#ad64a1c665070a3100e456e54073554a5ace2c8aed9c2fa0cfbed56cbda4d8bf07">Empty</a>, <a class="code hl_enumeration" href="_shape_8h.html#aa332e0529e75b83aad91881c8d32551b">EShapeSubType</a>::<a class="code hl_enumvalue" href="_shape_8h.html#ad64a1c665070a3100e456e54073554a5ace2c8aed9c2fa0cfbed56cbda4d8bf07">Empty</a>, inSettings, outResult), mCenterOfMass(inSettings.mCenterOfMass) { outResult.<a class="code hl_function" href="class_result.html#a2d4677e046c9d429f9a512342bdd479b">Set</a>(<span class="keyword">this</span>); }</div>
- <div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> </div>
- <div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> <span class="comment">// See: Shape</span></div>
- <div class="line"><a id="l00043" name="l00043"></a><span class="lineno"><a class="line" href="class_empty_shape.html#ae08043e7d4bdfb298f81fb0308df50a2"> 43</a></span> <a class="code hl_class" href="class_vec3.html">Vec3</a> <a class="code hl_function" href="class_empty_shape.html#ae08043e7d4bdfb298f81fb0308df50a2">GetCenterOfMass</a>()<span class="keyword"> const override </span>{ <span class="keywordflow">return</span> mCenterOfMass; }</div>
- <div class="line"><a id="l00044" name="l00044"></a><span class="lineno"><a class="line" href="class_empty_shape.html#ab25c146e2256949961015d879448de52"> 44</a></span> <a class="code hl_class" href="class_a_a_box.html">AABox</a> <a class="code hl_function" href="class_empty_shape.html#ab25c146e2256949961015d879448de52">GetLocalBounds</a>()<span class="keyword"> const override </span>{ <span class="keywordflow">return</span> { <a class="code hl_function" href="class_vec3.html#ad03c52ab27761bc1e64e33c47632ba51">Vec3::sZero</a>(), <a class="code hl_function" href="class_vec3.html#ad03c52ab27761bc1e64e33c47632ba51">Vec3::sZero</a>() }; }</div>
- <div class="line"><a id="l00045" name="l00045"></a><span class="lineno"><a class="line" href="class_empty_shape.html#ae7770309224c9f412ea1212eb817a750"> 45</a></span> <a class="code hl_typedef" href="_core_8h.html#a69aa29b598b851b0640aa225a9e5d61d">uint</a> <a class="code hl_function" href="class_empty_shape.html#ae7770309224c9f412ea1212eb817a750">GetSubShapeIDBitsRecursive</a>()<span class="keyword"> const override </span>{ <span class="keywordflow">return</span> 0; }</div>
- <div class="line"><a id="l00046" name="l00046"></a><span class="lineno"><a class="line" href="class_empty_shape.html#aa4c6eb1280c46c81afa66d038e1600ae"> 46</a></span> <span class="keywordtype">float</span> <a class="code hl_function" href="class_empty_shape.html#aa4c6eb1280c46c81afa66d038e1600ae">GetInnerRadius</a>()<span class="keyword"> const override </span>{ <span class="keywordflow">return</span> 0.0f; }</div>
- <div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> <a class="code hl_class" href="class_mass_properties.html">MassProperties</a> GetMassProperties() <span class="keyword">const override</span>;</div>
- <div class="line"><a id="l00048" name="l00048"></a><span class="lineno"><a class="line" href="class_empty_shape.html#adef1e4c2eb4e2ae035004e2b32eeeaca"> 48</a></span> <span class="keyword">const</span> <a class="code hl_class" href="class_physics_material.html">PhysicsMaterial</a> * <a class="code hl_function" href="class_empty_shape.html#adef1e4c2eb4e2ae035004e2b32eeeaca">GetMaterial</a>([[maybe_unused]] <span class="keyword">const</span> <a class="code hl_class" href="class_sub_shape_i_d.html">SubShapeID</a> &inSubShapeID)<span class="keyword"> const override </span>{ <span class="keywordflow">return</span> <a class="code hl_variable" href="class_physics_material.html#af51825c643c3cafc49e007d8ca1c14cd">PhysicsMaterial::sDefault</a>; }</div>
- <div class="line"><a id="l00049" name="l00049"></a><span class="lineno"><a class="line" href="class_empty_shape.html#a50c8da06c743cbd915a79783280d7938"> 49</a></span> <span class="keyword">virtual</span> <a class="code hl_class" href="class_vec3.html">Vec3</a> <a class="code hl_function" href="class_empty_shape.html#a50c8da06c743cbd915a79783280d7938">GetSurfaceNormal</a>(<span class="keyword">const</span> <a class="code hl_class" href="class_sub_shape_i_d.html">SubShapeID</a> &inSubShapeID, <a class="code hl_class" href="class_vec3.html">Vec3Arg</a> inLocalSurfacePosition)<span class="keyword"> const override </span>{ <span class="keywordflow">return</span> <a class="code hl_function" href="class_vec3.html#ad03c52ab27761bc1e64e33c47632ba51">Vec3::sZero</a>(); }</div>
- <div class="foldopen" id="foldopen00050" data-start="{" data-end="}">
- <div class="line"><a id="l00050" name="l00050"></a><span class="lineno"><a class="line" href="class_empty_shape.html#af04d5177ac573e002486c08d42aef5b1"> 50</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_empty_shape.html#af04d5177ac573e002486c08d42aef5b1">GetSubmergedVolume</a>(<a class="code hl_class" href="class_mat44.html">Mat44Arg</a> inCenterOfMassTransform, <a class="code hl_class" href="class_vec3.html">Vec3Arg</a> inScale, <span class="keyword">const</span> <a class="code hl_class" href="class_plane.html">Plane</a> &inSurface, <span class="keywordtype">float</span> &outTotalVolume, <span class="keywordtype">float</span> &outSubmergedVolume, <a class="code hl_class" href="class_vec3.html">Vec3</a> &outCenterOfBuoyancy</div>
- <div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span>#ifdef JPH_DEBUG_RENDERER <span class="comment">// Not using JPH_IF_DEBUG_RENDERER for Doxygen</span></div>
- <div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> , <a class="code hl_class" href="class_vec3.html">RVec3Arg</a> inBaseOffset</div>
- <div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span>#endif</div>
- <div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> )<span class="keyword"> const override </span>{ outTotalVolume = 0.0f; outSubmergedVolume = 0.0f; outCenterOfBuoyancy = <a class="code hl_function" href="class_vec3.html#ad03c52ab27761bc1e64e33c47632ba51">Vec3::sZero</a>(); }</div>
- </div>
- <div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span><span class="preprocessor">#ifdef JPH_DEBUG_RENDERER</span></div>
- <div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> Draw([[maybe_unused]] <a class="code hl_class" href="class_debug_renderer.html">DebugRenderer</a> *inRenderer, [[maybe_unused]] <a class="code hl_class" href="class_mat44.html">RMat44Arg</a> inCenterOfMassTransform, [[maybe_unused]] <a class="code hl_class" href="class_vec3.html">Vec3Arg</a> inScale, [[maybe_unused]] <a class="code hl_class" href="class_color.html">ColorArg</a> inColor, [[maybe_unused]] <span class="keywordtype">bool</span> inUseMaterialColors, [[maybe_unused]] <span class="keywordtype">bool</span> inDrawWireframe) <span class="keyword">const override</span>;</div>
- <div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span><span class="preprocessor">#endif </span><span class="comment">// JPH_DEBUG_RENDERER</span></div>
- <div class="line"><a id="l00058" name="l00058"></a><span class="lineno"><a class="line" href="class_empty_shape.html#ade01c13fdd77ddb7214ed67486d0e563"> 58</a></span> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_empty_shape.html#ade01c13fdd77ddb7214ed67486d0e563">CastRay</a>([[maybe_unused]] <span class="keyword">const</span> <a class="code hl_struct" href="struct_ray_cast.html">RayCast</a> &inRay, [[maybe_unused]] <span class="keyword">const</span> <a class="code hl_class" href="class_sub_shape_i_d_creator.html">SubShapeIDCreator</a> &inSubShapeIDCreator, [[maybe_unused]] <a class="code hl_class" href="class_ray_cast_result.html">RayCastResult</a> &ioHit)<span class="keyword"> const override </span>{ <span class="keywordflow">return</span> <span class="keyword">false</span>; }</div>
- <div class="line"><a id="l00059" name="l00059"></a><span class="lineno"><a class="line" href="class_empty_shape.html#aa3ced45ae306cf498b3079dc12b8d994"> 59</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_empty_shape.html#aa3ced45ae306cf498b3079dc12b8d994">CastRay</a>([[maybe_unused]] <span class="keyword">const</span> <a class="code hl_struct" href="struct_ray_cast.html">RayCast</a> &inRay, [[maybe_unused]] <span class="keyword">const</span> <a class="code hl_class" href="class_ray_cast_settings.html">RayCastSettings</a> &inRayCastSettings, [[maybe_unused]] <span class="keyword">const</span> <a class="code hl_class" href="class_sub_shape_i_d_creator.html">SubShapeIDCreator</a> &inSubShapeIDCreator, [[maybe_unused]] <a class="code hl_class" href="class_collision_collector.html">CastRayCollector</a> &ioCollector, [[maybe_unused]] <span class="keyword">const</span> <a class="code hl_class" href="class_shape_filter.html">ShapeFilter</a> &inShapeFilter = { }) <span class="keyword">const</span> <span class="keyword">override</span> { <span class="comment">/* Do nothing */</span> }</div>
- <div class="line"><a id="l00060" name="l00060"></a><span class="lineno"><a class="line" href="class_empty_shape.html#a32538b59a4f01d754a785294141feba3"> 60</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_empty_shape.html#a32538b59a4f01d754a785294141feba3">CollidePoint</a>([[maybe_unused]] <a class="code hl_class" href="class_vec3.html">Vec3Arg</a> inPoint, [[maybe_unused]] <span class="keyword">const</span> <a class="code hl_class" href="class_sub_shape_i_d_creator.html">SubShapeIDCreator</a> &inSubShapeIDCreator, [[maybe_unused]] <a class="code hl_class" href="class_collision_collector.html">CollidePointCollector</a> &ioCollector, [[maybe_unused]] <span class="keyword">const</span> <a class="code hl_class" href="class_shape_filter.html">ShapeFilter</a> &inShapeFilter = { }) <span class="keyword">const</span> <span class="keyword">override</span> { <span class="comment">/* Do nothing */</span> }</div>
- <div class="line"><a id="l00061" name="l00061"></a><span class="lineno"><a class="line" href="class_empty_shape.html#a622ce1b859a6ddd5beccac1f02ff2a5c"> 61</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_empty_shape.html#a622ce1b859a6ddd5beccac1f02ff2a5c">CollideSoftBodyVertices</a>([[maybe_unused]] <a class="code hl_class" href="class_mat44.html">Mat44Arg</a> inCenterOfMassTransform, [[maybe_unused]] <a class="code hl_class" href="class_vec3.html">Vec3Arg</a> inScale, [[maybe_unused]] <span class="keyword">const</span> <a class="code hl_class" href="class_collide_soft_body_vertex_iterator.html">CollideSoftBodyVertexIterator</a> &inVertices, [[maybe_unused]] <a class="code hl_typedef" href="_core_8h.html#a69aa29b598b851b0640aa225a9e5d61d">uint</a> inNumVertices, [[maybe_unused]] <span class="keywordtype">int</span> inCollidingShapeIndex)<span class="keyword"> const override </span>{ <span class="comment">/* Do nothing */</span> }</div>
- <div class="line"><a id="l00062" name="l00062"></a><span class="lineno"><a class="line" href="class_empty_shape.html#a3bcaaf90fd7bbc960ec117f96ee7094d"> 62</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_empty_shape.html#a3bcaaf90fd7bbc960ec117f96ee7094d">GetTrianglesStart</a>([[maybe_unused]] <a class="code hl_struct" href="struct_shape_1_1_get_triangles_context.html">GetTrianglesContext</a> &ioContext, [[maybe_unused]] <span class="keyword">const</span> <a class="code hl_class" href="class_a_a_box.html">AABox</a> &inBox, [[maybe_unused]] <a class="code hl_class" href="class_vec3.html">Vec3Arg</a> inPositionCOM, [[maybe_unused]] <a class="code hl_class" href="class_quat.html">QuatArg</a> inRotation, [[maybe_unused]] <a class="code hl_class" href="class_vec3.html">Vec3Arg</a> inScale)<span class="keyword"> const override </span>{ <span class="comment">/* Do nothing */</span> }</div>
- <div class="line"><a id="l00063" name="l00063"></a><span class="lineno"><a class="line" href="class_empty_shape.html#ac9c9ca0cf4ffcd2584a9fe2220e86164"> 63</a></span> <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code hl_function" href="class_empty_shape.html#ac9c9ca0cf4ffcd2584a9fe2220e86164">GetTrianglesNext</a>([[maybe_unused]] <a class="code hl_struct" href="struct_shape_1_1_get_triangles_context.html">GetTrianglesContext</a> &ioContext, [[maybe_unused]] <span class="keywordtype">int</span> inMaxTrianglesRequested, [[maybe_unused]] <a class="code hl_class" href="class_float3.html">Float3</a> *outTriangleVertices, [[maybe_unused]] <span class="keyword">const</span> <a class="code hl_class" href="class_physics_material.html">PhysicsMaterial</a> **outMaterials = <span class="keyword">nullptr</span>)<span class="keyword"> const override </span>{ <span class="keywordflow">return</span> 0; }</div>
- <div class="line"><a id="l00064" name="l00064"></a><span class="lineno"><a class="line" href="class_empty_shape.html#ac692929f8c9675dff864a2c86c9e3426"> 64</a></span> <a class="code hl_struct" href="struct_shape_1_1_stats.html">Stats</a> <a class="code hl_function" href="class_empty_shape.html#ac692929f8c9675dff864a2c86c9e3426">GetStats</a>()<span class="keyword"> const override </span>{ <span class="keywordflow">return</span> { <span class="keyword">sizeof</span>(*this), 0 }; }</div>
- <div class="line"><a id="l00065" name="l00065"></a><span class="lineno"><a class="line" href="class_empty_shape.html#a6dee4669c448702f7790a6fa7a64ce0f"> 65</a></span> <span class="keywordtype">float</span> <a class="code hl_function" href="class_empty_shape.html#a6dee4669c448702f7790a6fa7a64ce0f">GetVolume</a>()<span class="keyword"> const override </span>{ <span class="keywordflow">return</span> 0.0f; }</div>
- <div class="line"><a id="l00066" name="l00066"></a><span class="lineno"><a class="line" href="class_empty_shape.html#ac7ff600f7aa3fd259c0ec3f44bf80264"> 66</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_empty_shape.html#ac7ff600f7aa3fd259c0ec3f44bf80264">IsValidScale</a>([[maybe_unused]] <a class="code hl_class" href="class_vec3.html">Vec3Arg</a> inScale)<span class="keyword"> const override </span>{ <span class="keywordflow">return</span> <span class="keyword">true</span>; }</div>
- <div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> </div>
- <div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> <span class="comment">// Register shape functions with the registry</span></div>
- <div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> <span class="keyword">static</span> <span class="keywordtype">void</span> sRegister();</div>
- <div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> </div>
- <div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span><span class="keyword">private</span>:</div>
- <div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> <a class="code hl_class" href="class_vec3.html">Vec3</a> mCenterOfMass = <a class="code hl_function" href="class_vec3.html#ad03c52ab27761bc1e64e33c47632ba51">Vec3::sZero</a>();</div>
- <div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span>};</div>
- </div>
- <div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> </div>
- <div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span><a class="code hl_define" href="_core_8h.html#a73da8725998b00321a9db341202d650d">JPH_NAMESPACE_END</a></div>
- <div class="ttc" id="a_core_8h_html_a2712a9b0f778ab9d1aa5118b4e8e6bd8"><div class="ttname"><a href="_core_8h.html#a2712a9b0f778ab9d1aa5118b4e8e6bd8">JPH_EXPORT</a></div><div class="ttdeci">#define JPH_EXPORT</div><div class="ttdef"><b>Definition</b> Core.h:275</div></div>
- <div class="ttc" id="a_core_8h_html_a69aa29b598b851b0640aa225a9e5d61d"><div class="ttname"><a href="_core_8h.html#a69aa29b598b851b0640aa225a9e5d61d">uint</a></div><div class="ttdeci">unsigned int uint</div><div class="ttdef"><b>Definition</b> Core.h:500</div></div>
- <div class="ttc" id="a_core_8h_html_a73da8725998b00321a9db341202d650d"><div class="ttname"><a href="_core_8h.html#a73da8725998b00321a9db341202d650d">JPH_NAMESPACE_END</a></div><div class="ttdeci">#define JPH_NAMESPACE_END</div><div class="ttdef"><b>Definition</b> Core.h:425</div></div>
- <div class="ttc" id="a_core_8h_html_ad14098b68b8c44ea6112601031268405"><div class="ttname"><a href="_core_8h.html#ad14098b68b8c44ea6112601031268405">JPH_NAMESPACE_BEGIN</a></div><div class="ttdeci">#define JPH_NAMESPACE_BEGIN</div><div class="ttdef"><b>Definition</b> Core.h:419</div></div>
- <div class="ttc" id="a_physics_material_8h_html"><div class="ttname"><a href="_physics_material_8h.html">PhysicsMaterial.h</a></div></div>
- <div class="ttc" id="a_serializable_object_8h_html_ad80cbee2b256f570ee204534dec05da4"><div class="ttname"><a href="_serializable_object_8h.html#ad80cbee2b256f570ee204534dec05da4">JPH_DECLARE_SERIALIZABLE_VIRTUAL</a></div><div class="ttdeci">#define JPH_DECLARE_SERIALIZABLE_VIRTUAL(linkage, class_name)</div><div class="ttdef"><b>Definition</b> SerializableObject.h:109</div></div>
- <div class="ttc" id="a_shape_8h_html"><div class="ttname"><a href="_shape_8h.html">Shape.h</a></div></div>
- <div class="ttc" id="a_shape_8h_html_aa332e0529e75b83aad91881c8d32551b"><div class="ttname"><a href="_shape_8h.html#aa332e0529e75b83aad91881c8d32551b">EShapeSubType</a></div><div class="ttdeci">EShapeSubType</div><div class="ttdoc">This enumerates all shape types, each shape can return its type through Shape::GetSubType.</div><div class="ttdef"><b>Definition</b> Shape.h:77</div></div>
- <div class="ttc" id="a_shape_8h_html_ad64a1c665070a3100e456e54073554a5"><div class="ttname"><a href="_shape_8h.html#ad64a1c665070a3100e456e54073554a5">EShapeType</a></div><div class="ttdeci">EShapeType</div><div class="ttdoc">Shapes are categorized in groups, each shape can return which group it belongs to through its Shape::...</div><div class="ttdef"><b>Definition</b> Shape.h:57</div></div>
- <div class="ttc" id="a_shape_8h_html_ad64a1c665070a3100e456e54073554a5ace2c8aed9c2fa0cfbed56cbda4d8bf07"><div class="ttname"><a href="_shape_8h.html#ad64a1c665070a3100e456e54073554a5ace2c8aed9c2fa0cfbed56cbda4d8bf07">EShapeType::Empty</a></div><div class="ttdeci">@ Empty</div><div class="ttdoc">Used by EmptyShape.</div></div>
- <div class="ttc" id="aclass_a_a_box_html"><div class="ttname"><a href="class_a_a_box.html">AABox</a></div><div class="ttdoc">Axis aligned box.</div><div class="ttdef"><b>Definition</b> AABox.h:16</div></div>
- <div class="ttc" id="aclass_collide_soft_body_vertex_iterator_html"><div class="ttname"><a href="class_collide_soft_body_vertex_iterator.html">CollideSoftBodyVertexIterator</a></div><div class="ttdef"><b>Definition</b> CollideSoftBodyVertexIterator.h:15</div></div>
- <div class="ttc" id="aclass_collision_collector_html"><div class="ttname"><a href="class_collision_collector.html">CollisionCollector</a></div><div class="ttdoc">Virtual interface that allows collecting multiple collision results.</div><div class="ttdef"><b>Definition</b> CollisionCollector.h:45</div></div>
- <div class="ttc" id="aclass_color_html"><div class="ttname"><a href="class_color.html">Color</a></div><div class="ttdoc">Class that holds an RGBA color with 8-bits per component.</div><div class="ttdef"><b>Definition</b> Color.h:16</div></div>
- <div class="ttc" id="aclass_debug_renderer_html"><div class="ttname"><a href="class_debug_renderer.html">DebugRenderer</a></div><div class="ttdef"><b>Definition</b> DebugRenderer.h:47</div></div>
- <div class="ttc" id="aclass_empty_shape_html"><div class="ttname"><a href="class_empty_shape.html">EmptyShape</a></div><div class="ttdef"><b>Definition</b> EmptyShape.h:35</div></div>
- <div class="ttc" id="aclass_empty_shape_html_a32538b59a4f01d754a785294141feba3"><div class="ttname"><a href="class_empty_shape.html#a32538b59a4f01d754a785294141feba3">EmptyShape::CollidePoint</a></div><div class="ttdeci">virtual void CollidePoint(Vec3Arg inPoint, const SubShapeIDCreator &inSubShapeIDCreator, CollidePointCollector &ioCollector, const ShapeFilter &inShapeFilter={ }) const override</div><div class="ttdef"><b>Definition</b> EmptyShape.h:60</div></div>
- <div class="ttc" id="aclass_empty_shape_html_a3bcaaf90fd7bbc960ec117f96ee7094d"><div class="ttname"><a href="class_empty_shape.html#a3bcaaf90fd7bbc960ec117f96ee7094d">EmptyShape::GetTrianglesStart</a></div><div class="ttdeci">virtual void GetTrianglesStart(GetTrianglesContext &ioContext, const AABox &inBox, Vec3Arg inPositionCOM, QuatArg inRotation, Vec3Arg inScale) const override</div><div class="ttdef"><b>Definition</b> EmptyShape.h:62</div></div>
- <div class="ttc" id="aclass_empty_shape_html_a4a04fa376b63eb8b3a765f8fda6971ee"><div class="ttname"><a href="class_empty_shape.html#a4a04fa376b63eb8b3a765f8fda6971ee">EmptyShape::EmptyShape</a></div><div class="ttdeci">EmptyShape()</div><div class="ttdef"><b>Definition</b> EmptyShape.h:38</div></div>
- <div class="ttc" id="aclass_empty_shape_html_a50c8da06c743cbd915a79783280d7938"><div class="ttname"><a href="class_empty_shape.html#a50c8da06c743cbd915a79783280d7938">EmptyShape::GetSurfaceNormal</a></div><div class="ttdeci">virtual Vec3 GetSurfaceNormal(const SubShapeID &inSubShapeID, Vec3Arg inLocalSurfacePosition) const override</div><div class="ttdef"><b>Definition</b> EmptyShape.h:49</div></div>
- <div class="ttc" id="aclass_empty_shape_html_a622ce1b859a6ddd5beccac1f02ff2a5c"><div class="ttname"><a href="class_empty_shape.html#a622ce1b859a6ddd5beccac1f02ff2a5c">EmptyShape::CollideSoftBodyVertices</a></div><div class="ttdeci">virtual void CollideSoftBodyVertices(Mat44Arg inCenterOfMassTransform, Vec3Arg inScale, const CollideSoftBodyVertexIterator &inVertices, uint inNumVertices, int inCollidingShapeIndex) const override</div><div class="ttdef"><b>Definition</b> EmptyShape.h:61</div></div>
- <div class="ttc" id="aclass_empty_shape_html_a6dee4669c448702f7790a6fa7a64ce0f"><div class="ttname"><a href="class_empty_shape.html#a6dee4669c448702f7790a6fa7a64ce0f">EmptyShape::GetVolume</a></div><div class="ttdeci">float GetVolume() const override</div><div class="ttdef"><b>Definition</b> EmptyShape.h:65</div></div>
- <div class="ttc" id="aclass_empty_shape_html_aa3ced45ae306cf498b3079dc12b8d994"><div class="ttname"><a href="class_empty_shape.html#aa3ced45ae306cf498b3079dc12b8d994">EmptyShape::CastRay</a></div><div class="ttdeci">virtual void CastRay(const RayCast &inRay, const RayCastSettings &inRayCastSettings, const SubShapeIDCreator &inSubShapeIDCreator, CastRayCollector &ioCollector, const ShapeFilter &inShapeFilter={ }) const override</div><div class="ttdef"><b>Definition</b> EmptyShape.h:59</div></div>
- <div class="ttc" id="aclass_empty_shape_html_aa4c6eb1280c46c81afa66d038e1600ae"><div class="ttname"><a href="class_empty_shape.html#aa4c6eb1280c46c81afa66d038e1600ae">EmptyShape::GetInnerRadius</a></div><div class="ttdeci">float GetInnerRadius() const override</div><div class="ttdef"><b>Definition</b> EmptyShape.h:46</div></div>
- <div class="ttc" id="aclass_empty_shape_html_aae59a4d60010e1e96b17ccee1fe5bc86"><div class="ttname"><a href="class_empty_shape.html#aae59a4d60010e1e96b17ccee1fe5bc86">EmptyShape::EmptyShape</a></div><div class="ttdeci">EmptyShape(Vec3Arg inCenterOfMass)</div><div class="ttdef"><b>Definition</b> EmptyShape.h:39</div></div>
- <div class="ttc" id="aclass_empty_shape_html_ab25c146e2256949961015d879448de52"><div class="ttname"><a href="class_empty_shape.html#ab25c146e2256949961015d879448de52">EmptyShape::GetLocalBounds</a></div><div class="ttdeci">AABox GetLocalBounds() const override</div><div class="ttdoc">Get local bounding box including convex radius, this box is centered around the center of mass rather...</div><div class="ttdef"><b>Definition</b> EmptyShape.h:44</div></div>
- <div class="ttc" id="aclass_empty_shape_html_ac692929f8c9675dff864a2c86c9e3426"><div class="ttname"><a href="class_empty_shape.html#ac692929f8c9675dff864a2c86c9e3426">EmptyShape::GetStats</a></div><div class="ttdeci">Stats GetStats() const override</div><div class="ttdoc">Get stats of this shape. Use for logging / data collection purposes only. Does not add values from ch...</div><div class="ttdef"><b>Definition</b> EmptyShape.h:64</div></div>
- <div class="ttc" id="aclass_empty_shape_html_ac7ff600f7aa3fd259c0ec3f44bf80264"><div class="ttname"><a href="class_empty_shape.html#ac7ff600f7aa3fd259c0ec3f44bf80264">EmptyShape::IsValidScale</a></div><div class="ttdeci">bool IsValidScale(Vec3Arg inScale) const override</div><div class="ttdef"><b>Definition</b> EmptyShape.h:66</div></div>
- <div class="ttc" id="aclass_empty_shape_html_ac9c9ca0cf4ffcd2584a9fe2220e86164"><div class="ttname"><a href="class_empty_shape.html#ac9c9ca0cf4ffcd2584a9fe2220e86164">EmptyShape::GetTrianglesNext</a></div><div class="ttdeci">virtual int GetTrianglesNext(GetTrianglesContext &ioContext, int inMaxTrianglesRequested, Float3 *outTriangleVertices, const PhysicsMaterial **outMaterials=nullptr) const override</div><div class="ttdef"><b>Definition</b> EmptyShape.h:63</div></div>
- <div class="ttc" id="aclass_empty_shape_html_ad8ce22a3087ff3f82d1414a68eb7ddf4"><div class="ttname"><a href="class_empty_shape.html#ad8ce22a3087ff3f82d1414a68eb7ddf4">EmptyShape::EmptyShape</a></div><div class="ttdeci">EmptyShape(const EmptyShapeSettings &inSettings, ShapeResult &outResult)</div><div class="ttdef"><b>Definition</b> EmptyShape.h:40</div></div>
- <div class="ttc" id="aclass_empty_shape_html_ade01c13fdd77ddb7214ed67486d0e563"><div class="ttname"><a href="class_empty_shape.html#ade01c13fdd77ddb7214ed67486d0e563">EmptyShape::CastRay</a></div><div class="ttdeci">virtual bool CastRay(const RayCast &inRay, const SubShapeIDCreator &inSubShapeIDCreator, RayCastResult &ioHit) const override</div><div class="ttdef"><b>Definition</b> EmptyShape.h:58</div></div>
- <div class="ttc" id="aclass_empty_shape_html_adef1e4c2eb4e2ae035004e2b32eeeaca"><div class="ttname"><a href="class_empty_shape.html#adef1e4c2eb4e2ae035004e2b32eeeaca">EmptyShape::GetMaterial</a></div><div class="ttdeci">const PhysicsMaterial * GetMaterial(const SubShapeID &inSubShapeID) const override</div><div class="ttdoc">Get the material assigned to a particular sub shape ID.</div><div class="ttdef"><b>Definition</b> EmptyShape.h:48</div></div>
- <div class="ttc" id="aclass_empty_shape_html_ae08043e7d4bdfb298f81fb0308df50a2"><div class="ttname"><a href="class_empty_shape.html#ae08043e7d4bdfb298f81fb0308df50a2">EmptyShape::GetCenterOfMass</a></div><div class="ttdeci">Vec3 GetCenterOfMass() const override</div><div class="ttdoc">All shapes are centered around their center of mass. This function returns the center of mass positio...</div><div class="ttdef"><b>Definition</b> EmptyShape.h:43</div></div>
- <div class="ttc" id="aclass_empty_shape_html_ae7770309224c9f412ea1212eb817a750"><div class="ttname"><a href="class_empty_shape.html#ae7770309224c9f412ea1212eb817a750">EmptyShape::GetSubShapeIDBitsRecursive</a></div><div class="ttdeci">uint GetSubShapeIDBitsRecursive() const override</div><div class="ttdoc">Get the max number of sub shape ID bits that are needed to be able to address any leaf shape in this ...</div><div class="ttdef"><b>Definition</b> EmptyShape.h:45</div></div>
- <div class="ttc" id="aclass_empty_shape_html_af04d5177ac573e002486c08d42aef5b1"><div class="ttname"><a href="class_empty_shape.html#af04d5177ac573e002486c08d42aef5b1">EmptyShape::GetSubmergedVolume</a></div><div class="ttdeci">virtual void GetSubmergedVolume(Mat44Arg inCenterOfMassTransform, Vec3Arg inScale, const Plane &inSurface, float &outTotalVolume, float &outSubmergedVolume, Vec3 &outCenterOfBuoyancy, RVec3Arg inBaseOffset) const override</div><div class="ttdef"><b>Definition</b> EmptyShape.h:50</div></div>
- <div class="ttc" id="aclass_empty_shape_settings_html"><div class="ttname"><a href="class_empty_shape_settings.html">EmptyShapeSettings</a></div><div class="ttdoc">Class that constructs an EmptyShape.</div><div class="ttdef"><b>Definition</b> EmptyShape.h:14</div></div>
- <div class="ttc" id="aclass_empty_shape_settings_html_a3ff04fcd2ab15c28f068b250ea75265d"><div class="ttname"><a href="class_empty_shape_settings.html#a3ff04fcd2ab15c28f068b250ea75265d">EmptyShapeSettings::EmptyShapeSettings</a></div><div class="ttdeci">EmptyShapeSettings()=default</div></div>
- <div class="ttc" id="aclass_empty_shape_settings_html_abe3f90a6756362e7bbf6d29c2e60ec6c"><div class="ttname"><a href="class_empty_shape_settings.html#abe3f90a6756362e7bbf6d29c2e60ec6c">EmptyShapeSettings::EmptyShapeSettings</a></div><div class="ttdeci">EmptyShapeSettings(Vec3Arg inCenterOfMass)</div><div class="ttdef"><b>Definition</b> EmptyShape.h:19</div></div>
- <div class="ttc" id="aclass_float3_html"><div class="ttname"><a href="class_float3.html">Float3</a></div><div class="ttdoc">Class that holds 3 floats. Used as a storage class. Convert to Vec3 for calculations.</div><div class="ttdef"><b>Definition</b> Float3.h:13</div></div>
- <div class="ttc" id="aclass_mass_properties_html"><div class="ttname"><a href="class_mass_properties.html">MassProperties</a></div><div class="ttdoc">Describes the mass and inertia properties of a body. Used during body construction only.</div><div class="ttdef"><b>Definition</b> MassProperties.h:16</div></div>
- <div class="ttc" id="aclass_mat44_html"><div class="ttname"><a href="class_mat44.html">Mat44</a></div><div class="ttdoc">Holds a 4x4 matrix of floats, but supports also operations on the 3x3 upper left part of the matrix.</div><div class="ttdef"><b>Definition</b> Mat44.h:13</div></div>
- <div class="ttc" id="aclass_physics_material_html"><div class="ttname"><a href="class_physics_material.html">PhysicsMaterial</a></div><div class="ttdef"><b>Definition</b> PhysicsMaterial.h:23</div></div>
- <div class="ttc" id="aclass_physics_material_html_af51825c643c3cafc49e007d8ca1c14cd"><div class="ttname"><a href="class_physics_material.html#af51825c643c3cafc49e007d8ca1c14cd">PhysicsMaterial::sDefault</a></div><div class="ttdeci">static RefConst< PhysicsMaterial > sDefault</div><div class="ttdoc">Default material that is used when a shape has no materials defined.</div><div class="ttdef"><b>Definition</b> PhysicsMaterial.h:32</div></div>
- <div class="ttc" id="aclass_plane_html"><div class="ttname"><a href="class_plane.html">Plane</a></div><div class="ttdoc">An infinite plane described by the formula X . Normal + Constant = 0.</div><div class="ttdef"><b>Definition</b> Plane.h:11</div></div>
- <div class="ttc" id="aclass_quat_html"><div class="ttname"><a href="class_quat.html">Quat</a></div><div class="ttdef"><b>Definition</b> Quat.h:33</div></div>
- <div class="ttc" id="aclass_ray_cast_result_html"><div class="ttname"><a href="class_ray_cast_result.html">RayCastResult</a></div><div class="ttdoc">Specialization of cast result against a shape.</div><div class="ttdef"><b>Definition</b> CastResult.h:30</div></div>
- <div class="ttc" id="aclass_ray_cast_settings_html"><div class="ttname"><a href="class_ray_cast_settings.html">RayCastSettings</a></div><div class="ttdoc">Settings to be passed with a ray cast.</div><div class="ttdef"><b>Definition</b> RayCast.h:70</div></div>
- <div class="ttc" id="aclass_result_html"><div class="ttname"><a href="class_result.html">Result< Ref< Shape > ></a></div></div>
- <div class="ttc" id="aclass_result_html_a2d4677e046c9d429f9a512342bdd479b"><div class="ttname"><a href="class_result.html#a2d4677e046c9d429f9a512342bdd479b">Result::Set</a></div><div class="ttdeci">void Set(const Type &inResult)</div><div class="ttdoc">Set the result value.</div><div class="ttdef"><b>Definition</b> Result.h:140</div></div>
- <div class="ttc" id="aclass_shape_filter_html"><div class="ttname"><a href="class_shape_filter.html">ShapeFilter</a></div><div class="ttdoc">Filter class.</div><div class="ttdef"><b>Definition</b> ShapeFilter.h:17</div></div>
- <div class="ttc" id="aclass_shape_html"><div class="ttname"><a href="class_shape.html">Shape</a></div><div class="ttdoc">Base class for all shapes (collision volume of a body). Defines a virtual interface for collision det...</div><div class="ttdef"><b>Definition</b> Shape.h:186</div></div>
- <div class="ttc" id="aclass_shape_settings_html"><div class="ttname"><a href="class_shape_settings.html">ShapeSettings</a></div><div class="ttdef"><b>Definition</b> Shape.h:147</div></div>
- <div class="ttc" id="aclass_shape_settings_html_a21e53b5758542a5527c7941d61d838fa"><div class="ttname"><a href="class_shape_settings.html#a21e53b5758542a5527c7941d61d838fa">ShapeSettings::Create</a></div><div class="ttdeci">virtual ShapeResult Create() const =0</div><div class="ttdoc">Create a shape according to the settings specified by this object.</div></div>
- <div class="ttc" id="aclass_sub_shape_i_d_creator_html"><div class="ttname"><a href="class_sub_shape_i_d_creator.html">SubShapeIDCreator</a></div><div class="ttdef"><b>Definition</b> SubShapeID.h:108</div></div>
- <div class="ttc" id="aclass_sub_shape_i_d_html"><div class="ttname"><a href="class_sub_shape_i_d.html">SubShapeID</a></div><div class="ttdoc">A sub shape id contains a path to an element (usually a triangle or other primitive type) of a compou...</div><div class="ttdef"><b>Definition</b> SubShapeID.h:23</div></div>
- <div class="ttc" id="aclass_vec3_html"><div class="ttname"><a href="class_vec3.html">Vec3</a></div><div class="ttdef"><b>Definition</b> Vec3.h:17</div></div>
- <div class="ttc" id="aclass_vec3_html_ad03c52ab27761bc1e64e33c47632ba51"><div class="ttname"><a href="class_vec3.html#ad03c52ab27761bc1e64e33c47632ba51">Vec3::sZero</a></div><div class="ttdeci">static JPH_INLINE Vec3 sZero()</div><div class="ttdoc">Vector with all zeros.</div><div class="ttdef"><b>Definition</b> Vec3.inl:103</div></div>
- <div class="ttc" id="astruct_ray_cast_html"><div class="ttname"><a href="struct_ray_cast.html">RayCast</a></div><div class="ttdef"><b>Definition</b> RayCast.h:47</div></div>
- <div class="ttc" id="astruct_shape_1_1_get_triangles_context_html"><div class="ttname"><a href="struct_shape_1_1_get_triangles_context.html">Shape::GetTrianglesContext</a></div><div class="ttdoc">An opaque buffer that holds shape specific information during GetTrianglesStart/Next.</div><div class="ttdef"><b>Definition</b> Shape.h:348</div></div>
- <div class="ttc" id="astruct_shape_1_1_stats_html"><div class="ttname"><a href="struct_shape_1_1_stats.html">Shape::Stats</a></div><div class="ttdoc">Class that holds information about the shape that can be used for logging / data collection purposes.</div><div class="ttdef"><b>Definition</b> Shape.h:408</div></div>
- </div><!-- fragment --></div><!-- contents -->
- </div><!-- doc-content -->
- <!-- start footer part -->
- <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
- <ul>
- <li class="navelem"><a class="el" href="dir_d99289a5d3c46cf26f14ff6c90658d9f.html">Jolt</a></li><li class="navelem"><a class="el" href="dir_a0f33af92addde396fc27b064c5eb8a9.html">Physics</a></li><li class="navelem"><a class="el" href="dir_1a1d05ab9ff27ca8d1ed94cd62670cdf.html">Collision</a></li><li class="navelem"><a class="el" href="dir_4df7c3fdd39bf16e2d4956412667f123.html">Shape</a></li><li class="navelem"><a class="el" href="_empty_shape_8h.html">EmptyShape.h</a></li>
- <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>
- </ul>
- </div>
- </body>
- </html>
|