diff options
author | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
commit | 0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch) | |
tree | 2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/a05760.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to 'docs/doxygen/nel/a05760.html')
-rw-r--r-- | docs/doxygen/nel/a05760.html | 258 |
1 files changed, 258 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a05760.html b/docs/doxygen/nel/a05760.html new file mode 100644 index 00000000..f3d23728 --- /dev/null +++ b/docs/doxygen/nel/a05760.html @@ -0,0 +1,258 @@ +<!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: geom_ext.h Source File</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>geom_ext.h</h1><a href="a04337.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 +00007 <span class="comment">/* Copyright, 2000 Nevrax Ltd.</span> +00008 <span class="comment"> *</span> +00009 <span class="comment"> * This file is part of NEVRAX NEL.</span> +00010 <span class="comment"> * NEVRAX NEL is free software; you can redistribute it and/or modify</span> +00011 <span class="comment"> * it under the terms of the GNU General Public License as published by</span> +00012 <span class="comment"> * the Free Software Foundation; either version 2, or (at your option)</span> +00013 <span class="comment"> * any later version.</span> +00014 <span class="comment"></span> +00015 <span class="comment"> * NEVRAX NEL is distributed in the hope that it will be useful, but</span> +00016 <span class="comment"> * WITHOUT ANY WARRANTY; without even the implied warranty of</span> +00017 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span> +00018 <span class="comment"> * General Public License for more details.</span> +00019 <span class="comment"></span> +00020 <span class="comment"> * You should have received a copy of the GNU General Public License</span> +00021 <span class="comment"> * along with NEVRAX NEL; see the file COPYING. If not, write to the</span> +00022 <span class="comment"> * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,</span> +00023 <span class="comment"> * MA 02111-1307, USA.</span> +00024 <span class="comment"> */</span> +00025 +00026 <span class="preprocessor">#ifndef NL_TRIANGLE_EXT_H</span> +00027 <span class="preprocessor"></span><span class="preprocessor">#define NL_TRIANGLE_EXT_H</span> +00028 <span class="preprocessor"></span> +00029 <span class="preprocessor">#include "<a class="code" href="a05167.html">nel/misc/types_nl.h</a>"</span> +00030 <span class="preprocessor">#include "<a class="code" href="a04487.html">nel/misc/line.h</a>"</span> +00031 <span class="preprocessor">#include "<a class="code" href="a05162.html">nel/misc/triangle.h</a>"</span> +00032 <span class="preprocessor">#include "<a class="code" href="a04874.html">nel/misc/quad.h</a>"</span> +00033 <span class="preprocessor">#include "<a class="code" href="a05232.html">nel/misc/uv.h</a>"</span> +00034 <span class="preprocessor">#include "<a class="code" href="a04917.html">nel/misc/rgba.h</a>"</span> +00035 +00036 +00037 <span class="keyword">namespace </span>NLMISC +00038 { +00039 +00040 <span class="comment">// ***************************************************************************</span> +00041 <span class="comment">// ***************************************************************************</span> +00042 <span class="comment">// Lines.</span> +00043 <span class="comment">// ***************************************************************************</span> +00044 <span class="comment">// ***************************************************************************</span> +00045 +00046 +00047 <span class="comment">// ***************************************************************************</span> +<a name="l00054"></a><a class="code" href="a02762.html">00054</a> <span class="comment"></span><span class="keyword">class </span><a class="code" href="a02762.html">CLineColor</a> : <span class="keyword">public</span> <a class="code" href="a02759.html">CLine</a> +00055 { +00056 <span class="keyword">public</span>: +<a name="l00057"></a><a class="code" href="a02762.html#NLMISC_1_1CLineColoro1">00057</a> <a class="code" href="a03337.html">CRGBA</a> <a class="code" href="a02762.html#NLMISC_1_1CLineColoro0">Color0</a>, <a class="code" href="a02762.html#NLMISC_1_1CLineColoro1">Color1</a>; +00058 +00059 <span class="keyword">public</span>: +00060 +<a name="l00062"></a><a class="code" href="a02762.html#NLMISC_1_1CLineColora0">00062</a> <a class="code" href="a02762.html#NLMISC_1_1CLineColora0">CLineColor</a>() {} +00063 +<a name="l00064"></a><a class="code" href="a02762.html#NLMISC_1_1CLineColora1">00064</a> <a class="code" href="a02762.html">CLineColor</a> &<a class="code" href="a02762.html#NLMISC_1_1CLineColora1">operator=</a>(<span class="keyword">const</span> <a class="code" href="a02759.html">CLine</a> &line) +00065 { +00066 *((<a class="code" href="a02759.html">CLine</a>*)<span class="keyword">this</span>)= line; +00067 <span class="keywordflow">return</span> *<span class="keyword">this</span>; +00068 } +00069 +00070 }; +00071 +00072 +00073 <span class="comment">// ***************************************************************************</span> +<a name="l00080"></a><a class="code" href="a02764.html">00080</a> <span class="comment"></span><span class="keyword">class </span><a class="code" href="a02764.html">CLineUV</a> : <span class="keyword">public</span> <a class="code" href="a02759.html">CLine</a> +00081 { +00082 <span class="keyword">public</span>: +<a name="l00083"></a><a class="code" href="a02764.html#NLMISC_1_1CLineUVo1">00083</a> <a class="code" href="a03640.html">CUV</a> <a class="code" href="a02764.html#NLMISC_1_1CLineUVo0">Uv0</a>, <a class="code" href="a02764.html#NLMISC_1_1CLineUVo1">Uv1</a>; +00084 +00085 <span class="keyword">public</span>: +00086 +<a name="l00088"></a><a class="code" href="a02764.html#NLMISC_1_1CLineUVa0">00088</a> <a class="code" href="a02764.html#NLMISC_1_1CLineUVa0">CLineUV</a>() {} +00089 +<a name="l00090"></a><a class="code" href="a02764.html#NLMISC_1_1CLineUVa1">00090</a> <a class="code" href="a02764.html">CLineUV</a> &<a class="code" href="a02764.html#NLMISC_1_1CLineUVa1">operator=</a>(<span class="keyword">const</span> <a class="code" href="a02759.html">CLine</a> &line) +00091 { +00092 *((<a class="code" href="a02759.html">CLine</a>*)<span class="keyword">this</span>)= line; +00093 <span class="keywordflow">return</span> *<span class="keyword">this</span>; +00094 } +00095 +00096 }; +00097 +00098 +00099 <span class="comment">// ***************************************************************************</span> +<a name="l00106"></a><a class="code" href="a02763.html">00106</a> <span class="comment"></span><span class="keyword">class </span><a class="code" href="a02763.html">CLineColorUV</a> : <span class="keyword">public</span> <a class="code" href="a02759.html">CLine</a> +00107 { +00108 <span class="keyword">public</span>: +<a name="l00109"></a><a class="code" href="a02763.html#NLMISC_1_1CLineColorUVo1">00109</a> <a class="code" href="a03337.html">CRGBA</a> Color0, Color1; +<a name="l00110"></a><a class="code" href="a02763.html#NLMISC_1_1CLineColorUVo3">00110</a> <a class="code" href="a03640.html">CUV</a> Uv0, Uv1; +00111 +00112 <span class="keyword">public</span>: +00113 +<a name="l00115"></a><a class="code" href="a02763.html#NLMISC_1_1CLineColorUVa0">00115</a> <a class="code" href="a02763.html#NLMISC_1_1CLineColorUVa0">CLineColorUV</a>() {} +00116 +<a name="l00117"></a><a class="code" href="a02763.html#NLMISC_1_1CLineColorUVa1">00117</a> <a class="code" href="a02763.html">CLineColorUV</a> &<a class="code" href="a02763.html#NLMISC_1_1CLineColorUVa1">operator=</a>(<span class="keyword">const</span> <a class="code" href="a02759.html">CLine</a> &line) +00118 { +00119 *((<a class="code" href="a02759.html">CLine</a>*)<span class="keyword">this</span>)= line; +00120 <span class="keywordflow">return</span> *<span class="keyword">this</span>; +00121 } +00122 +00123 }; +00124 +00125 +00126 <span class="comment">// ***************************************************************************</span> +00127 <span class="comment">// ***************************************************************************</span> +00128 <span class="comment">// Triangles.</span> +00129 <span class="comment">// ***************************************************************************</span> +00130 <span class="comment">// ***************************************************************************</span> +00131 +00132 +00133 +00134 <span class="comment">// ***************************************************************************</span> +<a name="l00141"></a><a class="code" href="a03617.html">00141</a> <span class="comment"></span><span class="keyword">class </span><a class="code" href="a03617.html">CTriangleColor</a> : <span class="keyword">public</span> <a class="code" href="a03616.html">CTriangle</a> +00142 { +00143 <span class="keyword">public</span>: +<a name="l00144"></a><a class="code" href="a03617.html#NLMISC_1_1CTriangleColoro2">00144</a> <a class="code" href="a03337.html">CRGBA</a> Color0, Color1, <a class="code" href="a03617.html#NLMISC_1_1CTriangleColoro2">Color2</a>; +00145 +00146 <span class="keyword">public</span>: +00147 +<a name="l00149"></a><a class="code" href="a03617.html#NLMISC_1_1CTriangleColora1">00149</a> <a class="code" href="a03617.html#NLMISC_1_1CTriangleColora1">CTriangleColor</a>() {} +00150 +<a name="l00151"></a><a class="code" href="a03617.html#NLMISC_1_1CTriangleColora3">00151</a> <a class="code" href="a03617.html">CTriangleColor</a> &<a class="code" href="a03617.html#NLMISC_1_1CTriangleColora3">operator=</a>(<span class="keyword">const</span> <a class="code" href="a03616.html">CTriangle</a> &tri) +00152 { +00153 *((<a class="code" href="a03616.html">CTriangle</a>*)<span class="keyword">this</span>)= tri; +00154 <span class="keywordflow">return</span> *<span class="keyword">this</span>; +00155 } +00156 +00157 }; +00158 +00159 +00160 <span class="comment">// ***************************************************************************</span> +<a name="l00167"></a><a class="code" href="a03621.html">00167</a> <span class="comment"></span><span class="keyword">class </span><a class="code" href="a03621.html">CTriangleUV</a> : <span class="keyword">public</span> <a class="code" href="a03616.html">CTriangle</a> +00168 { +00169 <span class="keyword">public</span>: +<a name="l00170"></a><a class="code" href="a03621.html#NLMISC_1_1CTriangleUVo2">00170</a> <a class="code" href="a03640.html">CUV</a> Uv0, Uv1, <a class="code" href="a03621.html#NLMISC_1_1CTriangleUVo2">Uv2</a>; +00171 +00172 <span class="keyword">public</span>: +00173 +<a name="l00175"></a><a class="code" href="a03621.html#NLMISC_1_1CTriangleUVa1">00175</a> <a class="code" href="a03621.html#NLMISC_1_1CTriangleUVa1">CTriangleUV</a>() {} +00176 +<a name="l00177"></a><a class="code" href="a03621.html#NLMISC_1_1CTriangleUVa3">00177</a> <a class="code" href="a03621.html">CTriangleUV</a> &<a class="code" href="a03621.html#NLMISC_1_1CTriangleUVa3">operator=</a>(<span class="keyword">const</span> <a class="code" href="a03616.html">CTriangle</a> &tri) +00178 { +00179 *((<a class="code" href="a03616.html">CTriangle</a>*)<span class="keyword">this</span>)= tri; +00180 <span class="keywordflow">return</span> *<span class="keyword">this</span>; +00181 } +00182 +00183 }; +00184 +00185 +00186 <span class="comment">// ***************************************************************************</span> +<a name="l00193"></a><a class="code" href="a03618.html">00193</a> <span class="comment"></span><span class="keyword">class </span><a class="code" href="a03618.html">CTriangleColorUV</a> : <span class="keyword">public</span> <a class="code" href="a03616.html">CTriangle</a> +00194 { +00195 <span class="keyword">public</span>: +<a name="l00196"></a><a class="code" href="a03618.html#NLMISC_1_1CTriangleColorUVo2">00196</a> <a class="code" href="a03337.html">CRGBA</a> Color0, Color1, Color2; +<a name="l00197"></a><a class="code" href="a03618.html#NLMISC_1_1CTriangleColorUVo5">00197</a> <a class="code" href="a03640.html">CUV</a> Uv0, Uv1, Uv2; +00198 +00199 <span class="keyword">public</span>: +00200 +<a name="l00202"></a><a class="code" href="a03618.html#NLMISC_1_1CTriangleColorUVa1">00202</a> <a class="code" href="a03618.html#NLMISC_1_1CTriangleColorUVa1">CTriangleColorUV</a>() {} +00203 +<a name="l00204"></a><a class="code" href="a03618.html#NLMISC_1_1CTriangleColorUVa3">00204</a> <a class="code" href="a03618.html">CTriangleColorUV</a> &<a class="code" href="a03618.html#NLMISC_1_1CTriangleColorUVa3">operator=</a>(<span class="keyword">const</span> <a class="code" href="a03616.html">CTriangle</a> &tri) +00205 { +00206 *((<a class="code" href="a03616.html">CTriangle</a>*)<span class="keyword">this</span>)= tri; +00207 <span class="keywordflow">return</span> *<span class="keyword">this</span>; +00208 } +00209 +00210 }; +00211 +00212 +00213 <span class="comment">// ***************************************************************************</span> +00214 <span class="comment">// ***************************************************************************</span> +00215 <span class="comment">// Quads.</span> +00216 <span class="comment">// ***************************************************************************</span> +00217 <span class="comment">// ***************************************************************************</span> +00218 +00219 +00220 <span class="comment">// ***************************************************************************</span> +<a name="l00227"></a><a class="code" href="a03268.html">00227</a> <span class="comment"></span><span class="keyword">class </span><a class="code" href="a03268.html">CQuadColor</a> : <span class="keyword">public</span> <a class="code" href="a03265.html">CQuad</a> +00228 { +00229 <span class="keyword">public</span>: +<a name="l00230"></a><a class="code" href="a03268.html#NLMISC_1_1CQuadColoro3">00230</a> <a class="code" href="a03337.html">CRGBA</a> Color0, Color1, Color2, <a class="code" href="a03268.html#NLMISC_1_1CQuadColoro3">Color3</a>; +00231 +00232 <span class="keyword">public</span>: +00233 +<a name="l00235"></a><a class="code" href="a03268.html#NLMISC_1_1CQuadColora0">00235</a> <a class="code" href="a03268.html#NLMISC_1_1CQuadColora0">CQuadColor</a>() {} +00236 +<a name="l00237"></a><a class="code" href="a03268.html#NLMISC_1_1CQuadColora1">00237</a> <a class="code" href="a03268.html">CQuadColor</a> &<a class="code" href="a03268.html#NLMISC_1_1CQuadColora1">operator=</a>(<span class="keyword">const</span> <a class="code" href="a03265.html">CQuad</a> &quad) +00238 { +00239 *((<a class="code" href="a03265.html">CQuad</a>*)<span class="keyword">this</span>)= quad; +00240 <span class="keywordflow">return</span> *<span class="keyword">this</span>; +00241 } +00242 +00243 }; +00244 +00245 +00246 <span class="comment">// ***************************************************************************</span> +<a name="l00253"></a><a class="code" href="a03295.html">00253</a> <span class="comment"></span><span class="keyword">class </span><a class="code" href="a03295.html">CQuadUV</a> : <span class="keyword">public</span> <a class="code" href="a03265.html">CQuad</a> +00254 { +00255 <span class="keyword">public</span>: +<a name="l00256"></a><a class="code" href="a03295.html#NLMISC_1_1CQuadUVo3">00256</a> <a class="code" href="a03640.html">CUV</a> Uv0, Uv1, Uv2, <a class="code" href="a03295.html#NLMISC_1_1CQuadUVo3">Uv3</a>; +00257 +00258 <span class="keyword">public</span>: +00259 +<a name="l00261"></a><a class="code" href="a03295.html#NLMISC_1_1CQuadUVa0">00261</a> <a class="code" href="a03295.html#NLMISC_1_1CQuadUVa0">CQuadUV</a>() {} +00262 +<a name="l00263"></a><a class="code" href="a03295.html#NLMISC_1_1CQuadUVa1">00263</a> <a class="code" href="a03295.html">CQuadUV</a> &<a class="code" href="a03295.html#NLMISC_1_1CQuadUVa1">operator=</a>(<span class="keyword">const</span> <a class="code" href="a03265.html">CQuad</a> &quad) +00264 { +00265 *((<a class="code" href="a03265.html">CQuad</a>*)<span class="keyword">this</span>)= quad; +00266 <span class="keywordflow">return</span> *<span class="keyword">this</span>; +00267 } +00268 +00269 }; +00270 +00271 +00272 <span class="comment">// ***************************************************************************</span> +<a name="l00279"></a><a class="code" href="a03269.html">00279</a> <span class="comment"></span><span class="keyword">class </span><a class="code" href="a03269.html">CQuadColorUV</a> : <span class="keyword">public</span> <a class="code" href="a03265.html">CQuad</a> +00280 { +00281 <span class="keyword">public</span>: +<a name="l00282"></a><a class="code" href="a03269.html#NLMISC_1_1CQuadColorUV2o3">00282</a> <a class="code" href="a03337.html">CRGBA</a> Color0, Color1, Color2, Color3; +<a name="l00283"></a><a class="code" href="a03269.html#NLMISC_1_1CQuadColorUV2o10">00283</a> <a class="code" href="a03640.html">CUV</a> Uv0, Uv1, Uv2, Uv3; +00284 +00285 <span class="keyword">public</span>: +00286 +<a name="l00288"></a><a class="code" href="a03269.html#NLMISC_1_1CQuadColorUVa0">00288</a> <a class="code" href="a03269.html#NLMISC_1_1CQuadColorUVa0">CQuadColorUV</a>() {} +00289 +<a name="l00290"></a><a class="code" href="a03269.html#NLMISC_1_1CQuadColorUVa1">00290</a> <a class="code" href="a03269.html">CQuadColorUV</a> &<a class="code" href="a03269.html#NLMISC_1_1CQuadColorUVa1">operator=</a>(<span class="keyword">const</span> <a class="code" href="a03265.html">CQuad</a> &quad) +00291 { +00292 *((<a class="code" href="a03265.html">CQuad</a>*)<span class="keyword">this</span>)= quad; +00293 <span class="keywordflow">return</span> *<span class="keyword">this</span>; +00294 } +00295 +00296 }; +00297 +00298 +00299 <span class="comment">// ***************************************************************************</span> +<a name="l00306"></a><a class="code" href="a03270.html">00306</a> <span class="comment"></span><span class="keyword">class </span><a class="code" href="a03270.html">CQuadColorUV2</a> : <span class="keyword">public</span> <a class="code" href="a03269.html">CQuadColorUV</a> +00307 { +00308 <span class="keyword">public</span>: +<a name="l00309"></a><a class="code" href="a03270.html#NLMISC_1_1CQuadColorUV2o11">00309</a> <a class="code" href="a03640.html">CUV</a> <a class="code" href="a03270.html#NLMISC_1_1CQuadColorUV2o5">Uv02</a>, <a class="code" href="a03270.html#NLMISC_1_1CQuadColorUV2o7">Uv12</a>, <a class="code" href="a03270.html#NLMISC_1_1CQuadColorUV2o9">Uv22</a>, <a class="code" href="a03270.html#NLMISC_1_1CQuadColorUV2o11">Uv32</a>; +00310 }; +00311 +00312 +00313 } <span class="comment">// NLMISC</span> +00314 +00315 +00316 <span class="preprocessor">#endif // NL_TRIANGLE_EXT_H</span> +00317 <span class="preprocessor"></span> +00318 <span class="comment">/* End of triangle_ext.h */</span> +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 06:25:45 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> |