TexturedVertex

Struct that represents a Vertex with a position vector(vec3), and a texture vector (vec2).

Constructors

this
this(vec3 position, vec2 texture)
Undocumented in source.

Members

Functions

duplicate
Vertex duplicate()
Undocumented in source. Be warned that the author may not have intended to support it.
textureToVec2
vec2 textureToVec2()

Vector containing the texture coordinates.

Variables

tX
float tX;
Undocumented in source.
tY
float tY;
Undocumented in source.

Inherited Members

From Vertex

x
float x;
Undocumented in source.
y
float y;
Undocumented in source.
z
float z;
Undocumented in source.
positionToVec3
vec3 positionToVec3()

Vector containing the Vertex's coordinates (3D).

duplicate
Vertex duplicate()

Creates a copy of the vertex.

Meta