Colobot
|
Vertex with secondary texture coordinates. More...
#include <vertex.h>
Public Member Functions | |
VertexTex2 (Math::Vector aCoord=Math::Vector(), Math::Vector aNormal=Math::Vector(), Math::Point aTexCoord=Math::Point(), Math::Point aTexCoord2=Math::Point()) | |
void | FromVertex (const Vertex &v) |
Sets the fields from Vertex with texCoord2 = (0,0) More... | |
std::string | ToString () const |
Returns a string "(c: [...], n: [...], tc: [...], tc2: [...])". More... | |
Public Attributes | |
Math::Vector | coord |
Math::Vector | normal |
Math::Point | texCoord |
Math::Point | texCoord2 |
Vertex with secondary texture coordinates.
In addition to fields from Vector, it contains secondary texture coordinates (u2, v2) as Math::Point
|
inline |
Sets the fields from Vertex with texCoord2 = (0,0)
|
inline |
Returns a string "(c: [...], n: [...], tc: [...], tc2: [...])".