Open unendlicherPing opened 1 year ago
The vertecies also could be defined like this:
typedef struct Vertex {
float position_x, position_y;
float texture_x, texture_y;
} Vertex;
Vertex vertecies[] = {
{ -1.0, -1.0, 0.0, 0.0 }, /* bottom left */
{ -1.0, 1.0, 0.0, 1.0 }, /* top left */
{ 1.0, -1.0, 1.0, 0.0 }, /* bottom right */
{ 1.0, 1.0, 1.0, 1.0 }, /* top right */
};
This is just an optical change and not directly related to my Issue.
See: Issue #4 https://github.com/Ceebox/cbEngine/issues/4/