Light-weight class for storing position, material, and texture.
More...
#include <Vertex.h>
List of all members.
Detailed Description
Light-weight class for storing position, material, and texture.
A Vertex is used to construct Shapes which may require different materials and texture coordinates at each point.
Constructor & Destructor Documentation
Vertex::Vertex |
( |
|
) |
[inline] |
Construct a new Vertex.
Vertex is constructed at (0,0) with texture coordinates at (0,0).
Vertex::Vertex |
( |
float |
x, |
|
|
float |
y | |
|
) |
| | [inline] |
Construct a new Vertex at (x,y).
Vertex is constructed at (x,y) with texture coordinates at (0,0).
Vertex::Vertex |
( |
const Vector2f & |
pos |
) |
[inline] |
Construct a new Vertex at pos.
Vertex is constructed at pos with texture coordinates at (0,0).
Construct a new Vertex at pos, with a material.
Vertex is constructed at pos with texture coordinates at (0,0) and material set to mat.
Construct a new Vertex at pos.
Vertex is constructed at pos with texture coordinates at tex.
Construct a new Vertex at pos, with a material.
Vertex is constructed at pos with texture coordinates at tex and material set to mat.
The documentation for this struct was generated from the following file: