summaryrefslogtreecommitdiffhomepage
path: root/Doc/doxygen/html/_physical_8h_source.html
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/doxygen/html/_physical_8h_source.html')
-rw-r--r--Doc/doxygen/html/_physical_8h_source.html322
1 files changed, 322 insertions, 0 deletions
diff --git a/Doc/doxygen/html/_physical_8h_source.html b/Doc/doxygen/html/_physical_8h_source.html
new file mode 100644
index 0000000..cfb8bed
--- /dev/null
+++ b/Doc/doxygen/html/_physical_8h_source.html
@@ -0,0 +1,322 @@
+<!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"/>
+<title>Starshatter_Open: D:/SRC/StarshatterSVN/nGenEx/Physical.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="resize.js"></script>
+<script type="text/javascript" src="navtree.js"></script>
+<script type="text/javascript">
+ $(document).ready(initResizable);
+</script>
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="search/search.js"></script>
+<script type="text/javascript">
+ $(document).ready(function() { searchBox.OnSelectItem(0); });
+</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 style="height: 56px;">
+ <td style="padding-left: 0.5em;">
+ <div id="projectname">Starshatter_Open
+ </div>
+ <div id="projectbrief">Open source Starshatter engine</div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.1 -->
+<script type="text/javascript">
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
+</script>
+ <div id="navrow1" class="tabs">
+ <ul class="tablist">
+ <li><a href="index.html"><span>Main&#160;Page</span></a></li>
+ <li><a href="annotated.html"><span>Classes</span></a></li>
+ <li class="current"><a href="files.html"><span>Files</span></a></li>
+ <li>
+ <div id="MSearchBox" class="MSearchBoxInactive">
+ <span class="left">
+ <img id="MSearchSelect" src="search/mag_sel.png"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ alt=""/>
+ <input type="text" id="MSearchField" value="Search" accesskey="S"
+ onfocus="searchBox.OnSearchFieldFocus(true)"
+ onblur="searchBox.OnSearchFieldFocus(false)"
+ onkeyup="searchBox.OnSearchFieldChange(event)"/>
+ </span><span class="right">
+ <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
+ </span>
+ </div>
+ </li>
+ </ul>
+ </div>
+ <div id="navrow2" class="tabs2">
+ <ul class="tablist">
+ <li><a href="files.html"><span>File&#160;List</span></a></li>
+ <li><a href="globals.html"><span>File&#160;Members</span></a></li>
+ </ul>
+ </div>
+</div><!-- top -->
+<div id="side-nav" class="ui-resizable side-nav-resizable">
+ <div id="nav-tree">
+ <div id="nav-tree-contents">
+ </div>
+ </div>
+ <div id="splitbar" style="-moz-user-select:none;"
+ class="ui-resizable-handle">
+ </div>
+</div>
+<script type="text/javascript">
+$(document).ready(function(){initNavTree('_physical_8h.html','');});
+</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)">
+<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Macros</a></div>
+
+<!-- iframe showing the search results (closed by default) -->
+<div id="MSearchResultsWindow">
+<iframe src="javascript:void(0)" frameborder="0"
+ name="MSearchResults" id="MSearchResults">
+</iframe>
+</div>
+
+<div class="header">
+ <div class="headertitle">
+<div class="title">Physical.h</div> </div>
+</div><!--header-->
+<div class="contents">
+<a href="_physical_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/* Project nGenEx</span></div>
+<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> Destroyer Studios LLC</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> Copyright © 1997-2004. All Rights Reserved.</span></div>
+<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"></span></div>
+<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> SUBSYSTEM: nGenEx.lib</span></div>
+<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> FILE: Physical.h</span></div>
+<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> AUTHOR: John DiCamillo</span></div>
+<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"></span></div>
+<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"></span></div>
+<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> OVERVIEW</span></div>
+<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> ========</span></div>
+<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> Abstract Physical Object</span></div>
+<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment">*/</span></div>
+<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;</div>
+<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="preprocessor">#ifndef Physical_h</span></div>
+<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define Physical_h</span></div>
+<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor"></span></div>
+<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_types_8h.html">Types.h</a>&quot;</span></div>
+<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_geometry_8h.html">Geometry.h</a>&quot;</span></div>
+<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_camera_8h.html">Camera.h</a>&quot;</span></div>
+<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;</div>
+<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="comment">// +--------------------------------------------------------------------+</span></div>
+<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;</div>
+<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="keyword">class </span><a class="code" href="class_director.html">Director</a>;</div>
+<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="keyword">class </span><a class="code" href="class_graphic.html">Graphic</a>;</div>
+<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="keyword">class </span><a class="code" href="class_light.html">Light</a>;</div>
+<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;</div>
+<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="comment">// +--------------------------------------------------------------------+</span></div>
+<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;</div>
+<div class="line"><a name="l00030"></a><span class="lineno"><a class="code" href="class_physical.html"> 30</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_physical.html">Physical</a></div>
+<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;{</div>
+<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="keyword">public</span>:</div>
+<div class="line"><a name="l00033"></a><span class="lineno"><a class="code" href="class_physical.html#a74bd3868f99b56b1359428b333db3d8f"> 33</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_physical.html#a74bd3868f99b56b1359428b333db3d8f">TYPENAME</a>() { <span class="keywordflow">return</span> <span class="stringliteral">&quot;Physical&quot;</span>; }</div>
+<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;</div>
+<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; <a class="code" href="class_physical.html#ac11a1bca87389886d9d8291fef41ad8c">Physical</a>();</div>
+<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; <a class="code" href="class_physical.html#ac11a1bca87389886d9d8291fef41ad8c">Physical</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* n, <span class="keywordtype">int</span> t=0);</div>
+<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; <span class="keyword">virtual</span> <a class="code" href="class_physical.html#a91cc6325d27fe86bddeab281c0ff068f">~Physical</a>();</div>
+<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;</div>
+<div class="line"><a name="l00039"></a><span class="lineno"><a class="code" href="class_physical.html#a05e7ed3478a661bc38517f328256f988"> 39</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_physical.html#a05e7ed3478a661bc38517f328256f988">operator == </a>(<span class="keyword">const</span> <a class="code" href="class_physical.html">Physical</a>&amp; p)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keywordtype">id</span> == p.<a class="code" href="class_physical.html#ada97e68f8c9359d9c934f0e45918c774">id</a>; }</div>
+<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;</div>
+<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; <span class="comment">// Integration Loop Control:</span></div>
+<div class="line"><a name="l00042"></a><span class="lineno"><a class="code" href="class_physical.html#a8f321af544b0f601ca547d3bee939688"> 42</a></span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_physical.html#a8f321af544b0f601ca547d3bee939688">SetSubFrameLength</a>(<span class="keywordtype">double</span> seconds) { <a class="code" href="class_physical.html#a6c010dd6ce3e164d9698d47848b07227">sub_frame</a> = seconds; }</div>
+<div class="line"><a name="l00043"></a><span class="lineno"><a class="code" href="class_physical.html#a2fc6ff937e69676865402553eb65a901"> 43</a></span>&#160; <span class="keyword">static</span> <span class="keywordtype">double</span> <a class="code" href="class_physical.html#a2fc6ff937e69676865402553eb65a901">GetSubFrameLength</a>() { <span class="keywordflow">return</span> <a class="code" href="class_physical.html#a6c010dd6ce3e164d9698d47848b07227">sub_frame</a>; }</div>
+<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;</div>
+<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; <span class="comment">// operations</span></div>
+<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_physical.html#a51b1a250980dc6169758c0cbe0dae533">ExecFrame</a>(<span class="keywordtype">double</span> seconds);</div>
+<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_physical.html#a8e2aba22eb7fae7db322ba0b21b05758">AeroFrame</a>(<span class="keywordtype">double</span> seconds);</div>
+<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_physical.html#a88fac6ecccf78d96ccb164d1e9797f58">ArcadeFrame</a>(<span class="keywordtype">double</span> seconds);</div>
+<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;</div>
+<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_physical.html#a06d9391d5c0b3b32783a3b1f60f59e17">AngularFrame</a>(<span class="keywordtype">double</span> seconds);</div>
+<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_physical.html#abf3689db9ce20a6cb3901ce8d5d10762">LinearFrame</a>(<span class="keywordtype">double</span> seconds);</div>
+<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;</div>
+<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_physical.html#abe8b831faa85d7022f641209213e18d7">CalcFlightPath</a>();</div>
+<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;</div>
+<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_physical.html#aaab110c0381fdc000018c6a65b9ef657">MoveTo</a>(<span class="keyword">const</span> <a class="code" href="struct_point.html">Point</a>&amp; new_loc);</div>
+<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_physical.html#a441070b74fe991914da5bc4d3b25124c">TranslateBy</a>(<span class="keyword">const</span> <a class="code" href="struct_point.html">Point</a>&amp; ref);</div>
+<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_physical.html#a2d36b9780cfaa079f7402a4d5c491c91">ApplyForce</a>(<span class="keyword">const</span> <a class="code" href="struct_point.html">Point</a>&amp; force);</div>
+<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_physical.html#a021f0362ffa486a3b46bd727e83a5839">ApplyTorque</a>(<span class="keyword">const</span> <a class="code" href="struct_point.html">Point</a>&amp; torque);</div>
+<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_physical.html#acb6369b0de01a11ae7c4135b777d7a24">SetThrust</a>(<span class="keywordtype">double</span> t);</div>
+<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_physical.html#af340eb740dfcd3a58abba041255f438b">SetTransX</a>(<span class="keywordtype">double</span> t);</div>
+<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_physical.html#a0d5a6d2cfc223e6ea9661599e331aaa8">SetTransY</a>(<span class="keywordtype">double</span> t);</div>
+<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_physical.html#a10bef5ec31ba56a8965778a0edaddd64">SetTransZ</a>(<span class="keywordtype">double</span> t);</div>
+<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_physical.html#af7174818ed105cf84fb3ed46f68a824c">SetHeading</a>(<span class="keywordtype">double</span> r, <span class="keywordtype">double</span> p, <span class="keywordtype">double</span> y);</div>
+<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_physical.html#a7a21ad2f57ef7634de4cfc8403e82f1d">LookAt</a>(<span class="keyword">const</span> <a class="code" href="struct_point.html">Point</a>&amp; dst);</div>
+<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_physical.html#adc0005c9ad6bea9c1beb03912ba1a079">ApplyRoll</a>(<span class="keywordtype">double</span> roll_acc);</div>
+<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_physical.html#a5137b08d6a56f79c00cc7f8b5d66a146">ApplyPitch</a>(<span class="keywordtype">double</span> pitch_acc);</div>
+<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_physical.html#a4b5a83f5bd906e0c09ff326f5c0168a2">ApplyYaw</a>(<span class="keywordtype">double</span> yaw_acc);</div>
+<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;</div>
+<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_physical.html#a07ea38d0c62738583a283dc805ab7948">CollidesWith</a>(<a class="code" href="class_physical.html">Physical</a>&amp; o);</div>
+<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_physical.html#a89458e37a410badba4643bc25c5ad4ac">ElasticCollision</a>(<a class="code" href="class_physical.html">Physical</a>&amp; a, <a class="code" href="class_physical.html">Physical</a>&amp; b);</div>
+<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_physical.html#aee52dc7ccefe77aaf739139f10272a11">InelasticCollision</a>(<a class="code" href="class_physical.html">Physical</a>&amp; a, <a class="code" href="class_physical.html">Physical</a>&amp; b);</div>
+<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_physical.html#a137f3bbbb873bf5c95ac86585fec0084">SemiElasticCollision</a>(<a class="code" href="class_physical.html">Physical</a>&amp; a, <a class="code" href="class_physical.html">Physical</a>&amp; b);</div>
+<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_physical.html#a90321d772170e0ff0745667aad65cf65">InflictDamage</a>(<span class="keywordtype">double</span> damage, <span class="keywordtype">int</span> type = 0);</div>
+<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;</div>
+<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; <span class="comment">// accessors:</span></div>
+<div class="line"><a name="l00076"></a><span class="lineno"><a class="code" href="class_physical.html#a46304a3da17a2d7704e8cca3b09a798a"> 76</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_physical.html#a46304a3da17a2d7704e8cca3b09a798a">Identity</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_physical.html#ada97e68f8c9359d9c934f0e45918c774">id</a>; }</div>
+<div class="line"><a name="l00077"></a><span class="lineno"><a class="code" href="class_physical.html#a2ce9ae48d2e4f4fb434bdc4083746068"> 77</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_physical.html#a2ce9ae48d2e4f4fb434bdc4083746068">Type</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_physical.html#a6c0701c3b48649aab8fa7c4ccd00e21c">obj_type</a>; }</div>
+<div class="line"><a name="l00078"></a><span class="lineno"><a class="code" href="class_physical.html#a805a89f8e93e2e66452b5cb6ab0c5f6b"> 78</a></span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_physical.html#a805a89f8e93e2e66452b5cb6ab0c5f6b">Name</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_physical.html#a8494a16d51ebf60bba3961b2a9101b8d">name</a>; }</div>
+<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160;</div>
+<div class="line"><a name="l00080"></a><span class="lineno"><a class="code" href="class_physical.html#a18d7b806f29edde8af178ae9a6d0ad90"> 80</a></span>&#160; <a class="code" href="struct_point.html">Point</a> <a class="code" href="class_physical.html#a18d7b806f29edde8af178ae9a6d0ad90">Location</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_physical.html#ae6b6004183efe4ba25cace4fc3f2fd4d">cam</a>.<a class="code" href="class_camera.html#a2a54ce5f1212212653acafa59809ce49">Pos</a>(); }</div>
+<div class="line"><a name="l00081"></a><span class="lineno"><a class="code" href="class_physical.html#a2fba0c03cbd4afade7da4fc1e5bb0c0b"> 81</a></span>&#160; <a class="code" href="struct_point.html">Point</a> <a class="code" href="class_physical.html#a2fba0c03cbd4afade7da4fc1e5bb0c0b">Heading</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_physical.html#ae6b6004183efe4ba25cace4fc3f2fd4d">cam</a>.<a class="code" href="class_camera.html#a6767fa21da7413fe049cf64eed98f02f">vpn</a>(); }</div>
+<div class="line"><a name="l00082"></a><span class="lineno"><a class="code" href="class_physical.html#aefe4361f213e12c50c1bd40a70daa5a2"> 82</a></span>&#160; <a class="code" href="struct_point.html">Point</a> <a class="code" href="class_physical.html#aefe4361f213e12c50c1bd40a70daa5a2">LiftLine</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_physical.html#ae6b6004183efe4ba25cace4fc3f2fd4d">cam</a>.<a class="code" href="class_camera.html#a38ab2061d58da025e9c95267505686ab">vup</a>(); }</div>
+<div class="line"><a name="l00083"></a><span class="lineno"><a class="code" href="class_physical.html#acfeeb57de6a94b1e3d68a7f24e8a9cff"> 83</a></span>&#160; <a class="code" href="struct_point.html">Point</a> <a class="code" href="class_physical.html#acfeeb57de6a94b1e3d68a7f24e8a9cff">BeamLine</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_physical.html#ae6b6004183efe4ba25cace4fc3f2fd4d">cam</a>.<a class="code" href="class_camera.html#a276d8f65ae6c09a07add9f63bd356704">vrt</a>(); }</div>
+<div class="line"><a name="l00084"></a><span class="lineno"><a class="code" href="class_physical.html#a60c5e5f05f780f8accae363e9748131c"> 84</a></span>&#160; <a class="code" href="struct_point.html">Point</a> <a class="code" href="class_physical.html#a60c5e5f05f780f8accae363e9748131c">Velocity</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_physical.html#a02b1afe5e027120d1e8dc445ee80143e">velocity</a> + <a class="code" href="class_physical.html#aed93819206c4ca747edf57ba36e930e2">arcade_velocity</a>; }</div>
+<div class="line"><a name="l00085"></a><span class="lineno"><a class="code" href="class_physical.html#a9f82b440b9156266414c98ff15688545"> 85</a></span>&#160; <a class="code" href="struct_point.html">Point</a> <a class="code" href="class_physical.html#a9f82b440b9156266414c98ff15688545">Acceleration</a>()<span class="keyword"></span></div>
+<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160;<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_physical.html#ae7dd31dfd66682e1048b5d540a9f02e9">accel</a>; }</div>
+<div class="line"><a name="l00087"></a><span class="lineno"><a class="code" href="class_physical.html#ae2f2fa70cb366f708fe10065186e3ad0"> 87</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_physical.html#ae2f2fa70cb366f708fe10065186e3ad0">Thrust</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_physical.html#ab4a9f94781e500cfc2e594d122b23927">thrust</a>; }</div>
+<div class="line"><a name="l00088"></a><span class="lineno"><a class="code" href="class_physical.html#a4c2142777216044b02549418b13a6280"> 88</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_physical.html#a4c2142777216044b02549418b13a6280">TransX</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_physical.html#a31ee78848140bfc4a05e3ccbf6770656">trans_x</a>; }</div>
+<div class="line"><a name="l00089"></a><span class="lineno"><a class="code" href="class_physical.html#a006733966b21b0c69c6c2af69d60979d"> 89</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_physical.html#a006733966b21b0c69c6c2af69d60979d">TransY</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_physical.html#a41e10f76bb0bee8782e12b1b4ff9eacc">trans_y</a>; }</div>
+<div class="line"><a name="l00090"></a><span class="lineno"><a class="code" href="class_physical.html#aad0dad42db34cd3e615533af4a85285f"> 90</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_physical.html#aad0dad42db34cd3e615533af4a85285f">TransZ</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_physical.html#a23a156200251e24ac72d80854b870c9b">trans_z</a>; }</div>
+<div class="line"><a name="l00091"></a><span class="lineno"><a class="code" href="class_physical.html#a322750d3a90eeb77c3cac7e6ba2700a0"> 91</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_physical.html#a322750d3a90eeb77c3cac7e6ba2700a0">Drag</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_physical.html#ac9b8033226e8a1f0757ab8ceb25bb8c9">drag</a>; }</div>
+<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160;</div>
+<div class="line"><a name="l00093"></a><span class="lineno"><a class="code" href="class_physical.html#af82790fdb4dd82da5248f764416fc9f6"> 93</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_physical.html#af82790fdb4dd82da5248f764416fc9f6">Roll</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_physical.html#a1342854ae569c6e053a106df8e97a522">roll</a>; }</div>
+<div class="line"><a name="l00094"></a><span class="lineno"><a class="code" href="class_physical.html#adedbc5524c3cac44ba2047a6e2bf2bd3"> 94</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_physical.html#adedbc5524c3cac44ba2047a6e2bf2bd3">Pitch</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_physical.html#a760b0be05697d5fbe9a652b8d9fe48d0">pitch</a>; }</div>
+<div class="line"><a name="l00095"></a><span class="lineno"><a class="code" href="class_physical.html#a52e9b61fdca0610b1ad843221a1bd8d1"> 95</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_physical.html#a52e9b61fdca0610b1ad843221a1bd8d1">Yaw</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_physical.html#a9622775c81f1934ee5b3370008aceb15">yaw</a>; }</div>
+<div class="line"><a name="l00096"></a><span class="lineno"><a class="code" href="class_physical.html#ada01c690d060ad1dca5c7473db1a5faa"> 96</a></span>&#160; <a class="code" href="struct_point.html">Point</a> <a class="code" href="class_physical.html#ada01c690d060ad1dca5c7473db1a5faa">Rotation</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="struct_point.html">Point</a>(<a class="code" href="class_physical.html#aaefd9045f896c5322df107f980249f20">dp</a>,<a class="code" href="class_physical.html#af93e3c7b7e9c8978caff8f84d4f0cfb0">dr</a>,<a class="code" href="class_physical.html#ac6071904c1e17537adef89fbae9f3942">dy</a>); }</div>
+<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160;</div>
+<div class="line"><a name="l00098"></a><span class="lineno"><a class="code" href="class_physical.html#a241e57056e2ae1c6e4d8dad01c037e70"> 98</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_physical.html#a241e57056e2ae1c6e4d8dad01c037e70">Alpha</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_physical.html#aef5c6056fc4474dee315086cc6a20ff5">alpha</a>; }</div>
+<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160;</div>
+<div class="line"><a name="l00100"></a><span class="lineno"><a class="code" href="class_physical.html#a84bdec78881ec165e6092a93a1b93820"> 100</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_physical.html#a84bdec78881ec165e6092a93a1b93820">FlightPathYawAngle</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_physical.html#a500b4feb4136d796e5bd44c10dd7f588">flight_path_yaw</a>; }</div>
+<div class="line"><a name="l00101"></a><span class="lineno"><a class="code" href="class_physical.html#acc20166630ba1960a7569292a6f3c84e"> 101</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_physical.html#acc20166630ba1960a7569292a6f3c84e">FlightPathPitchAngle</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_physical.html#a47ee55f7dc6532dd5fa8f29647a757b2">flight_path_pitch</a>; }</div>
+<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160;</div>
+<div class="line"><a name="l00103"></a><span class="lineno"><a class="code" href="class_physical.html#a31367f0054fd23eeb6458c42bb663fc7"> 103</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_physical.html#a31367f0054fd23eeb6458c42bb663fc7">Radius</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_physical.html#a339bd272f6c690c23b64eb9419d039ec">radius</a>; }</div>
+<div class="line"><a name="l00104"></a><span class="lineno"><a class="code" href="class_physical.html#ad352c259640eecc358bf7d7e07552bbe"> 104</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_physical.html#ad352c259640eecc358bf7d7e07552bbe">Mass</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_physical.html#a7c68f6e32d5725d6ae0099400f7c0b6e">mass</a>; }</div>
+<div class="line"><a name="l00105"></a><span class="lineno"><a class="code" href="class_physical.html#ad665e179e85f6d2f19536cf54b7f03a5"> 105</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_physical.html#ad665e179e85f6d2f19536cf54b7f03a5">Integrity</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_physical.html#a8e2b75659beeba7ed86a6f1199260c1c">integrity</a>; }</div>
+<div class="line"><a name="l00106"></a><span class="lineno"><a class="code" href="class_physical.html#aec2a93daff24c5b87933914cbcb100fe"> 106</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_physical.html#aec2a93daff24c5b87933914cbcb100fe">Life</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_physical.html#a6b8e2705ced511545378e49b14573fdc">life</a>; }</div>
+<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160;</div>
+<div class="line"><a name="l00108"></a><span class="lineno"><a class="code" href="class_physical.html#a8300d2af00872a70a579d0a787755eb2"> 108</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_physical.html#a8300d2af00872a70a579d0a787755eb2">Shake</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_physical.html#acb24f3d7c5ee7743da91e2578bd984f2">shake</a>; }</div>
+<div class="line"><a name="l00109"></a><span class="lineno"><a class="code" href="class_physical.html#a807db494059310172bf5d9d5af046ff8"> 109</a></span>&#160; <span class="keyword">const</span> <a class="code" href="struct_point.html">Point</a>&amp; <a class="code" href="class_physical.html#a807db494059310172bf5d9d5af046ff8">Vibration</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_physical.html#a91636e0c8d273057d1e4631bff138473">vibration</a>; }</div>
+<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160;</div>
+<div class="line"><a name="l00111"></a><span class="lineno"><a class="code" href="class_physical.html#ac6be8bd79bd6622fd67d2d71f8e125af"> 111</a></span>&#160; <span class="keyword">const</span> <a class="code" href="class_camera.html">Camera</a>&amp; <a class="code" href="class_physical.html#ac6be8bd79bd6622fd67d2d71f8e125af">Cam</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_physical.html#ae6b6004183efe4ba25cace4fc3f2fd4d">cam</a>; }</div>
+<div class="line"><a name="l00112"></a><span class="lineno"><a class="code" href="class_physical.html#a6d29a1d011f1ab48bcea980ded24ce4d"> 112</a></span>&#160; <a class="code" href="class_graphic.html">Graphic</a>* <a class="code" href="class_physical.html#a6d29a1d011f1ab48bcea980ded24ce4d">Rep</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_physical.html#a3adbf31fe8d940401e6b12ccb275432e">rep</a>; }</div>
+<div class="line"><a name="l00113"></a><span class="lineno"><a class="code" href="class_physical.html#a7ad335cf65139df6d8b6c1446394ce89"> 113</a></span>&#160; <a class="code" href="class_light.html">Light</a>* <a class="code" href="class_physical.html#a7ad335cf65139df6d8b6c1446394ce89">LightSrc</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_physical.html#afd7fa6ca59a6efa5c5bd465793da09a1">light</a>; }</div>
+<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160;</div>
+<div class="line"><a name="l00115"></a><span class="lineno"><a class="code" href="class_physical.html#afb266107493cf3b901d794903d6f1077"> 115</a></span>&#160; <a class="code" href="class_director.html">Director</a>* <a class="code" href="class_physical.html#afb266107493cf3b901d794903d6f1077">GetDirector</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_physical.html#a8ebe4e3afdd856a228135ce30bd9d704">dir</a>; }</div>
+<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160;</div>
+<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; <span class="comment">// mutators:</span></div>
+<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_physical.html#a6fe4f81f6b9d31efe9fb2da0f9441842">SetAngularRates</a>(<span class="keywordtype">double</span> r, <span class="keywordtype">double</span> p, <span class="keywordtype">double</span> y);</div>
+<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_physical.html#a09066864123e7aef872e6e4dc12bdb3e">GetAngularRates</a>(<span class="keywordtype">double</span>&amp; r, <span class="keywordtype">double</span>&amp; p, <span class="keywordtype">double</span>&amp; y);</div>
+<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_physical.html#ac280a1b30eb3ce6974ed2e8846ed0436">SetAngularDrag</a>(<span class="keywordtype">double</span> r, <span class="keywordtype">double</span> p, <span class="keywordtype">double</span> y);</div>
+<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_physical.html#a3d2cd41c96af67bfe07094b54c9b2591">GetAngularDrag</a>(<span class="keywordtype">double</span>&amp; r, <span class="keywordtype">double</span>&amp; p, <span class="keywordtype">double</span>&amp; y);</div>
+<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_physical.html#aebfee03c9e62ec742802649673a0aa20">GetAngularThrust</a>(<span class="keywordtype">double</span>&amp; r, <span class="keywordtype">double</span>&amp; p, <span class="keywordtype">double</span>&amp; y);</div>
+<div class="line"><a name="l00123"></a><span class="lineno"><a class="code" href="class_physical.html#a4b41633cf4646992e3ab9b8f5ec6a533"> 123</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_physical.html#a4b41633cf4646992e3ab9b8f5ec6a533">SetVelocity</a>(<span class="keyword">const</span> <a class="code" href="struct_point.html">Point</a>&amp; v) { <a class="code" href="class_physical.html#a02b1afe5e027120d1e8dc445ee80143e">velocity</a> = v; }</div>
+<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_physical.html#a2cc71395813b8b47968c48ec92ce6698">SetAbsoluteOrientation</a>(<span class="keywordtype">double</span> <a class="code" href="class_physical.html#a1342854ae569c6e053a106df8e97a522">roll</a>, <span class="keywordtype">double</span> <a class="code" href="class_physical.html#a760b0be05697d5fbe9a652b8d9fe48d0">pitch</a>, <span class="keywordtype">double</span> <a class="code" href="class_physical.html#a9622775c81f1934ee5b3370008aceb15">yaw</a>);</div>
+<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_physical.html#abbe74c30cd25ae97fd2482dbdc7b6437">CloneCam</a>(<span class="keyword">const</span> <a class="code" href="class_camera.html">Camera</a>&amp; <a class="code" href="class_physical.html#ae6b6004183efe4ba25cace4fc3f2fd4d">cam</a>);</div>
+<div class="line"><a name="l00126"></a><span class="lineno"><a class="code" href="class_physical.html#a38c066fefef072c683edd9939a9ac2e9"> 126</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_physical.html#a38c066fefef072c683edd9939a9ac2e9">SetDrag</a>(<span class="keywordtype">double</span> d) { <a class="code" href="class_physical.html#ac9b8033226e8a1f0757ab8ceb25bb8c9">drag</a> = (float) d; }</div>
+<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160;</div>
+<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_physical.html#a2e44e8b8d36e7664301923699854e1d3">SetPrimary</a>(<span class="keyword">const</span> <a class="code" href="struct_point.html">Point</a>&amp; loc, <span class="keywordtype">double</span> <a class="code" href="class_physical.html#a7c68f6e32d5725d6ae0099400f7c0b6e">mass</a>);</div>
+<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_physical.html#a27342f7cf678159a9c56a1c9c4e8d918">SetGravity</a>(<span class="keywordtype">double</span> g);</div>
+<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_physical.html#a21d9cb466d59d3854164f0124290d5e2">SetBaseDensity</a>(<span class="keywordtype">double</span> d);</div>
+<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160;</div>
+<div class="line"><a name="l00132"></a><span class="lineno"><a class="code" href="class_physical.html#a7cb3fe422731fe3cc790ecc5aa91a74d"> 132</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">double</span> <a class="code" href="class_physical.html#a7cb3fe422731fe3cc790ecc5aa91a74d">GetBaseDensity</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_physical.html#a4c1342675b4479b75d8dc07b879b7932">Do</a>; }</div>
+<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">double</span> <a class="code" href="class_physical.html#ab2128e0932c88467240448f972e23239">GetDensity</a>() <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160;</div>
+<div class="line"><a name="l00135"></a><span class="lineno"><a class="code" href="class_physical.html#a0a2f00f99707710a99352755c456738da52a005a47cab0fb16fabf08151e16fd5"> 135</a></span>&#160; <span class="keyword">enum</span> { <a class="code" href="class_physical.html#a0a2f00f99707710a99352755c456738da52a005a47cab0fb16fabf08151e16fd5">NAMELEN</a> = 48 };</div>
+<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160;</div>
+<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160;<span class="keyword">protected</span>:</div>
+<div class="line"><a name="l00138"></a><span class="lineno"><a class="code" href="class_physical.html#a004c339d5c06357c7973070a2f5f3c39"> 138</a></span>&#160; <span class="keyword">static</span> <span class="keywordtype">int</span> <a class="code" href="class_physical.html#a004c339d5c06357c7973070a2f5f3c39">id_key</a>;</div>
+<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160;</div>
+<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; <span class="comment">// identification:</span></div>
+<div class="line"><a name="l00141"></a><span class="lineno"><a class="code" href="class_physical.html#ada97e68f8c9359d9c934f0e45918c774"> 141</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_physical.html#ada97e68f8c9359d9c934f0e45918c774">id</a>;</div>
+<div class="line"><a name="l00142"></a><span class="lineno"><a class="code" href="class_physical.html#a6c0701c3b48649aab8fa7c4ccd00e21c"> 142</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_physical.html#a6c0701c3b48649aab8fa7c4ccd00e21c">obj_type</a>;</div>
+<div class="line"><a name="l00143"></a><span class="lineno"><a class="code" href="class_physical.html#a8494a16d51ebf60bba3961b2a9101b8d"> 143</a></span>&#160; <span class="keywordtype">char</span> <a class="code" href="class_physical.html#a8494a16d51ebf60bba3961b2a9101b8d">name</a>[<a class="code" href="class_physical.html#a0a2f00f99707710a99352755c456738da52a005a47cab0fb16fabf08151e16fd5">NAMELEN</a>];</div>
+<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160;</div>
+<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; <span class="comment">// position, velocity, and acceleration:</span></div>
+<div class="line"><a name="l00146"></a><span class="lineno"><a class="code" href="class_physical.html#ae6b6004183efe4ba25cace4fc3f2fd4d"> 146</a></span>&#160; <a class="code" href="class_camera.html">Camera</a> <a class="code" href="class_physical.html#ae6b6004183efe4ba25cace4fc3f2fd4d">cam</a>;</div>
+<div class="line"><a name="l00147"></a><span class="lineno"><a class="code" href="class_physical.html#a02b1afe5e027120d1e8dc445ee80143e"> 147</a></span>&#160; <a class="code" href="struct_point.html">Point</a> <a class="code" href="class_physical.html#a02b1afe5e027120d1e8dc445ee80143e">velocity</a>;</div>
+<div class="line"><a name="l00148"></a><span class="lineno"><a class="code" href="class_physical.html#aed93819206c4ca747edf57ba36e930e2"> 148</a></span>&#160; <a class="code" href="struct_point.html">Point</a> <a class="code" href="class_physical.html#aed93819206c4ca747edf57ba36e930e2">arcade_velocity</a>;</div>
+<div class="line"><a name="l00149"></a><span class="lineno"><a class="code" href="class_physical.html#ae7dd31dfd66682e1048b5d540a9f02e9"> 149</a></span>&#160; <a class="code" href="struct_point.html">Point</a> <a class="code" href="class_physical.html#ae7dd31dfd66682e1048b5d540a9f02e9">accel</a>;</div>
+<div class="line"><a name="l00150"></a><span class="lineno"><a class="code" href="class_physical.html#ab4a9f94781e500cfc2e594d122b23927"> 150</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="class_physical.html#ab4a9f94781e500cfc2e594d122b23927">thrust</a>;</div>
+<div class="line"><a name="l00151"></a><span class="lineno"><a class="code" href="class_physical.html#a31ee78848140bfc4a05e3ccbf6770656"> 151</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="class_physical.html#a31ee78848140bfc4a05e3ccbf6770656">trans_x</a>;</div>
+<div class="line"><a name="l00152"></a><span class="lineno"><a class="code" href="class_physical.html#a41e10f76bb0bee8782e12b1b4ff9eacc"> 152</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="class_physical.html#a41e10f76bb0bee8782e12b1b4ff9eacc">trans_y</a>;</div>
+<div class="line"><a name="l00153"></a><span class="lineno"><a class="code" href="class_physical.html#a23a156200251e24ac72d80854b870c9b"> 153</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="class_physical.html#a23a156200251e24ac72d80854b870c9b">trans_z</a>;</div>
+<div class="line"><a name="l00154"></a><span class="lineno"><a class="code" href="class_physical.html#ac9b8033226e8a1f0757ab8ceb25bb8c9"> 154</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="class_physical.html#ac9b8033226e8a1f0757ab8ceb25bb8c9">drag</a>;</div>
+<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160;</div>
+<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; <span class="comment">// attitude and angular velocity:</span></div>
+<div class="line"><a name="l00157"></a><span class="lineno"><a class="code" href="class_physical.html#a9622775c81f1934ee5b3370008aceb15"> 157</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="class_physical.html#a1342854ae569c6e053a106df8e97a522">roll</a>, <a class="code" href="class_physical.html#a760b0be05697d5fbe9a652b8d9fe48d0">pitch</a>, <a class="code" href="class_physical.html#a9622775c81f1934ee5b3370008aceb15">yaw</a>;</div>
+<div class="line"><a name="l00158"></a><span class="lineno"><a class="code" href="class_physical.html#ac6071904c1e17537adef89fbae9f3942"> 158</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="class_physical.html#af93e3c7b7e9c8978caff8f84d4f0cfb0">dr</a>, <a class="code" href="class_physical.html#aaefd9045f896c5322df107f980249f20">dp</a>, <a class="code" href="class_physical.html#ac6071904c1e17537adef89fbae9f3942">dy</a>;</div>
+<div class="line"><a name="l00159"></a><span class="lineno"><a class="code" href="class_physical.html#a122baad9132db172b9e1103c736df69a"> 159</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="class_physical.html#a700d67f9d9d134d6e89619e2ff88a03f">dr_acc</a>, <a class="code" href="class_physical.html#a19430528448288c4b73b17f9f0e6418c">dp_acc</a>, <a class="code" href="class_physical.html#a122baad9132db172b9e1103c736df69a">dy_acc</a>;</div>
+<div class="line"><a name="l00160"></a><span class="lineno"><a class="code" href="class_physical.html#a8b54e9624bb79c518e61fde79e18393e"> 160</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="class_physical.html#aa97e3222a4d7bee7f0a86f0ddfedc729">dr_drg</a>, <a class="code" href="class_physical.html#ae0a23449b126a926c741c6dcb8650aaf">dp_drg</a>, <a class="code" href="class_physical.html#a8b54e9624bb79c518e61fde79e18393e">dy_drg</a>;</div>
+<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160;</div>
+<div class="line"><a name="l00162"></a><span class="lineno"><a class="code" href="class_physical.html#a500b4feb4136d796e5bd44c10dd7f588"> 162</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="class_physical.html#a500b4feb4136d796e5bd44c10dd7f588">flight_path_yaw</a>;</div>
+<div class="line"><a name="l00163"></a><span class="lineno"><a class="code" href="class_physical.html#a47ee55f7dc6532dd5fa8f29647a757b2"> 163</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="class_physical.html#a47ee55f7dc6532dd5fa8f29647a757b2">flight_path_pitch</a>;</div>
+<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160;</div>
+<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; <span class="comment">// gravitation:</span></div>
+<div class="line"><a name="l00166"></a><span class="lineno"><a class="code" href="class_physical.html#ac64ba8dfcf6923b8cb9e6a00d7b5023f"> 166</a></span>&#160; <a class="code" href="struct_point.html">Point</a> <a class="code" href="class_physical.html#ac64ba8dfcf6923b8cb9e6a00d7b5023f">primary_loc</a>;</div>
+<div class="line"><a name="l00167"></a><span class="lineno"><a class="code" href="class_physical.html#afd82688e691f376ee8f1887638032800"> 167</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_physical.html#afd82688e691f376ee8f1887638032800">primary_mass</a>;</div>
+<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160;</div>
+<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160; <span class="comment">// aerodynamics:</span></div>
+<div class="line"><a name="l00170"></a><span class="lineno"><a class="code" href="class_physical.html#ab29b630ea2ca882c805e3c4feb9a8061"> 170</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="class_physical.html#ab29b630ea2ca882c805e3c4feb9a8061">g_accel</a>; <span class="comment">// acceleration due to gravity (constant)</span></div>
+<div class="line"><a name="l00171"></a><span class="lineno"><a class="code" href="class_physical.html#a4c1342675b4479b75d8dc07b879b7932"> 171</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="class_physical.html#a4c1342675b4479b75d8dc07b879b7932">Do</a>; <span class="comment">// atmospheric density at sea level</span></div>
+<div class="line"><a name="l00172"></a><span class="lineno"><a class="code" href="class_physical.html#ace12d2822fdb0de0b531600e550e21a6"> 172</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="class_physical.html#ace12d2822fdb0de0b531600e550e21a6">CL</a>; <span class="comment">// base coefficient of lift</span></div>
+<div class="line"><a name="l00173"></a><span class="lineno"><a class="code" href="class_physical.html#a818d4907d9771bb7b8f2b096e0ccce7e"> 173</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="class_physical.html#a818d4907d9771bb7b8f2b096e0ccce7e">CD</a>; <span class="comment">// base coefficient of drag</span></div>
+<div class="line"><a name="l00174"></a><span class="lineno"><a class="code" href="class_physical.html#aef5c6056fc4474dee315086cc6a20ff5"> 174</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="class_physical.html#aef5c6056fc4474dee315086cc6a20ff5">alpha</a>; <span class="comment">// current angle of attack (radians)</span></div>
+<div class="line"><a name="l00175"></a><span class="lineno"><a class="code" href="class_physical.html#a091ee071ff79007c87e33f0ff2cb574c"> 175</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="class_physical.html#a091ee071ff79007c87e33f0ff2cb574c">stall</a>; <span class="comment">// stall angle of attack (radians)</span></div>
+<div class="line"><a name="l00176"></a><span class="lineno"><a class="code" href="class_physical.html#a33141f14054f7425edca7e92673135be"> 176</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_physical.html#a33141f14054f7425edca7e92673135be">lat_thrust</a>; <span class="comment">// lateral thrusters enabled in aero mode?</span></div>
+<div class="line"><a name="l00177"></a><span class="lineno"><a class="code" href="class_physical.html#ad57f7c28a081079e6c3b1ecd1089e927"> 177</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_physical.html#ad57f7c28a081079e6c3b1ecd1089e927">straight</a>;</div>
+<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160;</div>
+<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; <span class="comment">// vibration:</span></div>
+<div class="line"><a name="l00180"></a><span class="lineno"><a class="code" href="class_physical.html#acb24f3d7c5ee7743da91e2578bd984f2"> 180</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="class_physical.html#acb24f3d7c5ee7743da91e2578bd984f2">shake</a>;</div>
+<div class="line"><a name="l00181"></a><span class="lineno"><a class="code" href="class_physical.html#a91636e0c8d273057d1e4631bff138473"> 181</a></span>&#160; <a class="code" href="struct_point.html">Point</a> <a class="code" href="class_physical.html#a91636e0c8d273057d1e4631bff138473">vibration</a>;</div>
+<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160;</div>
+<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; <span class="comment">// scale factors for ApplyXxx():</span></div>
+<div class="line"><a name="l00184"></a><span class="lineno"><a class="code" href="class_physical.html#aa84db3f80e7277daeb9720fb4de48fe1"> 184</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="class_physical.html#a1ea11485cc2e7d937fea7593312f90d6">roll_rate</a>, <a class="code" href="class_physical.html#a8301ba8959b36ebbc1a2d66842f3fbd2">pitch_rate</a>, <a class="code" href="class_physical.html#aa84db3f80e7277daeb9720fb4de48fe1">yaw_rate</a>;</div>
+<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160;</div>
+<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; <span class="comment">// physical properties:</span></div>
+<div class="line"><a name="l00187"></a><span class="lineno"><a class="code" href="class_physical.html#a6b8e2705ced511545378e49b14573fdc"> 187</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_physical.html#a6b8e2705ced511545378e49b14573fdc">life</a>;</div>
+<div class="line"><a name="l00188"></a><span class="lineno"><a class="code" href="class_physical.html#a339bd272f6c690c23b64eb9419d039ec"> 188</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="class_physical.html#a339bd272f6c690c23b64eb9419d039ec">radius</a>;</div>
+<div class="line"><a name="l00189"></a><span class="lineno"><a class="code" href="class_physical.html#a7c68f6e32d5725d6ae0099400f7c0b6e"> 189</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="class_physical.html#a7c68f6e32d5725d6ae0099400f7c0b6e">mass</a>;</div>
+<div class="line"><a name="l00190"></a><span class="lineno"><a class="code" href="class_physical.html#a8e2b75659beeba7ed86a6f1199260c1c"> 190</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="class_physical.html#a8e2b75659beeba7ed86a6f1199260c1c">integrity</a>;</div>
+<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160;</div>
+<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160; <span class="comment">// graphic representation:</span></div>
+<div class="line"><a name="l00193"></a><span class="lineno"><a class="code" href="class_physical.html#a3adbf31fe8d940401e6b12ccb275432e"> 193</a></span>&#160; <a class="code" href="class_graphic.html">Graphic</a>* <a class="code" href="class_physical.html#a3adbf31fe8d940401e6b12ccb275432e">rep</a>;</div>
+<div class="line"><a name="l00194"></a><span class="lineno"><a class="code" href="class_physical.html#afd7fa6ca59a6efa5c5bd465793da09a1"> 194</a></span>&#160; <a class="code" href="class_light.html">Light</a>* <a class="code" href="class_physical.html#afd7fa6ca59a6efa5c5bd465793da09a1">light</a>;</div>
+<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160;</div>
+<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160; <span class="comment">// AI or human controller:</span></div>
+<div class="line"><a name="l00197"></a><span class="lineno"><a class="code" href="class_physical.html#a8ebe4e3afdd856a228135ce30bd9d704"> 197</a></span>&#160; <a class="code" href="class_director.html">Director</a>* <a class="code" href="class_physical.html#a8ebe4e3afdd856a228135ce30bd9d704">dir</a>; <span class="comment">// null implies an autonomous object</span></div>
+<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160;</div>
+<div class="line"><a name="l00199"></a><span class="lineno"><a class="code" href="class_physical.html#a6c010dd6ce3e164d9698d47848b07227"> 199</a></span>&#160; <span class="keyword">static</span> <span class="keywordtype">double</span> <a class="code" href="class_physical.html#a6c010dd6ce3e164d9698d47848b07227">sub_frame</a>;</div>
+<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160;};</div>
+<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160;</div>
+<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160;<span class="comment">// +--------------------------------------------------------------------+</span></div>
+<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160;</div>
+<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160;<span class="preprocessor">#endif Physical_h</span></div>
+<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160;<span class="preprocessor"></span></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_d6625d0f3efd9eb70ff961583505095b.html">nGenEx</a></li><li class="navelem"><a class="el" href="_physical_8h.html">Physical.h</a></li>
+ <li class="footer">Generated on Thu May 31 2012 16:30:57 for Starshatter_Open by
+ <a href="http://www.doxygen.org/index.html">
+ <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.1 </li>
+ </ul>
+</div>
+</body>
+</html>