Colobot
|
Vertex of a primitive. More...
#include <vertex.h>
Public Member Functions | |
Vertex (Math::Vector aCoord=Math::Vector(), Math::Vector aNormal=Math::Vector(), Math::Point aTexCoord=Math::Point()) | |
std::string | ToString () const |
Returns a string "(c: [...], n: [...], tc: [...])". More... | |
Public Attributes | |
Math::Vector | coord |
Math::Vector | normal |
Math::Point | texCoord |
Vertex of a primitive.
This structure was created as analog to DirectX's D3DVERTEX.
It contains:
|
inline |
Returns a string "(c: [...], n: [...], tc: [...])".