Vertex with a tangent and binormal vector. More...
#include <S3DVertex.h>
Vertex with a tangent and binormal vector.
Usually used for tangent space normal mapping.
Definition at line 185 of file S3DVertex.h.
irr::video::S3DVertexTangents::S3DVertexTangents | ( | ) | [inline] |
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 191 of file S3DVertex.h.
irr::video::S3DVertexTangents::S3DVertexTangents | ( | const core::vector3df & | pos, |
SColor | c, | ||
const core::vector2df & | tcoords | ||
) | [inline] |
constructor
Definition at line 198 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 203 of file S3DVertex.h.
S3DVertexTangents irr::video::S3DVertexTangents::getInterpolated | ( | const S3DVertexTangents & | other, |
f32 | d | ||
) | [inline] |
Definition at line 242 of file S3DVertex.h.
References Binormal, irr::core::clamp(), irr::video::S3DVertex::Color, irr::core::vector3d< T >::getInterpolated(), irr::core::vector2d< T >::getInterpolated(), irr::video::SColor::getInterpolated(), irr::video::S3DVertex::Normal, irr::video::S3DVertex::Pos, S3DVertexTangents(), Tangent, and irr::video::S3DVertex::TCoords.
E_VERTEX_TYPE irr::video::S3DVertexTangents::getType | ( | ) | const [inline] |
Reimplemented from irr::video::S3DVertex.
Definition at line 237 of file S3DVertex.h.
References irr::video::EVT_TANGENTS.
bool irr::video::S3DVertexTangents::operator!= | ( | const S3DVertexTangents & | other | ) | const [inline] |
Definition at line 223 of file S3DVertex.h.
bool irr::video::S3DVertexTangents::operator< | ( | const S3DVertexTangents & | other | ) | const [inline] |
Definition at line 230 of file S3DVertex.h.
bool irr::video::S3DVertexTangents::operator== | ( | const S3DVertexTangents & | other | ) | const [inline] |
Definition at line 216 of file S3DVertex.h.
Binormal vector (tangent x normal)
Definition at line 214 of file S3DVertex.h.
Referenced by getInterpolated(), operator!=(), operator<(), and operator==().
Tangent vector along the x-axis of the texture.
Definition at line 211 of file S3DVertex.h.
Referenced by getInterpolated(), operator!=(), operator<(), and operator==().