Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members | Tutorials |
Vertex with a tangent and binormal vector. More...
#include <S3DVertex.h>
Public Member Functions | |
E_VERTEX_TYPE | getType () const |
bool | operator!= (const S3DVertexTangents &other) const |
bool | operator< (const S3DVertexTangents &other) const |
bool | operator== (const S3DVertexTangents &other) const |
S3DVertexTangents () | |
default constructor | |
S3DVertexTangents (f32 x, f32 y, f32 z, f32 nx=0.0f, f32 ny=0.0f, f32 nz=0.0f, SColor c=0xFFFFFFFF, f32 tu=0.0f, f32 tv=0.0f, f32 tanx=0.0f, f32 tany=0.0f, f32 tanz=0.0f, f32 bx=0.0f, f32 by=0.0f, f32 bz=0.0f) | |
constructor | |
S3DVertexTangents (const core::vector3df &pos, SColor c, const core::vector2df &tcoords) | |
constructor | |
S3DVertexTangents (const core::vector3df &pos, const core::vector3df &normal, SColor c, const core::vector2df &tcoords, const core::vector3df &tangent=core::vector3df(), const core::vector3df &binormal=core::vector3df()) | |
constructor | |
Public Attributes | |
core::vector3df | Binormal |
Binormal vector (tangent x normal) | |
core::vector3df | Tangent |
Tangent vector along the x-axis of the texture. |
Vertex with a tangent and binormal vector.
Usually used for tangent space normal mapping.
Definition at line 166 of file S3DVertex.h.
irr::video::S3DVertexTangents::S3DVertexTangents | ( | ) | [inline] |
default constructor
Definition at line 169 of file S3DVertex.h.
irr::video::S3DVertexTangents::S3DVertexTangents | ( | f32 | x, |
f32 | y, | ||
f32 | z, | ||
f32 | nx = 0.0f , |
||
f32 | ny = 0.0f , |
||
f32 | nz = 0.0f , |
||
SColor | c = 0xFFFFFFFF , |
||
f32 | tu = 0.0f , |
||
f32 | tv = 0.0f , |
||
f32 | tanx = 0.0f , |
||
f32 | tany = 0.0f , |
||
f32 | tanz = 0.0f , |
||
f32 | bx = 0.0f , |
||
f32 | by = 0.0f , |
||
f32 | bz = 0.0f |
||
) | [inline] |
constructor
Definition at line 172 of file S3DVertex.h.
irr::video::S3DVertexTangents::S3DVertexTangents | ( | const core::vector3df & | pos, |
SColor | c, | ||
const core::vector2df & | tcoords | ||
) | [inline] |
constructor
Definition at line 179 of file S3DVertex.h.
irr::video::S3DVertexTangents::S3DVertexTangents | ( | const core::vector3df & | pos, |
const core::vector3df & | normal, | ||
SColor | c, | ||
const core::vector2df & | tcoords, | ||
const core::vector3df & | tangent = core::vector3df() , |
||
const core::vector3df & | binormal = core::vector3df() |
||
) | [inline] |
constructor
Definition at line 184 of file S3DVertex.h.
E_VERTEX_TYPE irr::video::S3DVertexTangents::getType | ( | ) | const [inline] |
Reimplemented from irr::video::S3DVertex.
Definition at line 218 of file S3DVertex.h.
References irr::video::EVT_TANGENTS.
bool irr::video::S3DVertexTangents::operator!= | ( | const S3DVertexTangents & | other | ) | const [inline] |
Definition at line 204 of file S3DVertex.h.
bool irr::video::S3DVertexTangents::operator< | ( | const S3DVertexTangents & | other | ) | const [inline] |
Definition at line 211 of file S3DVertex.h.
bool irr::video::S3DVertexTangents::operator== | ( | const S3DVertexTangents & | other | ) | const [inline] |
Definition at line 197 of file S3DVertex.h.
Binormal vector (tangent x normal)
Definition at line 195 of file S3DVertex.h.
Referenced by operator!=(), operator<(), and operator==().
Tangent vector along the x-axis of the texture.
Definition at line 192 of file S3DVertex.h.
Referenced by operator!=(), operator<(), and operator==().
The Irrlicht
Engine Documentation © 2003-2010 by Nikolaus Gebhardt. Generated
on Thu May 31 2012 10:58:14 by Doxygen
(1.7.6.1) |