|
JNGL
Easy to use cross-platform 2D game library
|
Position and texture coordinates. More...
#include <jngl/Vertex.hpp>
Public Attributes | |
| float | x |
| Screen x position. | |
| float | y |
| Screen y position. | |
| float | u |
| X coordinate in the texture, from 0 to 1. | |
| float | v |
| Y coordinate in the texture, from 0 to 1. | |
Position and texture coordinates.
Definition at line 9 of file Vertex.hpp.
| float x |
Screen x position.
Definition at line 11 of file Vertex.hpp.
| float y |
Screen y position.
Definition at line 14 of file Vertex.hpp.
| float u |
X coordinate in the texture, from 0 to 1.
Definition at line 17 of file Vertex.hpp.
| float v |
Y coordinate in the texture, from 0 to 1.
Definition at line 20 of file Vertex.hpp.