<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>Irrlicht Engine: S3DVertex.h Source File</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <table class="irrlicht" > <tr valign="middle"> <td><font size="2"><a class="qindex" href="index.html"><font color="#FFFFFF">Home</font></a> | <a class="qindex" href="namespaces.html"><font color="#FFFFFF">Namespaces</font></a> | <a class="qindex" href="hierarchy.html"><font color="#FFFFFF">Hierarchy</font></a> | <a class="qindex" href="classes.html"><font color="#FFFFFF">Alphabetical List</font></a> | <a class="qindex" href="annotated.html"><font color="#FFFFFF"> Class list</font></a> | <a class="qindex" href="files.html"><font color="#FFFFFF">Files</font></a> | <a class="qindex" href="namespacemembers.html"><font color="#FFFFFF"> Namespace Members</font></a> | <a class="qindex" href="functions.html"><font color="#FFFFFF">Class members</font></a> | <a class="qindex" href="globals.html"><font color="#FFFFFF">File members</font></a> | <a class="qindex" href="pages.html"><font color="#FFFFFF">Tutorials</font></a></font> </td> </tr> </table> <!-- Generated by Doxygen 1.5.6 --> <h1>S3DVertex.h</h1><a href="_s3_d_vertex_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// Copyright (C) 2002-2009 Nikolaus Gebhardt</span> <a name="l00002"></a>00002 <span class="comment">// This file is part of the "Irrlicht Engine".</span> <a name="l00003"></a>00003 <span class="comment">// For conditions of distribution and use, see copyright notice in irrlicht.h</span> <a name="l00004"></a>00004 <a name="l00005"></a>00005 <span class="preprocessor">#ifndef __S_3D_VERTEX_H_INCLUDED__</span> <a name="l00006"></a>00006 <span class="preprocessor"></span><span class="preprocessor">#define __S_3D_VERTEX_H_INCLUDED__</span> <a name="l00007"></a>00007 <span class="preprocessor"></span> <a name="l00008"></a>00008 <span class="preprocessor">#include "<a class="code" href="vector3d_8h.html">vector3d.h</a>"</span> <a name="l00009"></a>00009 <span class="preprocessor">#include "<a class="code" href="vector2d_8h.html">vector2d.h</a>"</span> <a name="l00010"></a>00010 <span class="preprocessor">#include "<a class="code" href="_s_color_8h.html">SColor.h</a>"</span> <a name="l00011"></a>00011 <a name="l00012"></a>00012 <span class="keyword">namespace </span>irr <a name="l00013"></a>00013 { <a name="l00014"></a>00014 <span class="keyword">namespace </span>video <a name="l00015"></a>00015 { <a name="l00016"></a>00016 <a name="l00018"></a><a class="code" href="namespaceirr_1_1video.html#0e3b59e025e0d0db0ed2ee0ce904deac">00018</a> <span class="keyword">enum</span> <a class="code" href="namespaceirr_1_1video.html#0e3b59e025e0d0db0ed2ee0ce904deac" title="Enumeration for all vertex types there are.">E_VERTEX_TYPE</a> <a name="l00019"></a>00019 { <a name="l00021"></a><a class="code" href="namespaceirr_1_1video.html#0e3b59e025e0d0db0ed2ee0ce904deac98c8b791280bbf9252c4f4a37e91a416">00021</a> <a class="code" href="namespaceirr_1_1video.html#0e3b59e025e0d0db0ed2ee0ce904deac98c8b791280bbf9252c4f4a37e91a416" title="Standard vertex type used by the Irrlicht engine, video::S3DVertex.">EVT_STANDARD</a> = 0, <a name="l00022"></a>00022 <a name="l00024"></a>00024 <a name="l00025"></a><a class="code" href="namespaceirr_1_1video.html#0e3b59e025e0d0db0ed2ee0ce904deac7b5127a706ee33eb4385d702da007016">00025</a> <a class="code" href="namespaceirr_1_1video.html#0e3b59e025e0d0db0ed2ee0ce904deac7b5127a706ee33eb4385d702da007016" title="Vertex with two texture coordinates, video::S3DVertex2TCoords.">EVT_2TCOORDS</a>, <a name="l00026"></a>00026 <a name="l00028"></a>00028 <a name="l00029"></a><a class="code" href="namespaceirr_1_1video.html#0e3b59e025e0d0db0ed2ee0ce904deac8c50b5b2c88f08709d640fecc83dfb9b">00029</a> <a class="code" href="namespaceirr_1_1video.html#0e3b59e025e0d0db0ed2ee0ce904deac8c50b5b2c88f08709d640fecc83dfb9b" title="Vertex with a tangent and binormal vector, video::S3DVertexTangents.">EVT_TANGENTS</a> <a name="l00030"></a>00030 }; <a name="l00031"></a>00031 <a name="l00033"></a><a class="code" href="namespaceirr_1_1video.html#0f4d6a80a8777457dc9fbe966588f6a6">00033</a> <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> <a class="code" href="namespaceirr_1_1video.html#0f4d6a80a8777457dc9fbe966588f6a6" title="Array holding the built in vertex type names.">sBuiltInVertexTypeNames</a>[] = <a name="l00034"></a>00034 { <a name="l00035"></a>00035 <span class="stringliteral">"standard"</span>, <a name="l00036"></a>00036 <span class="stringliteral">"2tcoords"</span>, <a name="l00037"></a>00037 <span class="stringliteral">"tangents"</span>, <a name="l00038"></a>00038 0 <a name="l00039"></a>00039 }; <a name="l00040"></a>00040 <a name="l00042"></a><a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html">00042</a> <span class="keyword">struct </span><a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html" title="standard vertex used by the Irrlicht engine.">S3DVertex</a> <a name="l00043"></a>00043 { <a name="l00045"></a><a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#396baea2fe79be060fe7bd50bed81c6e">00045</a> <a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#396baea2fe79be060fe7bd50bed81c6e" title="default constructor">S3DVertex</a>() {} <a name="l00046"></a>00046 <a name="l00048"></a><a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#90158074178ec2c180bafb47c04a763a">00048</a> <a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#396baea2fe79be060fe7bd50bed81c6e" title="default constructor">S3DVertex</a>(<a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> x, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> y, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> z, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> nx, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> ny, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> nz, <a class="code" href="classirr_1_1video_1_1_s_color.html" title="Class representing a 32 bit ARGB color.">SColor</a> c, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> tu, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> tv) <a name="l00049"></a>00049 : <a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#d40e34b3828b1b58283090e20b280e47" title="Position.">Pos</a>(x,y,z), <a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#635ed7b736fdc6932ef19b3bd6e77eb9" title="Normal vector.">Normal</a>(nx,ny,nz), <a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#7b94948eda32f0a86512aafb311967e6" title="Color.">Color</a>(c), <a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#14c1f48de6debc2346ff2862a883e5cb" title="Texture coordinates.">TCoords</a>(tu,tv) {} <a name="l00050"></a>00050 <a name="l00052"></a><a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#4af08bc1db2d4dbac1c6e9f8fe1c01d0">00052</a> <a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#396baea2fe79be060fe7bd50bed81c6e" title="default constructor">S3DVertex</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">core::vector3df</a>& pos, <span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">core::vector3df</a>& normal, <a name="l00053"></a>00053 <a class="code" href="classirr_1_1video_1_1_s_color.html" title="Class representing a 32 bit ARGB color.">SColor</a> color, <span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector2d.html" title="2d vector template class with lots of operators and methods.">core::vector2d<f32></a>& tcoords) <a name="l00054"></a>00054 : <a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#d40e34b3828b1b58283090e20b280e47" title="Position.">Pos</a>(pos), <a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#635ed7b736fdc6932ef19b3bd6e77eb9" title="Normal vector.">Normal</a>(normal), <a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#7b94948eda32f0a86512aafb311967e6" title="Color.">Color</a>(color), <a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#14c1f48de6debc2346ff2862a883e5cb" title="Texture coordinates.">TCoords</a>(tcoords) {} <a name="l00055"></a>00055 <a name="l00057"></a><a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#d40e34b3828b1b58283090e20b280e47">00057</a> <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">core::vector3df</a> <a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#d40e34b3828b1b58283090e20b280e47" title="Position.">Pos</a>; <a name="l00058"></a>00058 <a name="l00060"></a><a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#635ed7b736fdc6932ef19b3bd6e77eb9">00060</a> <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">core::vector3df</a> <a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#635ed7b736fdc6932ef19b3bd6e77eb9" title="Normal vector.">Normal</a>; <a name="l00061"></a>00061 <a name="l00063"></a><a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#7b94948eda32f0a86512aafb311967e6">00063</a> <a class="code" href="classirr_1_1video_1_1_s_color.html" title="Class representing a 32 bit ARGB color.">SColor</a> <a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#7b94948eda32f0a86512aafb311967e6" title="Color.">Color</a>; <a name="l00064"></a>00064 <a name="l00066"></a><a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#14c1f48de6debc2346ff2862a883e5cb">00066</a> <a class="code" href="classirr_1_1core_1_1vector2d.html" title="2d vector template class with lots of operators and methods.">core::vector2d<f32></a> <a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#14c1f48de6debc2346ff2862a883e5cb" title="Texture coordinates.">TCoords</a>; <a name="l00067"></a>00067 <a name="l00068"></a><a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#42137434ad1b1c31fd7f3ed61718f67e">00068</a> <span class="keywordtype">bool</span> <a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#42137434ad1b1c31fd7f3ed61718f67e">operator==</a>(<span class="keyword">const</span> <a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html" title="standard vertex used by the Irrlicht engine.">S3DVertex</a>& other)<span class="keyword"> const</span> <a name="l00069"></a>00069 <span class="keyword"> </span>{ <a name="l00070"></a>00070 <span class="keywordflow">return</span> ((<a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#d40e34b3828b1b58283090e20b280e47" title="Position.">Pos</a> == other.<a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#d40e34b3828b1b58283090e20b280e47" title="Position.">Pos</a>) && (<a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#635ed7b736fdc6932ef19b3bd6e77eb9" title="Normal vector.">Normal</a> == other.<a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#635ed7b736fdc6932ef19b3bd6e77eb9" title="Normal vector.">Normal</a>) && <a name="l00071"></a>00071 (<a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#7b94948eda32f0a86512aafb311967e6" title="Color.">Color</a> == other.<a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#7b94948eda32f0a86512aafb311967e6" title="Color.">Color</a>) && (<a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#14c1f48de6debc2346ff2862a883e5cb" title="Texture coordinates.">TCoords</a> == other.<a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#14c1f48de6debc2346ff2862a883e5cb" title="Texture coordinates.">TCoords</a>)); <a name="l00072"></a>00072 } <a name="l00073"></a>00073 <a name="l00074"></a><a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#e4583087af7760485bad287d32a56834">00074</a> <span class="keywordtype">bool</span> <a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#e4583087af7760485bad287d32a56834">operator!=</a>(<span class="keyword">const</span> <a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html" title="standard vertex used by the Irrlicht engine.">S3DVertex</a>& other)<span class="keyword"> const</span> <a name="l00075"></a>00075 <span class="keyword"> </span>{ <a name="l00076"></a>00076 <span class="keywordflow">return</span> ((<a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#d40e34b3828b1b58283090e20b280e47" title="Position.">Pos</a> != other.<a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#d40e34b3828b1b58283090e20b280e47" title="Position.">Pos</a>) || (<a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#635ed7b736fdc6932ef19b3bd6e77eb9" title="Normal vector.">Normal</a> != other.<a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#635ed7b736fdc6932ef19b3bd6e77eb9" title="Normal vector.">Normal</a>) || <a name="l00077"></a>00077 (<a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#7b94948eda32f0a86512aafb311967e6" title="Color.">Color</a> != other.<a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#7b94948eda32f0a86512aafb311967e6" title="Color.">Color</a>) || (<a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#14c1f48de6debc2346ff2862a883e5cb" title="Texture coordinates.">TCoords</a> != other.<a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#14c1f48de6debc2346ff2862a883e5cb" title="Texture coordinates.">TCoords</a>)); <a name="l00078"></a>00078 } <a name="l00079"></a>00079 <a name="l00080"></a><a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#aa094d8eb9ae7bef35e72a512a36c50a">00080</a> <span class="keywordtype">bool</span> <a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#aa094d8eb9ae7bef35e72a512a36c50a">operator<</a>(<span class="keyword">const</span> <a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html" title="standard vertex used by the Irrlicht engine.">S3DVertex</a>& other)<span class="keyword"> const</span> <a name="l00081"></a>00081 <span class="keyword"> </span>{ <a name="l00082"></a>00082 <span class="keywordflow">return</span> ((<a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#d40e34b3828b1b58283090e20b280e47" title="Position.">Pos</a> < other.<a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#d40e34b3828b1b58283090e20b280e47" title="Position.">Pos</a>) || <a name="l00083"></a>00083 ((<a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#d40e34b3828b1b58283090e20b280e47" title="Position.">Pos</a> == other.<a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#d40e34b3828b1b58283090e20b280e47" title="Position.">Pos</a>) && (<a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#635ed7b736fdc6932ef19b3bd6e77eb9" title="Normal vector.">Normal</a> < other.<a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#635ed7b736fdc6932ef19b3bd6e77eb9" title="Normal vector.">Normal</a>)) || <a name="l00084"></a>00084 ((<a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#d40e34b3828b1b58283090e20b280e47" title="Position.">Pos</a> == other.<a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#d40e34b3828b1b58283090e20b280e47" title="Position.">Pos</a>) && (<a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#635ed7b736fdc6932ef19b3bd6e77eb9" title="Normal vector.">Normal</a> == other.<a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#635ed7b736fdc6932ef19b3bd6e77eb9" title="Normal vector.">Normal</a>) && (<a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#7b94948eda32f0a86512aafb311967e6" title="Color.">Color</a> < other.<a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#7b94948eda32f0a86512aafb311967e6" title="Color.">Color</a>)) || <a name="l00085"></a>00085 ((<a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#d40e34b3828b1b58283090e20b280e47" title="Position.">Pos</a> == other.<a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#d40e34b3828b1b58283090e20b280e47" title="Position.">Pos</a>) && (<a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#635ed7b736fdc6932ef19b3bd6e77eb9" title="Normal vector.">Normal</a> == other.<a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#635ed7b736fdc6932ef19b3bd6e77eb9" title="Normal vector.">Normal</a>) && (<a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#7b94948eda32f0a86512aafb311967e6" title="Color.">Color</a> == other.<a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#7b94948eda32f0a86512aafb311967e6" title="Color.">Color</a>) && (<a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#14c1f48de6debc2346ff2862a883e5cb" title="Texture coordinates.">TCoords</a> < other.<a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#14c1f48de6debc2346ff2862a883e5cb" title="Texture coordinates.">TCoords</a>))); <a name="l00086"></a>00086 } <a name="l00087"></a>00087 <a name="l00088"></a><a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#a766f51acc8424bcc0976ce79af646db">00088</a> <a class="code" href="namespaceirr_1_1video.html#0e3b59e025e0d0db0ed2ee0ce904deac" title="Enumeration for all vertex types there are.">E_VERTEX_TYPE</a> <a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html#a766f51acc8424bcc0976ce79af646db">getType</a>()<span class="keyword"> const</span> <a name="l00089"></a>00089 <span class="keyword"> </span>{ <a name="l00090"></a>00090 <span class="keywordflow">return</span> <a class="code" href="namespaceirr_1_1video.html#0e3b59e025e0d0db0ed2ee0ce904deac98c8b791280bbf9252c4f4a37e91a416" title="Standard vertex type used by the Irrlicht engine, video::S3DVertex.">EVT_STANDARD</a>; <a name="l00091"></a>00091 } <a name="l00092"></a>00092 }; <a name="l00093"></a>00093 <a name="l00094"></a>00094 <a name="l00096"></a>00096 <a name="l00099"></a><a class="code" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html">00099</a> <span class="keyword">struct </span><a class="code" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html" title="Vertex with two texture coordinates.">S3DVertex2TCoords</a> : <span class="keyword">public</span> <a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html" title="standard vertex used by the Irrlicht engine.">S3DVertex</a> <a name="l00100"></a>00100 { <a name="l00102"></a><a class="code" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html#576818fd5d7b120a8266a5f0f6ea8215">00102</a> <a class="code" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html#576818fd5d7b120a8266a5f0f6ea8215" title="default constructor">S3DVertex2TCoords</a>() : <a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html" title="standard vertex used by the Irrlicht engine.">S3DVertex</a>() {} <a name="l00103"></a>00103 <a name="l00105"></a><a class="code" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html#8a1284825d35ca6448f694688ba2337b">00105</a> <a class="code" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html#576818fd5d7b120a8266a5f0f6ea8215" title="default constructor">S3DVertex2TCoords</a>(<a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> x, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> y, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> z, <a class="code" href="classirr_1_1video_1_1_s_color.html" title="Class representing a 32 bit ARGB color.">SColor</a> c, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> tu, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> tv, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> tu2, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> tv2) <a name="l00106"></a>00106 : <a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html" title="standard vertex used by the Irrlicht engine.">S3DVertex</a>(x,y,z, 0.0f, 0.0f, 0.0f, c, tu,tv), <a class="code" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html#5c6a79bab5e6df90a73631787be6e737" title="Second set of texture coordinates.">TCoords2</a>(tu2,tv2) {} <a name="l00107"></a>00107 <a name="l00109"></a><a class="code" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html#9fa652c1a470fd17548cfacb5e0dfa31">00109</a> <a class="code" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html#576818fd5d7b120a8266a5f0f6ea8215" title="default constructor">S3DVertex2TCoords</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">core::vector3df</a>& pos, <a class="code" href="classirr_1_1video_1_1_s_color.html" title="Class representing a 32 bit ARGB color.">SColor</a> color, <a name="l00110"></a>00110 <span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector2d.html" title="2d vector template class with lots of operators and methods.">core::vector2d<f32></a>& tcoords, <span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector2d.html" title="2d vector template class with lots of operators and methods.">core::vector2d<f32></a>& tcoords2) <a name="l00111"></a>00111 : <a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html" title="standard vertex used by the Irrlicht engine.">S3DVertex</a>(pos, core::<a class="code" href="namespaceirr_1_1core.html#06f169d08b5c429f5575acb7edbad811" title="Typedef for a f32 3d vector.">vector3df</a>(), color, tcoords), <a class="code" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html#5c6a79bab5e6df90a73631787be6e737" title="Second set of texture coordinates.">TCoords2</a>(tcoords2) {} <a name="l00112"></a>00112 <a name="l00114"></a><a class="code" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html#fc6731866afaad4cc7ca587170b8f527">00114</a> <a class="code" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html#576818fd5d7b120a8266a5f0f6ea8215" title="default constructor">S3DVertex2TCoords</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">core::vector3df</a>& pos, <span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">core::vector3df</a>& normal, <span class="keyword">const</span> <a class="code" href="classirr_1_1video_1_1_s_color.html" title="Class representing a 32 bit ARGB color.">SColor</a>& color, <a name="l00115"></a>00115 <span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector2d.html" title="2d vector template class with lots of operators and methods.">core::vector2d<f32></a>& tcoords, <span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector2d.html" title="2d vector template class with lots of operators and methods.">core::vector2d<f32></a>& tcoords2) <a name="l00116"></a>00116 : <a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html" title="standard vertex used by the Irrlicht engine.">S3DVertex</a>(pos, normal, color, tcoords), <a class="code" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html#5c6a79bab5e6df90a73631787be6e737" title="Second set of texture coordinates.">TCoords2</a>(tcoords2) {} <a name="l00117"></a>00117 <a name="l00119"></a><a class="code" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html#f1d7be2abf72e9b40adb6164824d0bab">00119</a> <a class="code" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html#576818fd5d7b120a8266a5f0f6ea8215" title="default constructor">S3DVertex2TCoords</a>(<a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> x, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> y, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> z, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> nx, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> ny, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> nz, <a class="code" href="classirr_1_1video_1_1_s_color.html" title="Class representing a 32 bit ARGB color.">SColor</a> c, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> tu, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> tv, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> tu2, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> tv2) <a name="l00120"></a>00120 : <a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html" title="standard vertex used by the Irrlicht engine.">S3DVertex</a>(x,y,z, nx,ny,nz, c, tu,tv), <a class="code" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html#5c6a79bab5e6df90a73631787be6e737" title="Second set of texture coordinates.">TCoords2</a>(tu2,tv2) {} <a name="l00121"></a>00121 <a name="l00123"></a><a class="code" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html#72f4a4a06ba61f5e7954ca9d13bac199">00123</a> <a class="code" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html#576818fd5d7b120a8266a5f0f6ea8215" title="default constructor">S3DVertex2TCoords</a>(<a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> x, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> y, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> z, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> nx, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> ny, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> nz, <a class="code" href="classirr_1_1video_1_1_s_color.html" title="Class representing a 32 bit ARGB color.">SColor</a> c, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> tu, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> tv) <a name="l00124"></a>00124 : <a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html" title="standard vertex used by the Irrlicht engine.">S3DVertex</a>(x,y,z, nx,ny,nz, c, tu,tv), <a class="code" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html#5c6a79bab5e6df90a73631787be6e737" title="Second set of texture coordinates.">TCoords2</a>(tu,tv) {} <a name="l00125"></a>00125 <a name="l00127"></a><a class="code" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html#eb8c774e08df0f4ada0ba2b6f807aa53">00127</a> <a class="code" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html#576818fd5d7b120a8266a5f0f6ea8215" title="default constructor">S3DVertex2TCoords</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">core::vector3df</a>& pos, <span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">core::vector3df</a>& normal, <a name="l00128"></a>00128 <a class="code" href="classirr_1_1video_1_1_s_color.html" title="Class representing a 32 bit ARGB color.">SColor</a> color, <span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector2d.html" title="2d vector template class with lots of operators and methods.">core::vector2d<f32></a>& tcoords) <a name="l00129"></a>00129 : <a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html" title="standard vertex used by the Irrlicht engine.">S3DVertex</a>(pos, normal, color, tcoords), <a class="code" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html#5c6a79bab5e6df90a73631787be6e737" title="Second set of texture coordinates.">TCoords2</a>(tcoords) {} <a name="l00130"></a>00130 <a name="l00132"></a><a class="code" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html#c83609ae26733087c1aee35763881f3f">00132</a> <a class="code" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html#576818fd5d7b120a8266a5f0f6ea8215" title="default constructor">S3DVertex2TCoords</a>(<a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html" title="standard vertex used by the Irrlicht engine.">S3DVertex</a>& o) : <a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html" title="standard vertex used by the Irrlicht engine.">S3DVertex</a>(o) {} <a name="l00133"></a>00133 <a name="l00135"></a><a class="code" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html#5c6a79bab5e6df90a73631787be6e737">00135</a> <a class="code" href="classirr_1_1core_1_1vector2d.html" title="2d vector template class with lots of operators and methods.">core::vector2d<f32></a> <a class="code" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html#5c6a79bab5e6df90a73631787be6e737" title="Second set of texture coordinates.">TCoords2</a>; <a name="l00136"></a>00136 <a name="l00138"></a><a class="code" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html#01b8ac559555c32f4c36850df53f2669">00138</a> <span class="keywordtype">bool</span> <a class="code" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html#01b8ac559555c32f4c36850df53f2669" title="Equality operator.">operator==</a>(<span class="keyword">const</span> <a class="code" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html" title="Vertex with two texture coordinates.">S3DVertex2TCoords</a>& other)<span class="keyword"> const</span> <a name="l00139"></a>00139 <span class="keyword"> </span>{ <a name="l00140"></a>00140 <span class="keywordflow">return</span> ((static_cast<S3DVertex>(*<span class="keyword">this</span>)==other) && <a name="l00141"></a>00141 (<a class="code" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html#5c6a79bab5e6df90a73631787be6e737" title="Second set of texture coordinates.">TCoords2</a> == other.<a class="code" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html#5c6a79bab5e6df90a73631787be6e737" title="Second set of texture coordinates.">TCoords2</a>)); <a name="l00142"></a>00142 } <a name="l00143"></a>00143 <a name="l00145"></a><a class="code" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html#2e157e7380c312638d9a2245c84a6968">00145</a> <span class="keywordtype">bool</span> <a class="code" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html#2e157e7380c312638d9a2245c84a6968" title="Inequality operator.">operator!=</a>(<span class="keyword">const</span> <a class="code" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html" title="Vertex with two texture coordinates.">S3DVertex2TCoords</a>& other)<span class="keyword"> const</span> <a name="l00146"></a>00146 <span class="keyword"> </span>{ <a name="l00147"></a>00147 <span class="keywordflow">return</span> ((static_cast<S3DVertex>(*<span class="keyword">this</span>)!=other) || <a name="l00148"></a>00148 (<a class="code" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html#5c6a79bab5e6df90a73631787be6e737" title="Second set of texture coordinates.">TCoords2</a> != other.<a class="code" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html#5c6a79bab5e6df90a73631787be6e737" title="Second set of texture coordinates.">TCoords2</a>)); <a name="l00149"></a>00149 } <a name="l00150"></a>00150 <a name="l00151"></a><a class="code" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html#fd9684b909d11242ffcab608cf8f505a">00151</a> <span class="keywordtype">bool</span> <a class="code" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html#fd9684b909d11242ffcab608cf8f505a">operator<</a>(<span class="keyword">const</span> <a class="code" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html" title="Vertex with two texture coordinates.">S3DVertex2TCoords</a>& other)<span class="keyword"> const</span> <a name="l00152"></a>00152 <span class="keyword"> </span>{ <a name="l00153"></a>00153 <span class="keywordflow">return</span> ((static_cast<S3DVertex>(*<span class="keyword">this</span>) < other) || <a name="l00154"></a>00154 ((static_cast<S3DVertex>(*<span class="keyword">this</span>) == other) && (<a class="code" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html#5c6a79bab5e6df90a73631787be6e737" title="Second set of texture coordinates.">TCoords2</a> < other.<a class="code" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html#5c6a79bab5e6df90a73631787be6e737" title="Second set of texture coordinates.">TCoords2</a>))); <a name="l00155"></a>00155 } <a name="l00156"></a>00156 <a name="l00157"></a><a class="code" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html#1a8ecf9f42c9d141ab6e8aadcecb9c32">00157</a> <a class="code" href="namespaceirr_1_1video.html#0e3b59e025e0d0db0ed2ee0ce904deac" title="Enumeration for all vertex types there are.">E_VERTEX_TYPE</a> <a class="code" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html#1a8ecf9f42c9d141ab6e8aadcecb9c32">getType</a>()<span class="keyword"> const</span> <a name="l00158"></a>00158 <span class="keyword"> </span>{ <a name="l00159"></a>00159 <span class="keywordflow">return</span> <a class="code" href="namespaceirr_1_1video.html#0e3b59e025e0d0db0ed2ee0ce904deac7b5127a706ee33eb4385d702da007016" title="Vertex with two texture coordinates, video::S3DVertex2TCoords.">EVT_2TCOORDS</a>; <a name="l00160"></a>00160 } <a name="l00161"></a>00161 }; <a name="l00162"></a>00162 <a name="l00163"></a>00163 <a name="l00165"></a>00165 <a name="l00166"></a><a class="code" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html">00166</a> <span class="keyword">struct </span><a class="code" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html" title="Vertex with a tangent and binormal vector.">S3DVertexTangents</a> : <span class="keyword">public</span> <a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html" title="standard vertex used by the Irrlicht engine.">S3DVertex</a> <a name="l00167"></a>00167 { <a name="l00169"></a><a class="code" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html#73c272df89a8d4d3cb5c94363a4b85d1">00169</a> <a class="code" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html#73c272df89a8d4d3cb5c94363a4b85d1" title="default constructor">S3DVertexTangents</a>() : <a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html" title="standard vertex used by the Irrlicht engine.">S3DVertex</a>() { } <a name="l00170"></a>00170 <a name="l00172"></a><a class="code" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html#9e0e424a375e5b090ba5c237a87feff2">00172</a> <a class="code" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html#73c272df89a8d4d3cb5c94363a4b85d1" title="default constructor">S3DVertexTangents</a>(<a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> x, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> y, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> z, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> nx=0.0f, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> ny=0.0f, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> nz=0.0f, <a name="l00173"></a>00173 <a class="code" href="classirr_1_1video_1_1_s_color.html" title="Class representing a 32 bit ARGB color.">SColor</a> c = 0xFFFFFFFF, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> tu=0.0f, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> tv=0.0f, <a name="l00174"></a>00174 <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> tanx=0.0f, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> tany=0.0f, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> tanz=0.0f, <a name="l00175"></a>00175 <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> bx=0.0f, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> by=0.0f, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> bz=0.0f) <a name="l00176"></a>00176 : <a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html" title="standard vertex used by the Irrlicht engine.">S3DVertex</a>(x,y,z, nx,ny,nz, c, tu,tv), <a class="code" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html#485fefe522b906ad5ba161e0a2c78250" title="Tangent vector along the x-axis of the texture.">Tangent</a>(tanx,tany,tanz), <a class="code" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html#1bbf1a06b343e7d477f6f31467d790ca" title="Binormal vector (tangent x normal).">Binormal</a>(bx,by,bz) { } <a name="l00177"></a>00177 <a name="l00179"></a><a class="code" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html#55532d7609227010fd31b3b9fbb4c03a">00179</a> <a class="code" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html#73c272df89a8d4d3cb5c94363a4b85d1" title="default constructor">S3DVertexTangents</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">core::vector3df</a>& pos, <a class="code" href="classirr_1_1video_1_1_s_color.html" title="Class representing a 32 bit ARGB color.">SColor</a> c, <a name="l00180"></a>00180 <span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector2d.html" title="2d vector template class with lots of operators and methods.">core::vector2df</a>& tcoords) <a name="l00181"></a>00181 : <a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html" title="standard vertex used by the Irrlicht engine.">S3DVertex</a>(pos, core::<a class="code" href="namespaceirr_1_1core.html#06f169d08b5c429f5575acb7edbad811" title="Typedef for a f32 3d vector.">vector3df</a>(), c, tcoords) { } <a name="l00182"></a>00182 <a name="l00184"></a><a class="code" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html#08be9afd37c99f7e95e762340f395eaa">00184</a> <a class="code" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html#73c272df89a8d4d3cb5c94363a4b85d1" title="default constructor">S3DVertexTangents</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">core::vector3df</a>& pos, <a name="l00185"></a>00185 <span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">core::vector3df</a>& normal, <a class="code" href="classirr_1_1video_1_1_s_color.html" title="Class representing a 32 bit ARGB color.">SColor</a> c, <a name="l00186"></a>00186 <span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector2d.html" title="2d vector template class with lots of operators and methods.">core::vector2df</a>& tcoords, <a name="l00187"></a>00187 <span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">core::vector3df</a>& tangent=<a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">core::vector3df</a>(), <a name="l00188"></a>00188 <span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">core::vector3df</a>& binormal=<a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">core::vector3df</a>()) <a name="l00189"></a>00189 : <a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html" title="standard vertex used by the Irrlicht engine.">S3DVertex</a>(pos, normal, c, tcoords), <a class="code" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html#485fefe522b906ad5ba161e0a2c78250" title="Tangent vector along the x-axis of the texture.">Tangent</a>(tangent), <a class="code" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html#1bbf1a06b343e7d477f6f31467d790ca" title="Binormal vector (tangent x normal).">Binormal</a>(binormal) { } <a name="l00190"></a>00190 <a name="l00192"></a><a class="code" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html#485fefe522b906ad5ba161e0a2c78250">00192</a> <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">core::vector3df</a> <a class="code" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html#485fefe522b906ad5ba161e0a2c78250" title="Tangent vector along the x-axis of the texture.">Tangent</a>; <a name="l00193"></a>00193 <a name="l00195"></a><a class="code" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html#1bbf1a06b343e7d477f6f31467d790ca">00195</a> <a class="code" href="classirr_1_1core_1_1vector3d.html" title="3d vector template class with lots of operators and methods.">core::vector3df</a> <a class="code" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html#1bbf1a06b343e7d477f6f31467d790ca" title="Binormal vector (tangent x normal).">Binormal</a>; <a name="l00196"></a>00196 <a name="l00197"></a><a class="code" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html#2cdfdbfa436a7f098d967ff8544a5050">00197</a> <span class="keywordtype">bool</span> <a class="code" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html#2cdfdbfa436a7f098d967ff8544a5050">operator==</a>(<span class="keyword">const</span> <a class="code" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html" title="Vertex with a tangent and binormal vector.">S3DVertexTangents</a>& other)<span class="keyword"> const</span> <a name="l00198"></a>00198 <span class="keyword"> </span>{ <a name="l00199"></a>00199 <span class="keywordflow">return</span> ((static_cast<S3DVertex>(*<span class="keyword">this</span>)==other) && <a name="l00200"></a>00200 (<a class="code" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html#485fefe522b906ad5ba161e0a2c78250" title="Tangent vector along the x-axis of the texture.">Tangent</a> == other.<a class="code" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html#485fefe522b906ad5ba161e0a2c78250" title="Tangent vector along the x-axis of the texture.">Tangent</a>) && <a name="l00201"></a>00201 (<a class="code" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html#1bbf1a06b343e7d477f6f31467d790ca" title="Binormal vector (tangent x normal).">Binormal</a> == other.<a class="code" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html#1bbf1a06b343e7d477f6f31467d790ca" title="Binormal vector (tangent x normal).">Binormal</a>)); <a name="l00202"></a>00202 } <a name="l00203"></a>00203 <a name="l00204"></a><a class="code" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html#48c3ddf4f9047f0a44c2901957367471">00204</a> <span class="keywordtype">bool</span> <a class="code" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html#48c3ddf4f9047f0a44c2901957367471">operator!=</a>(<span class="keyword">const</span> <a class="code" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html" title="Vertex with a tangent and binormal vector.">S3DVertexTangents</a>& other)<span class="keyword"> const</span> <a name="l00205"></a>00205 <span class="keyword"> </span>{ <a name="l00206"></a>00206 <span class="keywordflow">return</span> ((static_cast<S3DVertex>(*<span class="keyword">this</span>)!=other) || <a name="l00207"></a>00207 (<a class="code" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html#485fefe522b906ad5ba161e0a2c78250" title="Tangent vector along the x-axis of the texture.">Tangent</a> != other.<a class="code" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html#485fefe522b906ad5ba161e0a2c78250" title="Tangent vector along the x-axis of the texture.">Tangent</a>) || <a name="l00208"></a>00208 (<a class="code" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html#1bbf1a06b343e7d477f6f31467d790ca" title="Binormal vector (tangent x normal).">Binormal</a> != other.<a class="code" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html#1bbf1a06b343e7d477f6f31467d790ca" title="Binormal vector (tangent x normal).">Binormal</a>)); <a name="l00209"></a>00209 } <a name="l00210"></a>00210 <a name="l00211"></a><a class="code" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html#0a6e61c2f7edb7583262a70f0c3a64ba">00211</a> <span class="keywordtype">bool</span> <a class="code" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html#0a6e61c2f7edb7583262a70f0c3a64ba">operator<</a>(<span class="keyword">const</span> <a class="code" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html" title="Vertex with a tangent and binormal vector.">S3DVertexTangents</a>& other)<span class="keyword"> const</span> <a name="l00212"></a>00212 <span class="keyword"> </span>{ <a name="l00213"></a>00213 <span class="keywordflow">return</span> ((static_cast<S3DVertex>(*<span class="keyword">this</span>) < other) || <a name="l00214"></a>00214 ((static_cast<S3DVertex>(*<span class="keyword">this</span>) == other) && (<a class="code" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html#485fefe522b906ad5ba161e0a2c78250" title="Tangent vector along the x-axis of the texture.">Tangent</a> < other.<a class="code" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html#485fefe522b906ad5ba161e0a2c78250" title="Tangent vector along the x-axis of the texture.">Tangent</a>)) || <a name="l00215"></a>00215 ((static_cast<S3DVertex>(*<span class="keyword">this</span>) == other) && (<a class="code" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html#485fefe522b906ad5ba161e0a2c78250" title="Tangent vector along the x-axis of the texture.">Tangent</a> == other.<a class="code" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html#485fefe522b906ad5ba161e0a2c78250" title="Tangent vector along the x-axis of the texture.">Tangent</a>) && (<a class="code" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html#1bbf1a06b343e7d477f6f31467d790ca" title="Binormal vector (tangent x normal).">Binormal</a> < other.<a class="code" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html#1bbf1a06b343e7d477f6f31467d790ca" title="Binormal vector (tangent x normal).">Binormal</a>))); <a name="l00216"></a>00216 } <a name="l00217"></a>00217 <a name="l00218"></a><a class="code" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html#135342b3d4992a789eeba2b10f3f4637">00218</a> <a class="code" href="namespaceirr_1_1video.html#0e3b59e025e0d0db0ed2ee0ce904deac" title="Enumeration for all vertex types there are.">E_VERTEX_TYPE</a> <a class="code" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html#135342b3d4992a789eeba2b10f3f4637">getType</a>()<span class="keyword"> const</span> <a name="l00219"></a>00219 <span class="keyword"> </span>{ <a name="l00220"></a>00220 <span class="keywordflow">return</span> <a class="code" href="namespaceirr_1_1video.html#0e3b59e025e0d0db0ed2ee0ce904deac8c50b5b2c88f08709d640fecc83dfb9b" title="Vertex with a tangent and binormal vector, video::S3DVertexTangents.">EVT_TANGENTS</a>; <a name="l00221"></a>00221 } <a name="l00222"></a>00222 }; <a name="l00223"></a>00223 <a name="l00224"></a>00224 <a name="l00225"></a>00225 <a name="l00226"></a><a class="code" href="namespaceirr_1_1video.html#f7047c70ea264a502f3c0d7e7c16fbaa">00226</a> <span class="keyword">inline</span> <a class="code" href="namespaceirr.html#0416a53257075833e7002efd0a18e804" title="32 bit unsigned variable.">u32</a> <a class="code" href="namespaceirr_1_1video.html#f7047c70ea264a502f3c0d7e7c16fbaa">getVertexPitchFromType</a>(<a class="code" href="namespaceirr_1_1video.html#0e3b59e025e0d0db0ed2ee0ce904deac" title="Enumeration for all vertex types there are.">E_VERTEX_TYPE</a> vertexType) <a name="l00227"></a>00227 { <a name="l00228"></a>00228 <span class="keywordflow">switch</span> (vertexType) <a name="l00229"></a>00229 { <a name="l00230"></a>00230 <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#0e3b59e025e0d0db0ed2ee0ce904deac7b5127a706ee33eb4385d702da007016" title="Vertex with two texture coordinates, video::S3DVertex2TCoords.">video::EVT_2TCOORDS</a>: <a name="l00231"></a>00231 <span class="keywordflow">return</span> <span class="keyword">sizeof</span>(<a class="code" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html" title="Vertex with two texture coordinates.">video::S3DVertex2TCoords</a>); <a name="l00232"></a>00232 <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#0e3b59e025e0d0db0ed2ee0ce904deac8c50b5b2c88f08709d640fecc83dfb9b" title="Vertex with a tangent and binormal vector, video::S3DVertexTangents.">video::EVT_TANGENTS</a>: <a name="l00233"></a>00233 <span class="keywordflow">return</span> <span class="keyword">sizeof</span>(<a class="code" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html" title="Vertex with a tangent and binormal vector.">video::S3DVertexTangents</a>); <a name="l00234"></a>00234 <span class="keywordflow">default</span>: <a name="l00235"></a>00235 <span class="keywordflow">return</span> <span class="keyword">sizeof</span>(<a class="code" href="structirr_1_1video_1_1_s3_d_vertex.html" title="standard vertex used by the Irrlicht engine.">video::S3DVertex</a>); <a name="l00236"></a>00236 } <a name="l00237"></a>00237 } <a name="l00238"></a>00238 <a name="l00239"></a>00239 <a name="l00240"></a>00240 } <span class="comment">// end namespace video</span> <a name="l00241"></a>00241 } <span class="comment">// end namespace irr</span> <a name="l00242"></a>00242 <a name="l00243"></a>00243 <span class="preprocessor">#endif</span> <a name="l00244"></a>00244 <span class="preprocessor"></span> </pre></div></div> <hr size="1"> <address style="align: right;"> <small> </small> </address> <table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr> <td width="0"> <div align="left"><small><a href="http://irrlicht.sourceforge.net" target="_blank"><img src="irrlicht.png" alt="The Irrlicht Engine" align="middle" border=0 width=88 height=31></a></small></div></td> <td> <div align="left"><small><em><font size="2">The <a href="http://irrlicht.sourceforge.net" target="_blank">Irrlicht Engine</a> Documentation © 2003-2009 by Nikolaus Gebhardt. Generated on Sun Jan 10 09:24:05 2010 by <a href="http://www.doxygen.org" target="_blank">Doxygen</a> (1.5.6)</font></em></small></div></td> </tr> </table> <address style="align: right;"> </address> </body> </html>