Vertex

A Vertex is a coordinate, a color and a coordinate to the Texture

Constructors

this
this(const Vector2f pos, const Vector2f coords, const Color4b col)

CTor

this
this(const Vector2f pos, const Vector2f coords)

CTor

this
this(const Vector2f pos)

CTor

this
this(float x, float y)

CTor

Members

Variables

color
Color4f color;

The current Color. Default is Color4f.Black

position
Vector2f position;

The position

texCoord
Vector2f texCoord;

The Texture coordinates, if any

Meta

Authors

Randy Schuett (rswhite4@googlemail.com)