Dgame.Math.Vertex

« Go back

Bottom


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

Author:
Randy Schuett (rswhite4@googlemail.com)

Vector2f position;
The position

Vector2f texCoord;
The Texture coordinates, if any

Color4f color;
The current Color. Default is Color4f.Black

pure nothrow @nogc this(const Vector2f pos, const Vector2f coords, const Color4b col);
CTor

pure nothrow @nogc this(const Vector2f pos, const Vector2f coords);
CTor

pure nothrow @nogc this(const Vector2f pos);
CTor

pure nothrow @nogc this(float x, float y);
CTor


Page generated by Ddoc.

» Dgame.Math.Vertex on Github

Top

« Go back