diff options
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/a03620.html | 407 |
1 files changed, 407 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03620.html b/docs/doxygen/nel/a03620.html new file mode 100644 index 00000000..be4cb842 --- /dev/null +++ b/docs/doxygen/nel/a03620.html @@ -0,0 +1,407 @@ +<!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::CTrianglePatch 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 Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div> +<h1>NL3D::CTrianglePatch Struct Reference</h1><code>#include <<a class="el" href="a06156.html">patch.h</a>></code> +<p> +<p>Inheritance diagram for NL3D::CTrianglePatch: +<p><center><img src="a03620.png" usemap="#NL3D::CTrianglePatch_map" border="0" alt=""></center> +<map name="NL3D::CTrianglePatch_map"> +<area href="a03621.html" alt="NLMISC::CTriangleUV" shape="rect" coords="0,56,137,80"> +<area href="a03616.html" alt="NLMISC::CTriangle" shape="rect" coords="0,0,137,24"> +</map> +<hr><a name="_details"></a><h2>Detailed Description</h2> +A triangle from a patch identifier.<p> +<dl compact><dt><b>Author:</b></dt><dd>Lionel Berenguier <p> +Nevrax France </dd></dl> +<dl compact><dt><b>Date:</b></dt><dd>2000 </dd></dl> + +<p> + +<p> +Definition at line <a class="el" href="a06156.html#l00178">178</a> of file <a class="el" href="a06156.html">patch.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>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03616.html#NLMISC_1_1CTriangleUVa0">computeGradient</a> (float c0, float c1, float c2, <a class="el" href="a03128.html">CVector</a> &grad) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03616.html#NLMISC_1_1CTriangleUVa2">intersect</a> (const <a class="el" href="a03128.html">CVector</a> &p0, const <a class="el" href="a03128.html">CVector</a> &p1, <a class="el" href="a03128.html">CVector</a> &hit, const class <a class="el" href="a03082.html">NLMISC::CPlane</a> &plane) const </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="a02706.html">CPatchIdent</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03620.html#NL3D_1_1CTrianglePatcho0">PatchId</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">from which patch this triangle comes from. <a href="#NL3D_1_1CTrianglePatcho0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03640.html">CUV</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03621.html#NLMISC_1_1CTriangleUVo0">Uv0</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03640.html">CUV</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03621.html#NLMISC_1_1CTriangleUVo1">Uv1</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03640.html">CUV</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03621.html#NLMISC_1_1CTriangleUVo2">Uv2</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03128.html">CVector</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03616.html#NLMISC_1_1CTriangleUVo3">V0</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03128.html">CVector</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03616.html#NLMISC_1_1CTriangleUVo4">V1</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03128.html">CVector</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03616.html#NLMISC_1_1CTriangleUVo5">V2</a></td></tr> + +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NLMISC_1_1CTriangleUVa0" doxytag="NL3D::CTrianglePatch::computeGradient" ></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 NLMISC::CTriangle::computeGradient </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname" nowrap> <em>c0</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>c1</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>c2</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03128.html">CVector</a> & </td> + <td class="mdname" nowrap> <em>grad</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +3D Gradient computation. Given 3 values at the 3 corners 'ci' (gouraud, uv....), this method compute the gradients Grad. The formula to compute the interpolated value according to a 3d position 'v' in space is then simply: <br> + c(v)= c0 + grad*(v-V0) +<p> +Definition at line <a class="el" href="a06584.html#l00067">67</a> of file <a class="el" href="a06584.html">triangle.cpp</a>. +<p> +References <a class="el" href="a06682.html#l00119">NLMISC::CVector::normalize()</a>, <a class="el" href="a06682.html#l00136">NLMISC::CVector::set()</a>, <a class="el" href="a06585.html#l00051">NLMISC::CTriangle::V0</a>, <a class="el" href="a06585.html#l00051">NLMISC::CTriangle::V1</a>, <a class="el" href="a06585.html#l00051">NLMISC::CTriangle::V2</a>, <a class="el" href="a06673.html#l00051">NLMISC::CVector::x</a>, <a class="el" href="a06673.html#l00051">NLMISC::CVector::y</a>, and <a class="el" href="a06673.html#l00051">NLMISC::CVector::z</a>. +<p> +Referenced by <a class="el" href="a06481.html#l00078">NL3D::BuildTangentSpace()</a>, <a class="el" href="a05937.html#l00066">NL3D::CLodCharacterShapeBuild::compile()</a>, <a class="el" href="a06497.html#l03156">NL3D::CTessFace::computeTesselatedPos()</a>, <a class="el" href="a06725.html#l00247">NL3D::CVisualCollisionEntity::computeUvForPos()</a>, and <a class="el" href="a06768.html#l00444">RenderTriangle()</a>. +<p> +<div class="fragment"><pre>00068 { +00069 <span class="comment">// Compute basis for 2D triangle.</span> +00070 CVector locI, locJ, locK; +00071 locI= <a class="code" href="a03616.html#NLMISC_1_1CTriangleUVo4">V1</a>-<a class="code" href="a03616.html#NLMISC_1_1CTriangleUVo3">V0</a>; +00072 locJ= <a class="code" href="a03616.html#NLMISC_1_1CTriangleUVo5">V2</a>-<a class="code" href="a03616.html#NLMISC_1_1CTriangleUVo3">V0</a>; +00073 locK= locI^locJ; +00074 locK.normalize(); +00075 locI.normalize(); +00076 locJ= locK^locI; +00077 +00078 <span class="comment">// compute triangle in 2D.</span> +00079 <a class="code" href="a03616.html#NLMISC_1_1CTrianglea2">CTriangle</a> tri2D; +00080 tri2D.V0.set(0,0,0); +00081 tri2D.V1.x= (<a class="code" href="a03616.html#NLMISC_1_1CTriangleUVo4">V1</a>-<a class="code" href="a03616.html#NLMISC_1_1CTriangleUVo3">V0</a>)*locI; +00082 tri2D.V1.y= (<a class="code" href="a03616.html#NLMISC_1_1CTriangleUVo4">V1</a>-<a class="code" href="a03616.html#NLMISC_1_1CTriangleUVo3">V0</a>)*locJ; +00083 tri2D.V1.z= 0; +00084 tri2D.V2.x= (<a class="code" href="a03616.html#NLMISC_1_1CTriangleUVo5">V2</a>-<a class="code" href="a03616.html#NLMISC_1_1CTriangleUVo3">V0</a>)*locI; +00085 tri2D.V2.y= (<a class="code" href="a03616.html#NLMISC_1_1CTriangleUVo5">V2</a>-<a class="code" href="a03616.html#NLMISC_1_1CTriangleUVo3">V0</a>)*locJ; +00086 tri2D.V2.z= 0; +00087 +00088 <span class="comment">// Compute 2 2D Gradients.</span> +00089 <span class="keywordtype">float</span> dx01= tri2D.V0.x - tri2D.V2.x; +00090 <span class="keywordtype">float</span> dx02= tri2D.V1.x - tri2D.V2.x; +00091 <span class="keywordtype">float</span> dy01= tri2D.V0.y - tri2D.V2.y; +00092 <span class="keywordtype">float</span> dy02= tri2D.V1.y - tri2D.V2.y; +00093 <span class="keywordtype">float</span> dc01= c0 - c2; +00094 <span class="keywordtype">float</span> dc02= c1 - c2; +00095 <span class="keywordtype">float</span> gd= dx02*dy01 - dx01*dy02; +00096 +00097 <span class="keywordtype">float</span> OOgd; +00098 <span class="keywordflow">if</span>(gd!=0) +00099 OOgd= 1.0f/gd; +00100 <span class="keywordflow">else</span> +00101 OOgd= 1; <span class="comment">// for now, do not manage correctly this case.</span> +00102 <span class="keywordtype">float</span> gx, gy; +00103 gx= (dc02*dy01 - dc01*dy02) * OOgd; +00104 gy= (dc01*dx02 - dc02*dx01) * OOgd; +00105 +00106 <span class="comment">// transform in 3D.</span> +00107 grad= locI*gx + locJ*gy; +00108 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CTriangleUVa2" doxytag="NL3D::CTrianglePatch::intersect" ></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"> bool NLMISC::CTriangle::intersect </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a03128.html">CVector</a> & </td> + <td class="mdname" nowrap> <em>p0</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a03128.html">CVector</a> & </td> + <td class="mdname" nowrap> <em>p1</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03128.html">CVector</a> & </td> + <td class="mdname" nowrap> <em>hit</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const class <a class="el" href="a03082.html">NLMISC::CPlane</a> & </td> + <td class="mdname" nowrap> <em>plane</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Intersection detection with a segment. You must pass the normalized plane of the triangle as parameter.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>p0</em> </td><td>is the first point of the segment. </td></tr> + <tr><td valign=top><em>p1</em> </td><td>is the second point of the segment. </td></tr> + <tr><td valign=top><em>hit</em> </td><td>will receive the coordinate of the intersection if the method returns true. </td></tr> + <tr><td valign=top><em>plane</em> </td><td>is the plane of the triangle. Build it like this: <pre class="fragment"><div> CPlane plane; + plane.make (triangle.V0, triangle.V1, triangle.V2); +</div></pre></td></tr> + </table> +</dl> +<dl compact><dt><b>Returns:</b></dt><dd>true if the segement [p0,p1] intersects the triangle else false.</dd></dl> + +<p> +Referenced by <a class="el" href="a05824.html#l00633">NL3D::CInstanceLighter::computeSunContribution()</a>, <a class="el" href="a06768.html#l03139">NL3D::CZoneLighter::CPointLightRT::testRaytrace()</a>, and <a class="el" href="a05824.html#l00954">NL3D::CInstanceLighter::CPointLightRT::testRaytrace()</a>. </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NL3D_1_1CTrianglePatcho0" doxytag="NL3D::CTrianglePatch::PatchId" ></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="a02706.html">CPatchIdent</a> <a class="el" href="a03620.html#NL3D_1_1CTrianglePatcho0">NL3D::CTrianglePatch::PatchId</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +from which patch this triangle comes from. +<p> + +<p> +Definition at line <a class="el" href="a06156.html#l00181">181</a> of file <a class="el" href="a06156.html">patch.h</a>. +<p> +Referenced by <a class="el" href="a06155.html#l00335">NL3D::CPatch::addTileTrianglesInBBox()</a>, <a class="el" href="a06155.html#l00410">NL3D::CPatchQuadBlock::buildTileTriangles()</a>, <a class="el" href="a06725.html#l00527">NL3D::CVisualCollisionEntity::getStaticLightSetup()</a>, <a class="el" href="a06725.html#l00565">NL3D::CVisualCollisionEntity::getSurfaceInfo()</a>, and <a class="el" href="a06725.html#l00261">NL3D::CVisualCollisionEntity::snapToLandscapeCurrentTesselation()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CTriangleUVo0" doxytag="NL3D::CTrianglePatch::Uv0" ></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="a03640.html">CUV</a> <a class="el" href="a03621.html#NLMISC_1_1CTriangleUVo0">NLMISC::CTriangleUV::Uv0</a><code> [inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05760.html#l00170">170</a> of file <a class="el" href="a05760.html">geom_ext.h</a>. +<p> +Referenced by <a class="el" href="a06155.html#l00335">NL3D::CPatch::addTileTrianglesInBBox()</a>, <a class="el" href="a06155.html#l00410">NL3D::CPatchQuadBlock::buildTileTriangles()</a>, <a class="el" href="a06725.html#l00247">NL3D::CVisualCollisionEntity::computeUvForPos()</a>, and <a class="el" href="a05657.html#l00610">NL3D::CDriverUser::drawTriangle()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CTriangleUVo1" doxytag="NL3D::CTrianglePatch::Uv1" ></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="a03640.html">CUV</a> <a class="el" href="a03621.html#NLMISC_1_1CTriangleUVo1">NLMISC::CTriangleUV::Uv1</a><code> [inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05760.html#l00170">170</a> of file <a class="el" href="a05760.html">geom_ext.h</a>. +<p> +Referenced by <a class="el" href="a06155.html#l00335">NL3D::CPatch::addTileTrianglesInBBox()</a>, <a class="el" href="a06155.html#l00410">NL3D::CPatchQuadBlock::buildTileTriangles()</a>, <a class="el" href="a06725.html#l00247">NL3D::CVisualCollisionEntity::computeUvForPos()</a>, and <a class="el" href="a05657.html#l00610">NL3D::CDriverUser::drawTriangle()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CTriangleUVo2" doxytag="NL3D::CTrianglePatch::Uv2" ></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="a03640.html">CUV</a> <a class="el" href="a03621.html#NLMISC_1_1CTriangleUVo2">NLMISC::CTriangleUV::Uv2</a><code> [inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05760.html#l00170">170</a> of file <a class="el" href="a05760.html">geom_ext.h</a>. +<p> +Referenced by <a class="el" href="a06155.html#l00335">NL3D::CPatch::addTileTrianglesInBBox()</a>, <a class="el" href="a06155.html#l00410">NL3D::CPatchQuadBlock::buildTileTriangles()</a>, <a class="el" href="a06725.html#l00247">NL3D::CVisualCollisionEntity::computeUvForPos()</a>, and <a class="el" href="a05657.html#l00610">NL3D::CDriverUser::drawTriangle()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CTriangleUVo3" doxytag="NL3D::CTrianglePatch::V0" ></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">CVector</a> <a class="el" href="a03616.html#NLMISC_1_1CTriangleUVo3">NLMISC::CTriangle::V0</a><code> [inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06585.html#l00051">51</a> of file <a class="el" href="a06585.html">triangle.h</a>. +<p> +Referenced by <a class="el" href="a06034.html#l00056">NL3D::CMiniCol::addFaces()</a>, <a class="el" href="a06155.html#l00335">NL3D::CPatch::addTileTrianglesInBBox()</a>, <a class="el" href="a06374.html#l00057">NL3D::CShadowPolyReceiver::addTriangle()</a>, <a class="el" href="a05862.html#l03658">NL3D::CLandscape::appendToShadowPolyReceiver()</a>, <a class="el" href="a05862.html#l02380">NL3D::CLandscape::buildCollideFaces()</a>, <a class="el" href="a06481.html#l00078">NL3D::BuildTangentSpace()</a>, <a class="el" href="a06155.html#l00410">NL3D::CPatchQuadBlock::buildTileTriangles()</a>, <a class="el" href="a06481.html#l00069">NL3D::BuildTriFromMB()</a>, <a class="el" href="a05503.html#l00087">NL3D::CBSPTree< T >::CBSPNode::CBSPNode()</a>, <a class="el" href="a05937.html#l00066">NL3D::CLodCharacterShapeBuild::compile()</a>, <a class="el" href="a06768.html#l03202">NL3D::CZoneLighter::compilePointLightRT()</a>, <a class="el" href="a06584.html#l00067">NLMISC::CTriangle::computeGradient()</a>, <a class="el" href="a06497.html#l03156">NL3D::CTessFace::computeTesselatedPos()</a>, <a class="el" href="a06725.html#l00247">NL3D::CVisualCollisionEntity::computeUvForPos()</a>, <a class="el" href="a06190.html#l01928">NLMISC::CPolygon2D::CPolygon2D()</a>, <a class="el" href="a05657.html#l00575">NL3D::CDriverUser::drawTriangle()</a>, <a class="el" href="a06034.html#l00467">NL3D::CMiniCol::getFaces()</a>, <a class="el" href="a06034.html#l00341">NL3D::CMiniCol::getGroundNormal()</a>, <a class="el" href="a05618.html#l00172">NL3D::CCubeGrid< TCell >::insert()</a>, <a class="el" href="a05503.html#l00101">NL3D::CBSPTree< T >::CBSPNode::insert()</a>, <a class="el" href="a06768.html#l00920">NL3D::CZoneLighter::light()</a>, <a class="el" href="a05824.html#l00305">NL3D::CInstanceLighter::light()</a>, <a class="el" href="a05618.html#l00337">NL3D::CCubeGrid< TCell >::project()</a>, <a class="el" href="a06768.html#l00444">RenderTriangle()</a>, <a class="el" href="a06725.html#l00211">NL3D::CVisualCollisionEntity::snapToGround()</a>, <a class="el" href="a06034.html#l00242">NL3D::CMiniCol::snapToGround()</a>, <a class="el" href="a06725.html#l00366">NL3D::CVisualCollisionEntity::triangleIntersect()</a>, <a class="el" href="a06725.html#l00336">NL3D::CVisualCollisionEntity::triangleIntersect2DCeil()</a>, and <a class="el" href="a06725.html#l00299">NL3D::CVisualCollisionEntity::triangleIntersect2DGround()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CTriangleUVo4" doxytag="NL3D::CTrianglePatch::V1" ></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">CVector</a> <a class="el" href="a03616.html#NLMISC_1_1CTriangleUVo4">NLMISC::CTriangle::V1</a><code> [inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06585.html#l00051">51</a> of file <a class="el" href="a06585.html">triangle.h</a>. +<p> +Referenced by <a class="el" href="a06034.html#l00056">NL3D::CMiniCol::addFaces()</a>, <a class="el" href="a06155.html#l00335">NL3D::CPatch::addTileTrianglesInBBox()</a>, <a class="el" href="a06374.html#l00057">NL3D::CShadowPolyReceiver::addTriangle()</a>, <a class="el" href="a05862.html#l03658">NL3D::CLandscape::appendToShadowPolyReceiver()</a>, <a class="el" href="a05862.html#l02380">NL3D::CLandscape::buildCollideFaces()</a>, <a class="el" href="a06481.html#l00078">NL3D::BuildTangentSpace()</a>, <a class="el" href="a06155.html#l00410">NL3D::CPatchQuadBlock::buildTileTriangles()</a>, <a class="el" href="a06481.html#l00069">NL3D::BuildTriFromMB()</a>, <a class="el" href="a05503.html#l00087">NL3D::CBSPTree< T >::CBSPNode::CBSPNode()</a>, <a class="el" href="a05937.html#l00066">NL3D::CLodCharacterShapeBuild::compile()</a>, <a class="el" href="a06768.html#l03202">NL3D::CZoneLighter::compilePointLightRT()</a>, <a class="el" href="a06584.html#l00067">NLMISC::CTriangle::computeGradient()</a>, <a class="el" href="a06497.html#l03156">NL3D::CTessFace::computeTesselatedPos()</a>, <a class="el" href="a06190.html#l01928">NLMISC::CPolygon2D::CPolygon2D()</a>, <a class="el" href="a05657.html#l00575">NL3D::CDriverUser::drawTriangle()</a>, <a class="el" href="a06034.html#l00467">NL3D::CMiniCol::getFaces()</a>, <a class="el" href="a06034.html#l00341">NL3D::CMiniCol::getGroundNormal()</a>, <a class="el" href="a05618.html#l00172">NL3D::CCubeGrid< TCell >::insert()</a>, <a class="el" href="a05503.html#l00101">NL3D::CBSPTree< T >::CBSPNode::insert()</a>, <a class="el" href="a06768.html#l00920">NL3D::CZoneLighter::light()</a>, <a class="el" href="a05824.html#l00305">NL3D::CInstanceLighter::light()</a>, <a class="el" href="a05618.html#l00337">NL3D::CCubeGrid< TCell >::project()</a>, <a class="el" href="a06725.html#l00211">NL3D::CVisualCollisionEntity::snapToGround()</a>, <a class="el" href="a06034.html#l00242">NL3D::CMiniCol::snapToGround()</a>, <a class="el" href="a06725.html#l00366">NL3D::CVisualCollisionEntity::triangleIntersect()</a>, <a class="el" href="a06725.html#l00336">NL3D::CVisualCollisionEntity::triangleIntersect2DCeil()</a>, and <a class="el" href="a06725.html#l00299">NL3D::CVisualCollisionEntity::triangleIntersect2DGround()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CTriangleUVo5" doxytag="NL3D::CTrianglePatch::V2" ></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">CVector</a> <a class="el" href="a03616.html#NLMISC_1_1CTriangleUVo5">NLMISC::CTriangle::V2</a><code> [inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06585.html#l00051">51</a> of file <a class="el" href="a06585.html">triangle.h</a>. +<p> +Referenced by <a class="el" href="a06034.html#l00056">NL3D::CMiniCol::addFaces()</a>, <a class="el" href="a06155.html#l00335">NL3D::CPatch::addTileTrianglesInBBox()</a>, <a class="el" href="a06374.html#l00057">NL3D::CShadowPolyReceiver::addTriangle()</a>, <a class="el" href="a05862.html#l03658">NL3D::CLandscape::appendToShadowPolyReceiver()</a>, <a class="el" href="a05862.html#l02380">NL3D::CLandscape::buildCollideFaces()</a>, <a class="el" href="a06481.html#l00078">NL3D::BuildTangentSpace()</a>, <a class="el" href="a06155.html#l00410">NL3D::CPatchQuadBlock::buildTileTriangles()</a>, <a class="el" href="a06481.html#l00069">NL3D::BuildTriFromMB()</a>, <a class="el" href="a05503.html#l00087">NL3D::CBSPTree< T >::CBSPNode::CBSPNode()</a>, <a class="el" href="a05937.html#l00066">NL3D::CLodCharacterShapeBuild::compile()</a>, <a class="el" href="a06768.html#l03202">NL3D::CZoneLighter::compilePointLightRT()</a>, <a class="el" href="a06584.html#l00067">NLMISC::CTriangle::computeGradient()</a>, <a class="el" href="a06497.html#l03156">NL3D::CTessFace::computeTesselatedPos()</a>, <a class="el" href="a06190.html#l01928">NLMISC::CPolygon2D::CPolygon2D()</a>, <a class="el" href="a05657.html#l00575">NL3D::CDriverUser::drawTriangle()</a>, <a class="el" href="a06034.html#l00467">NL3D::CMiniCol::getFaces()</a>, <a class="el" href="a06034.html#l00341">NL3D::CMiniCol::getGroundNormal()</a>, <a class="el" href="a05618.html#l00172">NL3D::CCubeGrid< TCell >::insert()</a>, <a class="el" href="a05503.html#l00101">NL3D::CBSPTree< T >::CBSPNode::insert()</a>, <a class="el" href="a06768.html#l00920">NL3D::CZoneLighter::light()</a>, <a class="el" href="a05824.html#l00305">NL3D::CInstanceLighter::light()</a>, <a class="el" href="a05618.html#l00337">NL3D::CCubeGrid< TCell >::project()</a>, <a class="el" href="a06725.html#l00211">NL3D::CVisualCollisionEntity::snapToGround()</a>, <a class="el" href="a06034.html#l00242">NL3D::CMiniCol::snapToGround()</a>, <a class="el" href="a06725.html#l00366">NL3D::CVisualCollisionEntity::triangleIntersect()</a>, <a class="el" href="a06725.html#l00336">NL3D::CVisualCollisionEntity::triangleIntersect2DCeil()</a>, and <a class="el" href="a06725.html#l00299">NL3D::CVisualCollisionEntity::triangleIntersect2DGround()</a>. </td> + </tr> +</table> +<hr>The documentation for this struct was generated from the following file:<ul> +<li><a class="el" href="a06156.html">patch.h</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 08:18:56 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> |