X-Git-Url: https://git.jsancho.org/?p=c-irrlicht.git;a=blobdiff_plain;f=include%2FS3DVertex.h;fp=include%2FS3DVertex.h;h=ca03a084f586720b70a038fae61195a9fffca304;hp=7d28d833940a0a4d271e26d60a91000b71345b63;hb=7e46627fbadd2bcf8169ae429e6fe0a546d2797a;hpb=482d9e598cce378cdb7f5568c9efe5befe579494 diff --git a/include/S3DVertex.h b/include/S3DVertex.h index 7d28d83..ca03a08 100644 --- a/include/S3DVertex.h +++ b/include/S3DVertex.h @@ -26,6 +26,21 @@ #include "vector2d.h" #include "vector3d.h" +//! Enumeration for all vertex types there are. +typedef enum + { + //! Standard vertex type used by the Irrlicht engine, video::S3DVertex. + irr_video_EVT_STANDARD = 0, + + //! Vertex with two texture coordinates, video::S3DVertex2TCoords. + /** Usually used for geometry with lightmaps or other special materials. */ + irr_video_EVT_2TCOORDS, + + //! Vertex with a tangent and binormal vector, video::S3DVertexTangents. + /** Usually used for tangent space normal mapping. */ + irr_video_EVT_TANGENTS + } irr_video_E_VERTEX_TYPE; + typedef struct { irr_core_vector3df pos;