Vertex with a tangent and binormal vector. More...
#include <S3DVertex.h>
Public Member Functions | |
S3DVertexTangents () | |
default 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 | |
S3DVertexTangents (const core::vector3df &pos, SColor c, const core::vector2df &tcoords) | |
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 | getInterpolated (const S3DVertexTangents &other, f32 d) |
E_VERTEX_TYPE | getType () const |
bool | operator!= (const S3DVertexTangents &other) const |
bool | operator< (const S3DVertexTangents &other) const |
bool | operator== (const S3DVertexTangents &other) const |
![]() | |
S3DVertex () | |
default constructor | |
S3DVertex (const core::vector3df &pos, const core::vector3df &normal, SColor color, const core::vector2d< f32 > &tcoords) | |
constructor | |
S3DVertex (f32 x, f32 y, f32 z, f32 nx, f32 ny, f32 nz, SColor c, f32 tu, f32 tv) | |
constructor | |
S3DVertex | getInterpolated (const S3DVertex &other, f32 d) |
E_VERTEX_TYPE | getType () const |
bool | operator!= (const S3DVertex &other) const |
bool | operator< (const S3DVertex &other) const |
bool | operator== (const S3DVertex &other) const |
Public Attributes | |
core::vector3df | Binormal |
Binormal vector (tangent x normal) | |
core::vector3df | Tangent |
Tangent vector along the x-axis of the texture. | |
![]() | |
SColor | Color |
Color. | |
core::vector3df | Normal |
Normal vector. | |
core::vector3df | Pos |
Position. | |
core::vector2d< f32 > | TCoords |
Texture coordinates. | |
Vertex with a tangent and binormal vector.
Usually used for tangent space normal mapping.
Definition at line 187 of file S3DVertex.h.
|
inline |
|
inline |
constructor
Definition at line 193 of file S3DVertex.h.
|
inline |
constructor
Definition at line 200 of file S3DVertex.h.
|
inline |
constructor
Definition at line 205 of file S3DVertex.h.
|
inline |
Definition at line 244 of file S3DVertex.h.
References S3DVertexTangents(), Binormal, irr::core::clamp(), irr::video::S3DVertex::Color, irr::video::SColor::getInterpolated(), irr::core::vector2d< T >::getInterpolated(), irr::core::vector3d< T >::getInterpolated(), irr::video::S3DVertex::Normal, irr::video::S3DVertex::Pos, Tangent, and irr::video::S3DVertex::TCoords.
|
inline |
Definition at line 239 of file S3DVertex.h.
References irr::video::EVT_TANGENTS.
|
inline |
Definition at line 225 of file S3DVertex.h.
|
inline |
Definition at line 232 of file S3DVertex.h.
|
inline |
Definition at line 218 of file S3DVertex.h.
core::vector3df irr::video::S3DVertexTangents::Binormal |
Binormal vector (tangent x normal)
Definition at line 216 of file S3DVertex.h.
Referenced by getInterpolated(), operator!=(), operator<(), and operator==().
core::vector3df irr::video::S3DVertexTangents::Tangent |
Tangent vector along the x-axis of the texture.
Definition at line 213 of file S3DVertex.h.
Referenced by getInterpolated(), operator!=(), operator<(), and operator==().