![]() |
Duckcpp 2.1.0
Duckcpp is a high-performance c++ graphics engine.
|
standard vertex used by the Duckcpp engine. More...
#include <duckcpp/core/engine/S3DVertex.hpp>
Public Member Functions | |
S3DVertex () | |
default constructor | |
S3DVertex (dcpp::float32_kt x, dcpp::float32_kt y, dcpp::float32_kt z, dcpp::float32_kt nx, dcpp::float32_kt ny, dcpp::float32_kt nz, SColor c, dcpp::float32_kt tu, dcpp::float32_kt tv) | |
constructor | |
S3DVertex (const dcpp::nub::vector3df &pos, const dcpp::nub::vector3df &normal, SColor color, const dcpp::nub::vector2df &tcoords) | |
constructor | |
bool | operator== (const S3DVertex &other) const |
bool | operator!= (const S3DVertex &other) const |
bool | operator< (const S3DVertex &other) const |
S3DVertex | getInterpolated (const S3DVertex &other, dcpp::float32_kt d) |
Static Public Member Functions | |
static E_VERTEX_TYPE | getType () |
Get type of the class. | |
Public Attributes | |
dcpp::nub::vector3df | Pos |
Position. | |
dcpp::nub::vector3df | Normal |
Normal vector. | |
SColor | Color |
Color. | |
dcpp::nub::vector2df | TCoords |
Texture coordinates. | |
standard vertex used by the Duckcpp engine.