-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathactorcontext_8h_source.html
297 lines (295 loc) · 58.1 KB
/
actorcontext_8h_source.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Nebula: /github/workspace/code/physics/physics/actorcontext.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>
<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>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="custom.css" rel="stylesheet" type="text/css"/>
<link href="custom_dark_theme.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 style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Nebula
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<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('actorcontext_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">actorcontext.h</div></div>
</div><!--header-->
<div class="contents">
<a href="actorcontext_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="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment">//------------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="comment">//------------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span> </div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="preprocessor">#include "<a class="code" href="physicsinterface_8h.html">physicsinterface.h</a>"</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="preprocessor">#include "<a class="code" href="idgenerationpool_8h.html">ids/idgenerationpool.h</a>"</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="preprocessor">#include "<a class="code" href="vector_8h.html">math/vector.h</a>"</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="preprocessor">#include "<a class="code" href="plane_8h.html">math/plane.h</a>"</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="preprocessor">#include "<a class="code" href="mat4_8h.html">math/mat4.h</a>"</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="preprocessor">#include "<a class="code" href="tupleutility_8h.html">util/tupleutility.h</a>"</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="preprocessor">#include "<a class="code" href="transform_8h.html">math/transform.h</a>"</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span> </div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespace_physics.html">Physics</a></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> </div>
<div class="foldopen" id="foldopen00022" data-start="{" data-end="};">
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"><a class="line" href="struct_physics_1_1_shape_handle.html"> 22</a></span><span class="keyword">struct </span><a class="code hl_function" href="struct_physics_1_1_shape_handle.html#aa0c76a6f067268b880f8d40ad381d979">ShapeHandle</a></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span>{</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"><a class="line" href="struct_physics_1_1_shape_handle.html#aa0c76a6f067268b880f8d40ad381d979"> 24</a></span> <a class="code hl_function" href="struct_physics_1_1_shape_handle.html#aa0c76a6f067268b880f8d40ad381d979">ShapeHandle</a>() : <a class="code hl_variable" href="struct_physics_1_1_shape_handle.html#ae0926c9b8b8ee48aa74599e273dec9c8">shape</a>(nullptr) {}</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"><a class="line" href="struct_physics_1_1_shape_handle.html#a7714012e33abe4526cd06a51fbfb306c"> 25</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="struct_physics_1_1_shape_handle.html#a7714012e33abe4526cd06a51fbfb306c">ShapeHandle</a>(physx::PxShape* inShape) : <a class="code hl_variable" href="struct_physics_1_1_shape_handle.html#ae0926c9b8b8ee48aa74599e273dec9c8">shape</a>(inShape) {}</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"><a class="line" href="struct_physics_1_1_shape_handle.html#a87148748a438ff7e603f9b985eba548e"> 26</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="struct_physics_1_1_shape_handle.html#a87148748a438ff7e603f9b985eba548e">IsValid</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code hl_variable" href="struct_physics_1_1_shape_handle.html#ae0926c9b8b8ee48aa74599e273dec9c8">shape</a> != <span class="keyword">nullptr</span>; }</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"><a class="line" href="struct_physics_1_1_shape_handle.html#abfd02def51f49b482afa49d5d00d9d3f"> 27</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="struct_physics_1_1_shape_handle.html#abfd02def51f49b482afa49d5d00d9d3f">operator==</a>(<span class="keyword">const</span> <a class="code hl_function" href="struct_physics_1_1_shape_handle.html#aa0c76a6f067268b880f8d40ad381d979">ShapeHandle</a>& other) { <span class="keywordflow">return</span> <a class="code hl_variable" href="struct_physics_1_1_shape_handle.html#ae0926c9b8b8ee48aa74599e273dec9c8">shape</a> == other.<a class="code hl_variable" href="struct_physics_1_1_shape_handle.html#ae0926c9b8b8ee48aa74599e273dec9c8">shape</a>; }</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"><a class="line" href="struct_physics_1_1_shape_handle.html#ae0926c9b8b8ee48aa74599e273dec9c8"> 28</a></span> physx::PxShape* <a class="code hl_variable" href="struct_physics_1_1_shape_handle.html#ae0926c9b8b8ee48aa74599e273dec9c8">shape</a>;</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span>};</div>
</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> </div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span><span class="keyword">class </span><a class="code hl_class" href="class_physics_1_1_physx_state.html">PhysxState</a>;</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span><span class="keyword">class </span><a class="code hl_class" href="class_physics_1_1_stream_actor_pool.html">StreamActorPool</a>;</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</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_physics_1_1_actor_context.html"> 34</a></span><span class="keyword">class </span><a class="code hl_class" href="class_physics_1_1_actor_context.html">ActorContext</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="l00039" name="l00039"></a><span class="lineno"> 39</span> <span class="keyword">static</span> <a class="code hl_struct" href="struct_physics_1_1_actor_id.html">ActorId</a> <a class="code hl_function" href="class_physics_1_1_actor_context.html#a3a11e2401472a49514b6a61676e07053">CreateBox</a>(<a class="code hl_struct" href="struct_math_1_1vector.html">Math::vector</a> <span class="keyword">const</span>& extends, <a class="code hl_typedef" href="types_8h.html#ad119735112d40fd29a3017de944ccc98">IndexT</a> material, <a class="code hl_enumeration" href="namespace_physics.html#a303c363e8dc20be9dd9232685b2e81e3">ActorType</a> type, <a class="code hl_struct" href="struct_math_1_1mat4.html">Math::mat4</a> <span class="keyword">const</span> & transform, <a class="code hl_typedef" href="types_8h.html#ad119735112d40fd29a3017de944ccc98">IndexT</a> scene = 0);</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> <span class="keyword">static</span> <a class="code hl_struct" href="struct_physics_1_1_actor_id.html">ActorId</a> <a class="code hl_function" href="class_physics_1_1_actor_context.html#ae7224e24fe22ce6b2b448d4022a29f5b">CreateSphere</a>(<span class="keywordtype">float</span> radius, <a class="code hl_typedef" href="types_8h.html#ad119735112d40fd29a3017de944ccc98">IndexT</a> material, <a class="code hl_enumeration" href="namespace_physics.html#a303c363e8dc20be9dd9232685b2e81e3">ActorType</a> type, <a class="code hl_struct" href="struct_math_1_1mat4.html">Math::mat4</a> <span class="keyword">const</span> & transform, <a class="code hl_typedef" href="types_8h.html#ad119735112d40fd29a3017de944ccc98">IndexT</a> scene = 0);</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> <span class="keyword">static</span> <a class="code hl_struct" href="struct_physics_1_1_actor_id.html">ActorId</a> <a class="code hl_function" href="class_physics_1_1_actor_context.html#a49766ed089836816fdac69af9b4a263f">CreatePlane</a>(<a class="code hl_class" href="struct_math_1_1plane.html">Math::plane</a> <span class="keyword">const</span>& plane, <a class="code hl_typedef" href="types_8h.html#ad119735112d40fd29a3017de944ccc98">IndexT</a> material, <a class="code hl_typedef" href="types_8h.html#ad119735112d40fd29a3017de944ccc98">IndexT</a> scene = 0);</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> <span class="keyword">static</span> <a class="code hl_struct" href="struct_physics_1_1_actor_id.html">ActorId</a> <a class="code hl_function" href="class_physics_1_1_actor_context.html#a35697450a0ea38d22723cdd769059b5a">CreateCapsule</a>(<span class="keywordtype">float</span> radius, <span class="keywordtype">float</span> halfHeight, <a class="code hl_typedef" href="types_8h.html#ad119735112d40fd29a3017de944ccc98">IndexT</a> material, <a class="code hl_enumeration" href="namespace_physics.html#a303c363e8dc20be9dd9232685b2e81e3">ActorType</a> type, <a class="code hl_struct" href="struct_math_1_1mat4.html">Math::mat4</a> <span class="keyword">const</span> & transform, <a class="code hl_typedef" href="types_8h.html#ad119735112d40fd29a3017de944ccc98">IndexT</a> scene = 0);</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span></div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> <span class="keyword">static</span> <a class="code hl_struct" href="struct_physics_1_1_actor.html">Actor</a>& <a class="code hl_function" href="class_physics_1_1_actor_context.html#a8fd1490f05df2927228c9788a61627c0">GetActor</a>(<a class="code hl_struct" href="struct_physics_1_1_actor_id.html">ActorId</a> <span class="keywordtype">id</span>);</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_physics_1_1_actor_context.html#ace5fe68b654e8c5c5db404eccf9cded2">SetTransform</a>(<a class="code hl_struct" href="struct_physics_1_1_actor_id.html">ActorId</a> <span class="keywordtype">id</span>, <a class="code hl_struct" href="struct_math_1_1mat4.html">Math::mat4</a> <span class="keyword">const</span> & transform);</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> <span class="keyword">static</span> <a class="code hl_struct" href="struct_math_1_1mat4.html">Math::mat4</a> <a class="code hl_function" href="class_physics_1_1_actor_context.html#abdf823c0c0f7cb91c92a119532f7b46b">GetTransform</a>(<a class="code hl_struct" href="struct_physics_1_1_actor_id.html">ActorId</a> <span class="keywordtype">id</span>);</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_physics_1_1_actor_context.html#a963f49c0c0c56b904a45999c39e092f2">SetPositionOrientation</a>(<a class="code hl_struct" href="struct_physics_1_1_actor_id.html">ActorId</a> <span class="keywordtype">id</span>, <a class="code hl_struct" href="struct_math_1_1vec3.html">Math::vec3</a> <span class="keyword">const</span>& position, <a class="code hl_class" href="struct_math_1_1quat.html">Math::quat</a> <span class="keyword">const</span>& orientation);</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_physics_1_1_actor_context.html#a4a1ba2bd590955f52a04f55ae1b61aa2">GetPositionOrientation</a>(<a class="code hl_struct" href="struct_physics_1_1_actor_id.html">ActorId</a> <span class="keywordtype">id</span>, <a class="code hl_struct" href="struct_math_1_1vec3.html">Math::vec3</a>& position, <a class="code hl_class" href="struct_math_1_1quat.html">Math::quat</a>& orientation);</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span></div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_physics_1_1_actor_context.html#ae7ca581d9d60f3a28d9a2480a6ff5f4c">SetLinearVelocity</a>(<a class="code hl_struct" href="struct_physics_1_1_actor_id.html">ActorId</a> <span class="keywordtype">id</span>, <a class="code hl_struct" href="struct_math_1_1vector.html">Math::vector</a> speed);</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> <span class="keyword">static</span> <a class="code hl_struct" href="struct_math_1_1vector.html">Math::vector</a> <a class="code hl_function" href="class_physics_1_1_actor_context.html#a4e63d566b59c2e55cb8c472eaf2ddd49">GetLinearVelocity</a>(<a class="code hl_struct" href="struct_physics_1_1_actor_id.html">ActorId</a> <span class="keywordtype">id</span>);</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span></div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_physics_1_1_actor_context.html#ad04cf85d765206bdb46ea961af3c657c">SetAngularVelocity</a>(<a class="code hl_struct" href="struct_physics_1_1_actor_id.html">ActorId</a> <span class="keywordtype">id</span>, <a class="code hl_struct" href="struct_math_1_1vector.html">Math::vector</a> speed);</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> <span class="keyword">static</span> <a class="code hl_struct" href="struct_math_1_1vector.html">Math::vector</a> <a class="code hl_function" href="class_physics_1_1_actor_context.html#ae89b59f38bce2b0c456f424b34155d53">GetAngularVelocity</a>(<a class="code hl_struct" href="struct_physics_1_1_actor_id.html">ActorId</a> <span class="keywordtype">id</span>);</div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</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> <a class="code hl_function" href="class_physics_1_1_actor_context.html#a39eccc951d304a457424b0c0bd2d964e">ApplyImpulseAtPos</a>(<a class="code hl_struct" href="struct_physics_1_1_actor_id.html">ActorId</a> <span class="keywordtype">id</span>, <span class="keyword">const</span> <a class="code hl_struct" href="struct_math_1_1vector.html">Math::vector</a>& impulse, <span class="keyword">const</span> <a class="code hl_struct" href="struct_math_1_1point.html">Math::point</a>& pos);</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span></div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_physics_1_1_actor_context.html#a0e685a53b2e7fddd062d9a8b0d6d0684">SetCollisionFeedback</a>(<a class="code hl_struct" href="struct_physics_1_1_actor_id.html">ActorId</a> <span class="keywordtype">id</span>, CollisionFeedback feedback);</div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> </div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> <span class="comment">// shape stuff</span></div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"><a class="line" href="class_physics_1_1_actor_context.html#add6e556da0a26efccf78a7b44717072ea496549345df5eb3ebd25e3631d45cff4"> 75</a></span> <span class="keyword">enum</span> { <a class="code hl_enumvalue" href="class_physics_1_1_actor_context.html#add6e556da0a26efccf78a7b44717072ea496549345df5eb3ebd25e3631d45cff4">DefaultShapeAlloc</a> = 16 };</div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"><a class="line" href="class_physics_1_1_actor_context.html#a4f3e2af4781b1114464274a5c6f71e55"> 76</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="class_physics_1_1_actor_context.html#a4f3e2af4781b1114464274a5c6f71e55">ShapeArrayType</a> = <a class="code hl_typedef" href="namespace_util.html#a87b3071227d8c725c43e4263dd4e91b6">Util::StackArray<ShapeHandle, DefaultShapeAlloc></a>;</div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> <span class="keyword">static</span> <a class="code hl_typedef" href="types_8h.html#a869418dc7a0404b6441ebc39c5b4bb37">SizeT</a> <a class="code hl_function" href="class_physics_1_1_actor_context.html#aeb85330db1acb12ec480983962c3baad">GetShapeCount</a>(<a class="code hl_struct" href="struct_physics_1_1_actor_id.html">ActorId</a> <span class="keywordtype">id</span>);</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_physics_1_1_actor_context.html#ab038f9f8c0a2633bb64edfdcd69dbc7d">GetShapes</a>(<a class="code hl_struct" href="struct_physics_1_1_actor_id.html">ActorId</a> <span class="keywordtype">id</span>, <a class="code hl_typedef" href="class_physics_1_1_actor_context.html#a4f3e2af4781b1114464274a5c6f71e55">ShapeArrayType</a>& shapes);</div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> </div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> <span class="keyword">static</span> <a class="code hl_class" href="class_math_1_1transform.html">Math::transform</a> <a class="code hl_function" href="class_physics_1_1_actor_context.html#acc455aa703e7f65406311b6b339cf3b5">GetShapeTransform</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_physics_1_1_shape_handle.html">ShapeHandle</a>& shape);</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_physics_1_1_actor_context.html#abf7771b86b46d51c363174586dcd85df">SetShapeTransform</a>(<span class="keyword">const</span> <a class="code hl_struct" href="struct_physics_1_1_shape_handle.html">ShapeHandle</a>& shape, <span class="keyword">const</span> <a class="code hl_class" href="class_math_1_1transform.html">Math::transform</a>& transform);</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> </div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span></div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> <span class="keyword">static</span> physx::PxRigidActor* <a class="code hl_function" href="class_physics_1_1_actor_context.html#af909a9ff0a4989358d6334dc6a840a68">GetPxActor</a>(<a class="code hl_struct" href="struct_physics_1_1_actor_id.html">ActorId</a> <span class="keywordtype">id</span>);</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> <span class="keyword">static</span> physx::PxRigidDynamic* <a class="code hl_function" href="class_physics_1_1_actor_context.html#a65ebbc517cf0d5d8900340333041efd4">GetPxDynamic</a>(<a class="code hl_struct" href="struct_physics_1_1_actor_id.html">ActorId</a> <span class="keywordtype">id</span>);</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> </div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_physics_1_1_actor_context.html#ac64ce1f887b21698be82c8b6c94ff1a0">IsValid</a>(<a class="code hl_struct" href="struct_physics_1_1_actor_id.html">ActorId</a> <span class="keywordtype">id</span>);</div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> </div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"><a class="line" href="class_physics_1_1_actor_context.html#adfcf2b2d64925281939607c900344a44"> 91</a></span> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code hl_friend" href="class_physics_1_1_actor_context.html#adfcf2b2d64925281939607c900344a44">PhysxState</a>;</div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"><a class="line" href="class_physics_1_1_actor_context.html#aff85409699d4cb9d186084d3f480cc03"> 92</a></span> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code hl_friend" href="class_physics_1_1_actor_context.html#aff85409699d4cb9d186084d3f480cc03">StreamActorPool</a>;</div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"><a class="line" href="class_physics_1_1_actor_context.html#a7ca23096d2f907f301ed75f77099e06e"> 94</a></span> <span class="keyword">static</span> <a class="code hl_class" href="class_util_1_1_array.html">Util::Array<Actor></a> <a class="code hl_variable" href="class_physics_1_1_actor_context.html#a7ca23096d2f907f301ed75f77099e06e">actors</a>;</div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"><a class="line" href="class_physics_1_1_actor_context.html#a51de30c874a81fa6a27787adc00a5fbb"> 95</a></span> <span class="keyword">static</span> <a class="code hl_class" href="class_ids_1_1_id_generation_pool.html">Ids::IdGenerationPool</a> <a class="code hl_variable" href="class_physics_1_1_actor_context.html#a51de30c874a81fa6a27787adc00a5fbb">actorPool</a>;</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"><a class="line" href="class_physics_1_1_actor_context.html#ac3f81a6cf4d4eb411f7e6ffcb68dd328"> 97</a></span> <span class="keyword">static</span> <a class="code hl_struct" href="struct_physics_1_1_actor_id.html">ActorId</a> <a class="code hl_function" href="class_physics_1_1_actor_context.html#ac3f81a6cf4d4eb411f7e6ffcb68dd328">AllocateActorId</a>(physx::PxRigidActor* pxActor);</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"><a class="line" href="class_physics_1_1_actor_context.html#a8a4a8203c0b13021d8a0506e5b0582a6"> 99</a></span> <span class="keyword">static</span> <a class="code hl_struct" href="struct_physics_1_1_actor_id.html">ActorId</a> <a class="code hl_function" href="class_physics_1_1_actor_context.html#a8a4a8203c0b13021d8a0506e5b0582a6">AllocateActorId</a>(physx::PxRigidActor* pxActor, <a class="code hl_struct" href="struct_physics_1_1_actor_resource_id.html">ActorResourceId</a> res);</div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_physics_1_1_actor_context.html#a00218f901892a66a8611a57a624a63f4">DiscardActor</a>(<a class="code hl_struct" href="struct_physics_1_1_actor_id.html">ActorId</a> <span class="keywordtype">id</span>);</div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span>};</div>
</div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> </div>
<div class="foldopen" id="foldopen00104" data-start="{" data-end="};">
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"><a class="line" href="class_physics_1_1_aggregate_context.html"> 104</a></span><span class="keyword">class </span><a class="code hl_class" href="class_physics_1_1_aggregate_context.html">AggregateContext</a></div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span>{</div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> <span class="keyword">static</span> <a class="code hl_struct" href="struct_physics_1_1_aggregate.html">Aggregate</a>& <a class="code hl_function" href="class_physics_1_1_aggregate_context.html#a6221ad5d55965627a4bdc02279d81af0">GetAggregate</a>(<a class="code hl_struct" href="struct_physics_1_1_aggregate_id.html">AggregateId</a> <span class="keywordtype">id</span>);</div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> </div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"><a class="line" href="class_physics_1_1_aggregate_context.html#adfcf2b2d64925281939607c900344a44"> 109</a></span> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code hl_friend" href="class_physics_1_1_aggregate_context.html#adfcf2b2d64925281939607c900344a44">PhysxState</a>;</div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"><a class="line" href="class_physics_1_1_aggregate_context.html#aff85409699d4cb9d186084d3f480cc03"> 110</a></span> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code hl_friend" href="class_physics_1_1_aggregate_context.html#aff85409699d4cb9d186084d3f480cc03">StreamActorPool</a>;</div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"><a class="line" href="class_physics_1_1_aggregate_context.html#ac5a5132aed25a1fbc5bf051d8c64f506"> 112</a></span> <span class="keyword">static</span> <a class="code hl_class" href="class_util_1_1_array.html">Util::Array<Aggregate></a> <a class="code hl_variable" href="class_physics_1_1_aggregate_context.html#ac5a5132aed25a1fbc5bf051d8c64f506">aggregates</a>;</div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"><a class="line" href="class_physics_1_1_aggregate_context.html#a4f3492470656686a980cc155b9a434e7"> 113</a></span> <span class="keyword">static</span> <a class="code hl_class" href="class_ids_1_1_id_generation_pool.html">Ids::IdGenerationPool</a> <a class="code hl_variable" href="class_physics_1_1_aggregate_context.html#a4f3492470656686a980cc155b9a434e7">aggPool</a>;</div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> <span class="keyword">static</span> <a class="code hl_struct" href="struct_physics_1_1_aggregate_id.html">AggregateId</a> <a class="code hl_function" href="class_physics_1_1_aggregate_context.html#a28e7e3446eb4731bd371df3f56b0dcd3">AllocateAggregateId</a>(<a class="code hl_struct" href="struct_physics_1_1_aggregate_resource_id.html">AggregateResourceId</a> res);</div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_physics_1_1_aggregate_context.html#a824975a49f6271f8336a98fe44805e79">DiscardAggregate</a>(<a class="code hl_struct" href="struct_physics_1_1_aggregate_id.html">AggregateId</a> <span class="keywordtype">id</span>);</div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span>};</div>
</div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> </div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span><span class="comment">//------------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span><span class="keyword">inline</span> <span class="keywordtype">bool</span></div>
<div class="foldopen" id="foldopen00124" data-start="{" data-end="}">
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"><a class="line" href="class_physics_1_1_actor_context.html#ac64ce1f887b21698be82c8b6c94ff1a0"> 124</a></span><a class="code hl_function" href="class_physics_1_1_actor_context.html#ac64ce1f887b21698be82c8b6c94ff1a0">ActorContext::IsValid</a>(<a class="code hl_struct" href="struct_physics_1_1_actor_id.html">ActorId</a> <span class="keywordtype">id</span>)</div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span>{</div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="class_physics_1_1_actor_context.html#a51de30c874a81fa6a27787adc00a5fbb">ActorContext::actorPool</a>.IsValid(<span class="keywordtype">id</span>.<span class="keywordtype">id</span>);</div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span>}</div>
</div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> </div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span>}</div>
<div class="ttc" id="aclass_ids_1_1_id_generation_pool_html"><div class="ttname"><a href="class_ids_1_1_id_generation_pool.html">Ids::IdGenerationPool</a></div><div class="ttdoc">Provides a system for creating array friendly id numbers with reuse and generations.</div><div class="ttdef"><b>Definition</b> idgenerationpool.h:43</div></div>
<div class="ttc" id="aclass_math_1_1transform_html"><div class="ttname"><a href="class_math_1_1transform.html">Math::transform</a></div><div class="ttdoc">Simple transform using position, quaternion, and scale.</div><div class="ttdef"><b>Definition</b> transform.h:18</div></div>
<div class="ttc" id="aclass_physics_1_1_actor_context_html"><div class="ttname"><a href="class_physics_1_1_actor_context.html">Physics::ActorContext</a></div><div class="ttdef"><b>Definition</b> actorcontext.h:35</div></div>
<div class="ttc" id="aclass_physics_1_1_actor_context_html_a00218f901892a66a8611a57a624a63f4"><div class="ttname"><a href="class_physics_1_1_actor_context.html#a00218f901892a66a8611a57a624a63f4">Physics::ActorContext::DiscardActor</a></div><div class="ttdeci">static void DiscardActor(ActorId id)</div><div class="ttdef"><b>Definition</b> actorcontext.cc:62</div></div>
<div class="ttc" id="aclass_physics_1_1_actor_context_html_a0e685a53b2e7fddd062d9a8b0d6d0684"><div class="ttname"><a href="class_physics_1_1_actor_context.html#a0e685a53b2e7fddd062d9a8b0d6d0684">Physics::ActorContext::SetCollisionFeedback</a></div><div class="ttdeci">static void SetCollisionFeedback(ActorId id, CollisionFeedback feedback)</div><div class="ttdoc">modify collision callback handling</div><div class="ttdef"><b>Definition</b> actorcontext.cc:358</div></div>
<div class="ttc" id="aclass_physics_1_1_actor_context_html_a35697450a0ea38d22723cdd769059b5a"><div class="ttname"><a href="class_physics_1_1_actor_context.html#a35697450a0ea38d22723cdd769059b5a">Physics::ActorContext::CreateCapsule</a></div><div class="ttdeci">static ActorId CreateCapsule(float radius, float halfHeight, IndexT material, ActorType type, Math::mat4 const &transform, IndexT scene=0)</div><div class="ttdef"><b>Definition</b> actorcontext.cc:122</div></div>
<div class="ttc" id="aclass_physics_1_1_actor_context_html_a39eccc951d304a457424b0c0bd2d964e"><div class="ttname"><a href="class_physics_1_1_actor_context.html#a39eccc951d304a457424b0c0bd2d964e">Physics::ActorContext::ApplyImpulseAtPos</a></div><div class="ttdeci">static void ApplyImpulseAtPos(ActorId id, const Math::vector &impulse, const Math::point &pos)</div><div class="ttdoc">apply a global impulse vector at the next time step at a global position</div><div class="ttdef"><b>Definition</b> actorcontext.cc:271</div></div>
<div class="ttc" id="aclass_physics_1_1_actor_context_html_a3a11e2401472a49514b6a61676e07053"><div class="ttname"><a href="class_physics_1_1_actor_context.html#a3a11e2401472a49514b6a61676e07053">Physics::ActorContext::CreateBox</a></div><div class="ttdeci">static ActorId CreateBox(Math::vector const &extends, IndexT material, ActorType type, Math::mat4 const &transform, IndexT scene=0)</div><div class="ttdoc">helper functions for creating shapes</div><div class="ttdef"><b>Definition</b> actorcontext.cc:80</div></div>
<div class="ttc" id="aclass_physics_1_1_actor_context_html_a49766ed089836816fdac69af9b4a263f"><div class="ttname"><a href="class_physics_1_1_actor_context.html#a49766ed089836816fdac69af9b4a263f">Physics::ActorContext::CreatePlane</a></div><div class="ttdeci">static ActorId CreatePlane(Math::plane const &plane, IndexT material, IndexT scene=0)</div><div class="ttdef"><b>Definition</b> actorcontext.cc:142</div></div>
<div class="ttc" id="aclass_physics_1_1_actor_context_html_a4a1ba2bd590955f52a04f55ae1b61aa2"><div class="ttname"><a href="class_physics_1_1_actor_context.html#a4a1ba2bd590955f52a04f55ae1b61aa2">Physics::ActorContext::GetPositionOrientation</a></div><div class="ttdeci">static void GetPositionOrientation(ActorId id, Math::vec3 &position, Math::quat &orientation)</div><div class="ttdef"><b>Definition</b> actorcontext.cc:219</div></div>
<div class="ttc" id="aclass_physics_1_1_actor_context_html_a4e63d566b59c2e55cb8c472eaf2ddd49"><div class="ttname"><a href="class_physics_1_1_actor_context.html#a4e63d566b59c2e55cb8c472eaf2ddd49">Physics::ActorContext::GetLinearVelocity</a></div><div class="ttdeci">static Math::vector GetLinearVelocity(ActorId id)</div><div class="ttdef"><b>Definition</b> actorcontext.cc:241</div></div>
<div class="ttc" id="aclass_physics_1_1_actor_context_html_a4f3e2af4781b1114464274a5c6f71e55"><div class="ttname"><a href="class_physics_1_1_actor_context.html#a4f3e2af4781b1114464274a5c6f71e55">Physics::ActorContext::ShapeArrayType</a></div><div class="ttdeci">Util::StackArray< ShapeHandle, DefaultShapeAlloc > ShapeArrayType</div><div class="ttdef"><b>Definition</b> actorcontext.h:76</div></div>
<div class="ttc" id="aclass_physics_1_1_actor_context_html_a51de30c874a81fa6a27787adc00a5fbb"><div class="ttname"><a href="class_physics_1_1_actor_context.html#a51de30c874a81fa6a27787adc00a5fbb">Physics::ActorContext::actorPool</a></div><div class="ttdeci">static Ids::IdGenerationPool actorPool</div><div class="ttdef"><b>Definition</b> actorcontext.h:95</div></div>
<div class="ttc" id="aclass_physics_1_1_actor_context_html_a65ebbc517cf0d5d8900340333041efd4"><div class="ttname"><a href="class_physics_1_1_actor_context.html#a65ebbc517cf0d5d8900340333041efd4">Physics::ActorContext::GetPxDynamic</a></div><div class="ttdeci">static physx::PxRigidDynamic * GetPxDynamic(ActorId id)</div><div class="ttdoc">shortcut for getting the pxactor object</div><div class="ttdef"><b>Definition</b> actorcontext.cc:292</div></div>
<div class="ttc" id="aclass_physics_1_1_actor_context_html_a7ca23096d2f907f301ed75f77099e06e"><div class="ttname"><a href="class_physics_1_1_actor_context.html#a7ca23096d2f907f301ed75f77099e06e">Physics::ActorContext::actors</a></div><div class="ttdeci">static Util::Array< Actor > actors</div><div class="ttdef"><b>Definition</b> actorcontext.h:94</div></div>
<div class="ttc" id="aclass_physics_1_1_actor_context_html_a8a4a8203c0b13021d8a0506e5b0582a6"><div class="ttname"><a href="class_physics_1_1_actor_context.html#a8a4a8203c0b13021d8a0506e5b0582a6">Physics::ActorContext::AllocateActorId</a></div><div class="ttdeci">static ActorId AllocateActorId(physx::PxRigidActor *pxActor, ActorResourceId res)</div></div>
<div class="ttc" id="aclass_physics_1_1_actor_context_html_a8fd1490f05df2927228c9788a61627c0"><div class="ttname"><a href="class_physics_1_1_actor_context.html#a8fd1490f05df2927228c9788a61627c0">Physics::ActorContext::GetActor</a></div><div class="ttdeci">static Actor & GetActor(ActorId id)</div><div class="ttdef"><b>Definition</b> actorcontext.cc:164</div></div>
<div class="ttc" id="aclass_physics_1_1_actor_context_html_a963f49c0c0c56b904a45999c39e092f2"><div class="ttname"><a href="class_physics_1_1_actor_context.html#a963f49c0c0c56b904a45999c39e092f2">Physics::ActorContext::SetPositionOrientation</a></div><div class="ttdeci">static void SetPositionOrientation(ActorId id, Math::vec3 const &position, Math::quat const &orientation)</div><div class="ttdef"><b>Definition</b> actorcontext.cc:201</div></div>
<div class="ttc" id="aclass_physics_1_1_actor_context_html_ab038f9f8c0a2633bb64edfdcd69dbc7d"><div class="ttname"><a href="class_physics_1_1_actor_context.html#ab038f9f8c0a2633bb64edfdcd69dbc7d">Physics::ActorContext::GetShapes</a></div><div class="ttdeci">static void GetShapes(ActorId id, ShapeArrayType &shapes)</div><div class="ttdef"><b>Definition</b> actorcontext.cc:318</div></div>
<div class="ttc" id="aclass_physics_1_1_actor_context_html_abdf823c0c0f7cb91c92a119532f7b46b"><div class="ttname"><a href="class_physics_1_1_actor_context.html#abdf823c0c0f7cb91c92a119532f7b46b">Physics::ActorContext::GetTransform</a></div><div class="ttdeci">static Math::mat4 GetTransform(ActorId id)</div><div class="ttdef"><b>Definition</b> actorcontext.cc:191</div></div>
<div class="ttc" id="aclass_physics_1_1_actor_context_html_abf7771b86b46d51c363174586dcd85df"><div class="ttname"><a href="class_physics_1_1_actor_context.html#abf7771b86b46d51c363174586dcd85df">Physics::ActorContext::SetShapeTransform</a></div><div class="ttdeci">static void SetShapeTransform(const ShapeHandle &shape, const Math::transform &transform)</div><div class="ttdef"><b>Definition</b> actorcontext.cc:347</div></div>
<div class="ttc" id="aclass_physics_1_1_actor_context_html_ac3f81a6cf4d4eb411f7e6ffcb68dd328"><div class="ttname"><a href="class_physics_1_1_actor_context.html#ac3f81a6cf4d4eb411f7e6ffcb68dd328">Physics::ActorContext::AllocateActorId</a></div><div class="ttdeci">static ActorId AllocateActorId(physx::PxRigidActor *pxActor)</div></div>
<div class="ttc" id="aclass_physics_1_1_actor_context_html_ac64ce1f887b21698be82c8b6c94ff1a0"><div class="ttname"><a href="class_physics_1_1_actor_context.html#ac64ce1f887b21698be82c8b6c94ff1a0">Physics::ActorContext::IsValid</a></div><div class="ttdeci">static bool IsValid(ActorId id)</div><div class="ttdef"><b>Definition</b> actorcontext.h:124</div></div>
<div class="ttc" id="aclass_physics_1_1_actor_context_html_acc455aa703e7f65406311b6b339cf3b5"><div class="ttname"><a href="class_physics_1_1_actor_context.html#acc455aa703e7f65406311b6b339cf3b5">Physics::ActorContext::GetShapeTransform</a></div><div class="ttdeci">static Math::transform GetShapeTransform(const ShapeHandle &shape)</div><div class="ttdef"><b>Definition</b> actorcontext.cc:338</div></div>
<div class="ttc" id="aclass_physics_1_1_actor_context_html_ace5fe68b654e8c5c5db404eccf9cded2"><div class="ttname"><a href="class_physics_1_1_actor_context.html#ace5fe68b654e8c5c5db404eccf9cded2">Physics::ActorContext::SetTransform</a></div><div class="ttdeci">static void SetTransform(ActorId id, Math::mat4 const &transform)</div><div class="ttdef"><b>Definition</b> actorcontext.cc:173</div></div>
<div class="ttc" id="aclass_physics_1_1_actor_context_html_ad04cf85d765206bdb46ea961af3c657c"><div class="ttname"><a href="class_physics_1_1_actor_context.html#ad04cf85d765206bdb46ea961af3c657c">Physics::ActorContext::SetAngularVelocity</a></div><div class="ttdeci">static void SetAngularVelocity(ActorId id, Math::vector speed)</div><div class="ttdef"><b>Definition</b> actorcontext.cc:251</div></div>
<div class="ttc" id="aclass_physics_1_1_actor_context_html_add6e556da0a26efccf78a7b44717072ea496549345df5eb3ebd25e3631d45cff4"><div class="ttname"><a href="class_physics_1_1_actor_context.html#add6e556da0a26efccf78a7b44717072ea496549345df5eb3ebd25e3631d45cff4">Physics::ActorContext::DefaultShapeAlloc</a></div><div class="ttdeci">@ DefaultShapeAlloc</div><div class="ttdef"><b>Definition</b> actorcontext.h:75</div></div>
<div class="ttc" id="aclass_physics_1_1_actor_context_html_adfcf2b2d64925281939607c900344a44"><div class="ttname"><a href="class_physics_1_1_actor_context.html#adfcf2b2d64925281939607c900344a44">Physics::ActorContext::PhysxState</a></div><div class="ttdeci">friend class PhysxState</div><div class="ttdef"><b>Definition</b> actorcontext.h:91</div></div>
<div class="ttc" id="aclass_physics_1_1_actor_context_html_ae7224e24fe22ce6b2b448d4022a29f5b"><div class="ttname"><a href="class_physics_1_1_actor_context.html#ae7224e24fe22ce6b2b448d4022a29f5b">Physics::ActorContext::CreateSphere</a></div><div class="ttdeci">static ActorId CreateSphere(float radius, IndexT material, ActorType type, Math::mat4 const &transform, IndexT scene=0)</div><div class="ttdef"><b>Definition</b> actorcontext.cc:101</div></div>
<div class="ttc" id="aclass_physics_1_1_actor_context_html_ae7ca581d9d60f3a28d9a2480a6ff5f4c"><div class="ttname"><a href="class_physics_1_1_actor_context.html#ae7ca581d9d60f3a28d9a2480a6ff5f4c">Physics::ActorContext::SetLinearVelocity</a></div><div class="ttdeci">static void SetLinearVelocity(ActorId id, Math::vector speed)</div><div class="ttdef"><b>Definition</b> actorcontext.cc:231</div></div>
<div class="ttc" id="aclass_physics_1_1_actor_context_html_ae89b59f38bce2b0c456f424b34155d53"><div class="ttname"><a href="class_physics_1_1_actor_context.html#ae89b59f38bce2b0c456f424b34155d53">Physics::ActorContext::GetAngularVelocity</a></div><div class="ttdeci">static Math::vector GetAngularVelocity(ActorId id)</div><div class="ttdef"><b>Definition</b> actorcontext.cc:261</div></div>
<div class="ttc" id="aclass_physics_1_1_actor_context_html_aeb85330db1acb12ec480983962c3baad"><div class="ttname"><a href="class_physics_1_1_actor_context.html#aeb85330db1acb12ec480983962c3baad">Physics::ActorContext::GetShapeCount</a></div><div class="ttdeci">static SizeT GetShapeCount(ActorId id)</div><div class="ttdef"><b>Definition</b> actorcontext.cc:302</div></div>
<div class="ttc" id="aclass_physics_1_1_actor_context_html_af909a9ff0a4989358d6334dc6a840a68"><div class="ttname"><a href="class_physics_1_1_actor_context.html#af909a9ff0a4989358d6334dc6a840a68">Physics::ActorContext::GetPxActor</a></div><div class="ttdeci">static physx::PxRigidActor * GetPxActor(ActorId id)</div><div class="ttdoc">shortcut for getting the pxactor object</div><div class="ttdef"><b>Definition</b> actorcontext.cc:282</div></div>
<div class="ttc" id="aclass_physics_1_1_actor_context_html_aff85409699d4cb9d186084d3f480cc03"><div class="ttname"><a href="class_physics_1_1_actor_context.html#aff85409699d4cb9d186084d3f480cc03">Physics::ActorContext::StreamActorPool</a></div><div class="ttdeci">friend class StreamActorPool</div><div class="ttdef"><b>Definition</b> actorcontext.h:92</div></div>
<div class="ttc" id="aclass_physics_1_1_aggregate_context_html"><div class="ttname"><a href="class_physics_1_1_aggregate_context.html">Physics::AggregateContext</a></div><div class="ttdef"><b>Definition</b> actorcontext.h:105</div></div>
<div class="ttc" id="aclass_physics_1_1_aggregate_context_html_a28e7e3446eb4731bd371df3f56b0dcd3"><div class="ttname"><a href="class_physics_1_1_aggregate_context.html#a28e7e3446eb4731bd371df3f56b0dcd3">Physics::AggregateContext::AllocateAggregateId</a></div><div class="ttdeci">static AggregateId AllocateAggregateId(AggregateResourceId res)</div><div class="ttdef"><b>Definition</b> actorcontext.cc:385</div></div>
<div class="ttc" id="aclass_physics_1_1_aggregate_context_html_a4f3492470656686a980cc155b9a434e7"><div class="ttname"><a href="class_physics_1_1_aggregate_context.html#a4f3492470656686a980cc155b9a434e7">Physics::AggregateContext::aggPool</a></div><div class="ttdeci">static Ids::IdGenerationPool aggPool</div><div class="ttdef"><b>Definition</b> actorcontext.h:113</div></div>
<div class="ttc" id="aclass_physics_1_1_aggregate_context_html_a6221ad5d55965627a4bdc02279d81af0"><div class="ttname"><a href="class_physics_1_1_aggregate_context.html#a6221ad5d55965627a4bdc02279d81af0">Physics::AggregateContext::GetAggregate</a></div><div class="ttdeci">static Aggregate & GetAggregate(AggregateId id)</div><div class="ttdef"><b>Definition</b> actorcontext.cc:406</div></div>
<div class="ttc" id="aclass_physics_1_1_aggregate_context_html_a824975a49f6271f8336a98fe44805e79"><div class="ttname"><a href="class_physics_1_1_aggregate_context.html#a824975a49f6271f8336a98fe44805e79">Physics::AggregateContext::DiscardAggregate</a></div><div class="ttdeci">static void DiscardAggregate(AggregateId id)</div><div class="ttdef"><b>Definition</b> actorcontext.cc:417</div></div>
<div class="ttc" id="aclass_physics_1_1_aggregate_context_html_ac5a5132aed25a1fbc5bf051d8c64f506"><div class="ttname"><a href="class_physics_1_1_aggregate_context.html#ac5a5132aed25a1fbc5bf051d8c64f506">Physics::AggregateContext::aggregates</a></div><div class="ttdeci">static Util::Array< Aggregate > aggregates</div><div class="ttdef"><b>Definition</b> actorcontext.h:112</div></div>
<div class="ttc" id="aclass_physics_1_1_aggregate_context_html_adfcf2b2d64925281939607c900344a44"><div class="ttname"><a href="class_physics_1_1_aggregate_context.html#adfcf2b2d64925281939607c900344a44">Physics::AggregateContext::PhysxState</a></div><div class="ttdeci">friend class PhysxState</div><div class="ttdef"><b>Definition</b> actorcontext.h:109</div></div>
<div class="ttc" id="aclass_physics_1_1_aggregate_context_html_aff85409699d4cb9d186084d3f480cc03"><div class="ttname"><a href="class_physics_1_1_aggregate_context.html#aff85409699d4cb9d186084d3f480cc03">Physics::AggregateContext::StreamActorPool</a></div><div class="ttdeci">friend class StreamActorPool</div><div class="ttdef"><b>Definition</b> actorcontext.h:110</div></div>
<div class="ttc" id="aclass_physics_1_1_physx_state_html"><div class="ttname"><a href="class_physics_1_1_physx_state.html">Physics::PhysxState</a></div><div class="ttdef"><b>Definition</b> physxstate.h:25</div></div>
<div class="ttc" id="aclass_physics_1_1_stream_actor_pool_html"><div class="ttname"><a href="class_physics_1_1_stream_actor_pool.html">Physics::StreamActorPool</a></div><div class="ttdef"><b>Definition</b> streamactorpool.h:65</div></div>
<div class="ttc" id="aclass_util_1_1_array_html"><div class="ttname"><a href="class_util_1_1_array.html">Util::Array</a></div><div class="ttdoc">Nebula's dynamic array class.</div><div class="ttdef"><b>Definition</b> array.h:60</div></div>
<div class="ttc" id="aidgenerationpool_8h_html"><div class="ttname"><a href="idgenerationpool_8h.html">idgenerationpool.h</a></div></div>
<div class="ttc" id="amat4_8h_html"><div class="ttname"><a href="mat4_8h.html">mat4.h</a></div></div>
<div class="ttc" id="anamespace_physics_html"><div class="ttname"><a href="namespace_physics.html">Physics</a></div><div class="ttdoc">Diverse functions for manipulating physics actors.</div><div class="ttdef"><b>Definition</b> actorcontext.cc:18</div></div>
<div class="ttc" id="anamespace_physics_html_a303c363e8dc20be9dd9232685b2e81e3"><div class="ttname"><a href="namespace_physics.html#a303c363e8dc20be9dd9232685b2e81e3">Physics::ActorType</a></div><div class="ttdeci">ActorType</div><div class="ttdef"><b>Definition</b> physicsinterface.h:35</div></div>
<div class="ttc" id="anamespace_util_html_a87b3071227d8c725c43e4263dd4e91b6"><div class="ttname"><a href="namespace_util.html#a87b3071227d8c725c43e4263dd4e91b6">Util::StackArray</a></div><div class="ttdeci">Array< TYPE, STACK_SIZE > StackArray</div><div class="ttdef"><b>Definition</b> array.h:1881</div></div>
<div class="ttc" id="aphysicsinterface_8h_html"><div class="ttname"><a href="physicsinterface_8h.html">physicsinterface.h</a></div></div>
<div class="ttc" id="aplane_8h_html"><div class="ttname"><a href="plane_8h.html">plane.h</a></div></div>
<div class="ttc" id="astruct_math_1_1mat4_html"><div class="ttname"><a href="struct_math_1_1mat4.html">Math::mat4</a></div><div class="ttdoc">A 4x4 single point precision float matrix.</div><div class="ttdef"><b>Definition</b> mat4.h:49</div></div>
<div class="ttc" id="astruct_math_1_1plane_html"><div class="ttname"><a href="struct_math_1_1plane.html">Math::plane</a></div><div class="ttdoc">A mathematical plane represented by a normal and a distance from origin.</div><div class="ttdef"><b>Definition</b> plane.h:22</div></div>
<div class="ttc" id="astruct_math_1_1point_html"><div class="ttname"><a href="struct_math_1_1point.html">Math::point</a></div><div class="ttdoc">Represents a 3D point in space.</div><div class="ttdef"><b>Definition</b> point.h:22</div></div>
<div class="ttc" id="astruct_math_1_1quat_html"><div class="ttname"><a href="struct_math_1_1quat.html">Math::quat</a></div><div class="ttdoc">A quaternion is usually used to represent an orientation in 3D space.</div><div class="ttdef"><b>Definition</b> quat.h:30</div></div>
<div class="ttc" id="astruct_math_1_1vec3_html"><div class="ttname"><a href="struct_math_1_1vec3.html">Math::vec3</a></div><div class="ttdoc">A 3D vector.</div><div class="ttdef"><b>Definition</b> vec3.h:40</div></div>
<div class="ttc" id="astruct_math_1_1vector_html"><div class="ttname"><a href="struct_math_1_1vector.html">Math::vector</a></div><div class="ttdoc">A vector is a 3D direction in space.</div><div class="ttdef"><b>Definition</b> vector.h:22</div></div>
<div class="ttc" id="astruct_physics_1_1_actor_html"><div class="ttname"><a href="struct_physics_1_1_actor.html">Physics::Actor</a></div><div class="ttdef"><b>Definition</b> physicsinterface.h:71</div></div>
<div class="ttc" id="astruct_physics_1_1_actor_id_html"><div class="ttname"><a href="struct_physics_1_1_actor_id.html">Physics::ActorId</a></div><div class="ttdef"><b>Definition</b> physicsinterface.h:50</div></div>
<div class="ttc" id="astruct_physics_1_1_actor_resource_id_html"><div class="ttname"><a href="struct_physics_1_1_actor_resource_id.html">Physics::ActorResourceId</a></div><div class="ttdef"><b>Definition</b> physicsinterface.h:29</div></div>
<div class="ttc" id="astruct_physics_1_1_aggregate_html"><div class="ttname"><a href="struct_physics_1_1_aggregate.html">Physics::Aggregate</a></div><div class="ttdef"><b>Definition</b> physicsinterface.h:90</div></div>
<div class="ttc" id="astruct_physics_1_1_aggregate_id_html"><div class="ttname"><a href="struct_physics_1_1_aggregate_id.html">Physics::AggregateId</a></div><div class="ttdef"><b>Definition</b> physicsinterface.h:64</div></div>
<div class="ttc" id="astruct_physics_1_1_aggregate_resource_id_html"><div class="ttname"><a href="struct_physics_1_1_aggregate_resource_id.html">Physics::AggregateResourceId</a></div><div class="ttdef"><b>Definition</b> physicsinterface.h:30</div></div>
<div class="ttc" id="astruct_physics_1_1_shape_handle_html"><div class="ttname"><a href="struct_physics_1_1_shape_handle.html">Physics::ShapeHandle</a></div><div class="ttdef"><b>Definition</b> actorcontext.h:23</div></div>
<div class="ttc" id="astruct_physics_1_1_shape_handle_html_a7714012e33abe4526cd06a51fbfb306c"><div class="ttname"><a href="struct_physics_1_1_shape_handle.html#a7714012e33abe4526cd06a51fbfb306c">Physics::ShapeHandle::ShapeHandle</a></div><div class="ttdeci">ShapeHandle(physx::PxShape *inShape)</div><div class="ttdef"><b>Definition</b> actorcontext.h:25</div></div>
<div class="ttc" id="astruct_physics_1_1_shape_handle_html_a87148748a438ff7e603f9b985eba548e"><div class="ttname"><a href="struct_physics_1_1_shape_handle.html#a87148748a438ff7e603f9b985eba548e">Physics::ShapeHandle::IsValid</a></div><div class="ttdeci">bool IsValid() const</div><div class="ttdef"><b>Definition</b> actorcontext.h:26</div></div>
<div class="ttc" id="astruct_physics_1_1_shape_handle_html_aa0c76a6f067268b880f8d40ad381d979"><div class="ttname"><a href="struct_physics_1_1_shape_handle.html#aa0c76a6f067268b880f8d40ad381d979">Physics::ShapeHandle::ShapeHandle</a></div><div class="ttdeci">ShapeHandle()</div><div class="ttdef"><b>Definition</b> actorcontext.h:24</div></div>
<div class="ttc" id="astruct_physics_1_1_shape_handle_html_abfd02def51f49b482afa49d5d00d9d3f"><div class="ttname"><a href="struct_physics_1_1_shape_handle.html#abfd02def51f49b482afa49d5d00d9d3f">Physics::ShapeHandle::operator==</a></div><div class="ttdeci">bool operator==(const ShapeHandle &other)</div><div class="ttdef"><b>Definition</b> actorcontext.h:27</div></div>
<div class="ttc" id="astruct_physics_1_1_shape_handle_html_ae0926c9b8b8ee48aa74599e273dec9c8"><div class="ttname"><a href="struct_physics_1_1_shape_handle.html#ae0926c9b8b8ee48aa74599e273dec9c8">Physics::ShapeHandle::shape</a></div><div class="ttdeci">physx::PxShape * shape</div><div class="ttdef"><b>Definition</b> actorcontext.h:28</div></div>
<div class="ttc" id="atransform_8h_html"><div class="ttname"><a href="transform_8h.html">transform.h</a></div></div>
<div class="ttc" id="atupleutility_8h_html"><div class="ttname"><a href="tupleutility_8h.html">tupleutility.h</a></div></div>
<div class="ttc" id="atypes_8h_html_a869418dc7a0404b6441ebc39c5b4bb37"><div class="ttname"><a href="types_8h.html#a869418dc7a0404b6441ebc39c5b4bb37">SizeT</a></div><div class="ttdeci">int SizeT</div><div class="ttdef"><b>Definition</b> types.h:49</div></div>
<div class="ttc" id="atypes_8h_html_ad119735112d40fd29a3017de944ccc98"><div class="ttname"><a href="types_8h.html#ad119735112d40fd29a3017de944ccc98">IndexT</a></div><div class="ttdeci">int IndexT</div><div class="ttdef"><b>Definition</b> types.h:48</div></div>
<div class="ttc" id="avector_8h_html"><div class="ttname"><a href="vector_8h.html">vector.h</a></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_050edd66366d13764f98250ef6db77f6.html">code</a></li><li class="navelem"><a class="el" href="dir_574d321306f111fe13f289f4f129e456.html">physics</a></li><li class="navelem"><a class="el" href="dir_352832f12b9478246c52b270ca81d862.html">physics</a></li><li class="navelem"><a class="el" href="actorcontext_8h.html">actorcontext.h</a></li>
<li class="footer">
Generated on Tue Jan 28 2025 22:43:05 for Nebula. Dark theme by <a href="http://majerle.eu" target="_new">Tilen Majerle</a>. All rights reserved.
</li>
</ul>
</div>
<script src="custom.js"></script>
</body>
</html>