aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a03151.html
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
committerneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
commit0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch)
tree2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/a03151.html
downloadnevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz
nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip
Initial commit
Diffstat (limited to '')
-rw-r--r--docs/doxygen/nel/a03151.html294
1 files changed, 294 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03151.html b/docs/doxygen/nel/a03151.html
new file mode 100644
index 00000000..efaa0542
--- /dev/null
+++ b/docs/doxygen/nel/a03151.html
@@ -0,0 +1,294 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
+<title>NeL: NL3D::CPSCollisionInfo struct Reference</title>
+<link href="doxygen.css" rel="stylesheet" type="text/css">
+</head><body>
+<!-- Generated by Doxygen 1.3.6 -->
+<div class="qindex"> <form class="search" action="search.php" method="get">
+<a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a> | <span class="search"><u>S</u>earch&nbsp;for&nbsp;<input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
+<h1>NL3D::CPSCollisionInfo Struct Reference</h1><code>#include &lt;<a class="el" href="a06247.html">ps_located.h</a>&gt;</code>
+<p>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+This structure helps to perform the collision step, by telling which collisionner is the nearest if there are several candidate a distance of -1 indicates that no collisions occured
+<p>
+
+<p>
+Definition at line <a class="el" href="a06247.html#l00076">76</a> of file <a class="el" href="a06247.html">ps_located.h</a>.<table border=0 cellpadding=0 cellspacing=0>
+<tr><td></td></tr>
+<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03151.html#NL3D_1_1CPSCollisionInfoa0">CPSCollisionInfo</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03151.html#NL3D_1_1CPSCollisionInfoa1">reset</a> (void)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03151.html#NL3D_1_1CPSCollisionInfoa2">serial</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &amp;f) throw (NLMISC::EStream)</td></tr>
+
+<tr><td colspan=2><br><h2>Data Fields</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03255.html">CPSZone</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03151.html#NL3D_1_1CPSCollisionInfoo0">collisionZone</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03151.html#NL3D_1_1CPSCollisionInfoo1">dist</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03128.html">NLMISC::CVector</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03151.html#NL3D_1_1CPSCollisionInfoo2">newPos</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03128.html">NLMISC::CVector</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03151.html#NL3D_1_1CPSCollisionInfoo3">newSpeed</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03151.html#NL3D_1_1CPSCollisionInfoo4">TimeSliceRatio</a></td></tr>
+
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" name="NL3D_1_1CPSCollisionInfoa0" doxytag="NL3D::CPSCollisionInfo::CPSCollisionInfo" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> NL3D::CPSCollisionInfo::CPSCollisionInfo </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06247.html#l00095">95</a> of file <a class="el" href="a06247.html">ps_located.h</a>.
+<p>
+References <a class="el" href="a06247.html#l00099">reset()</a>.
+<p>
+<div class="fragment"><pre>00096 {
+00097 <a class="code" href="a03151.html#NL3D_1_1CPSCollisionInfoa1">reset</a>();
+00098 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NL3D_1_1CPSCollisionInfoa1" doxytag="NL3D::CPSCollisionInfo::reset" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CPSCollisionInfo::reset </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">void&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06247.html#l00099">99</a> of file <a class="el" href="a06247.html">ps_located.h</a>.
+<p>
+References <a class="el" href="a06247.html#l00085">dist</a>, and <a class="el" href="a06247.html#l00079">TimeSliceRatio</a>.
+<p>
+Referenced by <a class="el" href="a06247.html#l00095">CPSCollisionInfo()</a>.
+<p>
+<div class="fragment"><pre>00100 {
+00101 <a class="code" href="a03151.html#NL3D_1_1CPSCollisionInfoo1">dist</a> = -1;
+00102 <a class="code" href="a03151.html#NL3D_1_1CPSCollisionInfoo4">TimeSliceRatio</a> = 1.0f;
+00103 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSCollisionInfoa2" doxytag="NL3D::CPSCollisionInfo::serial" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CPSCollisionInfo::serial </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02270.html">NLMISC::IStream</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>f</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> throw (<a class="el" href="a03781.html">NLMISC::EStream</a>)<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06247.html#l00105">105</a> of file <a class="el" href="a06247.html">ps_located.h</a>.
+<p>
+References <a class="el" href="a06247.html#l00085">dist</a>, <a class="el" href="a06247.html#l00087">newPos</a>, and <a class="el" href="a06247.html#l00087">newSpeed</a>.
+<p>
+<div class="fragment"><pre>00106 {
+00107 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_8">serialVersion</a>(1);
+00108 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(dist, newPos, newSpeed);
+00109 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Field Documentation</h2>
+<a class="anchor" name="NL3D_1_1CPSCollisionInfoo0" doxytag="NL3D::CPSCollisionInfo::collisionZone" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03255.html">CPSZone</a>* <a class="el" href="a03151.html#NL3D_1_1CPSCollisionInfoo0">NL3D::CPSCollisionInfo::collisionZone</a>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+the zone on which the bounce occured... can be useful to check the behaviour in case of collision
+<p>
+Definition at line <a class="el" href="a06247.html#l00093">93</a> of file <a class="el" href="a06247.html">ps_located.h</a>.
+<p>
+Referenced by <a class="el" href="a06287.html#l01275">NL3D::CPSZoneRectangle::performMotion()</a>, <a class="el" href="a06287.html#l00946">NL3D::CPSZoneCylinder::performMotion()</a>, <a class="el" href="a06287.html#l00533">NL3D::CPSZoneDisc::performMotion()</a>, <a class="el" href="a06287.html#l00329">NL3D::CPSZoneSphere::performMotion()</a>, and <a class="el" href="a06287.html#l00215">NL3D::CPSZonePlane::performMotion()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSCollisionInfoo1" doxytag="NL3D::CPSCollisionInfo::dist" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> float <a class="el" href="a03151.html#NL3D_1_1CPSCollisionInfoo1">NL3D::CPSCollisionInfo::dist</a>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Tells how mush of this time step is being used. This is usually 1.0, unless. The object was just emitted. In this case, this can range from 0 to 1 (When several emission occured within the same time step)
+<p>
+Definition at line <a class="el" href="a06247.html#l00085">85</a> of file <a class="el" href="a06247.html">ps_located.h</a>.
+<p>
+Referenced by <a class="el" href="a06247.html#l00784">NL3D::CPSLocated::collisionUpdate()</a>, <a class="el" href="a06287.html#l01275">NL3D::CPSZoneRectangle::performMotion()</a>, <a class="el" href="a06287.html#l00946">NL3D::CPSZoneCylinder::performMotion()</a>, <a class="el" href="a06287.html#l00533">NL3D::CPSZoneDisc::performMotion()</a>, <a class="el" href="a06287.html#l00329">NL3D::CPSZoneSphere::performMotion()</a>, <a class="el" href="a06287.html#l00215">NL3D::CPSZonePlane::performMotion()</a>, <a class="el" href="a06247.html#l00099">reset()</a>, and <a class="el" href="a06247.html#l00105">serial()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSCollisionInfoo2" doxytag="NL3D::CPSCollisionInfo::newPos" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03128.html">NLMISC::CVector</a> <a class="el" href="a03151.html#NL3D_1_1CPSCollisionInfoo2">NL3D::CPSCollisionInfo::newPos</a>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06247.html#l00087">87</a> of file <a class="el" href="a06247.html">ps_located.h</a>.
+<p>
+Referenced by <a class="el" href="a06287.html#l01275">NL3D::CPSZoneRectangle::performMotion()</a>, <a class="el" href="a06287.html#l00946">NL3D::CPSZoneCylinder::performMotion()</a>, <a class="el" href="a06287.html#l00533">NL3D::CPSZoneDisc::performMotion()</a>, <a class="el" href="a06287.html#l00329">NL3D::CPSZoneSphere::performMotion()</a>, <a class="el" href="a06287.html#l00215">NL3D::CPSZonePlane::performMotion()</a>, and <a class="el" href="a06247.html#l00105">serial()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSCollisionInfoo3" doxytag="NL3D::CPSCollisionInfo::newSpeed" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03128.html">NLMISC::CVector</a> <a class="el" href="a03151.html#NL3D_1_1CPSCollisionInfoo3">NL3D::CPSCollisionInfo::newSpeed</a>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06247.html#l00087">87</a> of file <a class="el" href="a06247.html">ps_located.h</a>.
+<p>
+Referenced by <a class="el" href="a06287.html#l01275">NL3D::CPSZoneRectangle::performMotion()</a>, <a class="el" href="a06287.html#l00946">NL3D::CPSZoneCylinder::performMotion()</a>, <a class="el" href="a06287.html#l00533">NL3D::CPSZoneDisc::performMotion()</a>, <a class="el" href="a06287.html#l00329">NL3D::CPSZoneSphere::performMotion()</a>, <a class="el" href="a06287.html#l00215">NL3D::CPSZonePlane::performMotion()</a>, and <a class="el" href="a06247.html#l00105">serial()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSCollisionInfoo4" doxytag="NL3D::CPSCollisionInfo::TimeSliceRatio" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> float <a class="el" href="a03151.html#NL3D_1_1CPSCollisionInfoo4">NL3D::CPSCollisionInfo::TimeSliceRatio</a>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06247.html#l00079">79</a> of file <a class="el" href="a06247.html">ps_located.h</a>.
+<p>
+Referenced by <a class="el" href="a06247.html#l00099">reset()</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this struct was generated from the following file:<ul>
+<li><a class="el" href="a06247.html">ps_located.h</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 07:04:59 2004 for NeL by
+<a href="http://www.doxygen.org/index.html">
+<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
+</a>1.3.6 </small></address>
+</body>
+</html>