Vertex t: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 15: | Line 15: | ||
} | } | ||
Vector2D m_Position; | [[Vector2D]] m_Position; | ||
Vector2D m_TexCoord; | Vector2D m_TexCoord; | ||
}; | }; | ||
[[Category:ISurface]][[Category:Helpers]] | [[Category:ISurface]][[Category:Helpers]] |
Revision as of 20:05, 9 May 2006
Template:Wrongtitle This is a helper for specifying a point with a direction.
struct Vertex_t { Vertex_t() {} Vertex_t( const Vector2D &pos, const Vector2D &coord = Vector2D( 0, 0 ) ) { m_Position = pos; m_TexCoord = coord; } void Init( const Vector2D &pos, const Vector2D &coord = Vector2D( 0, 0 ) ) { m_Position = pos; m_TexCoord = coord; } Vector2D m_Position; Vector2D m_TexCoord; };