|
| S3DVertexTangents () |
| default constructor More...
|
|
| 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 More...
|
|
| S3DVertexTangents (const core::vector3df &pos, SColor c, const core::vector2df &tcoords) |
| constructor More...
|
|
| 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 More...
|
|
bool | operator== (const S3DVertexTangents &other) const |
|
bool | operator!= (const S3DVertexTangents &other) const |
|
bool | operator< (const S3DVertexTangents &other) const |
|
S3DVertexTangents | getInterpolated (const S3DVertexTangents &other, f32 d) |
|
| S3DVertex () |
| default constructor More...
|
|
| S3DVertex (f32 x, f32 y, f32 z, f32 nx, f32 ny, f32 nz, SColor c, f32 tu, f32 tv) |
| constructor More...
|
|
| S3DVertex (const core::vector3df &pos, const core::vector3df &normal, SColor color, const core::vector2d< f32 > &tcoords) |
| constructor More...
|
|
bool | operator== (const S3DVertex &other) const |
|
bool | operator!= (const S3DVertex &other) const |
|
bool | operator< (const S3DVertex &other) const |
|
S3DVertex | getInterpolated (const S3DVertex &other, f32 d) |
|
Vertex with a tangent and binormal vector.
Usually used for tangent space normal mapping. Usually tangent and binormal get send to shaders as texture coordinate sets 1 and 2.
Definition at line 192 of file S3DVertex.h.