fix: alignment.

This commit is contained in:
Ritchie Cunningham 2025-09-12 21:51:53 +01:00
parent 6b7684ba92
commit 56bf0e9376

View File

@ -150,8 +150,8 @@ void Bettola::setup_triangle(void) {
float vertices[] = { float vertices[] = {
/* Should be a triangle??!?? */ /* Should be a triangle??!?? */
-0.5f, -0.5f, 0.0f, -0.5f, -0.5f, 0.0f,
0.5f, -0.5f, 0.0f, 0.5f, -0.5f, 0.0f,
0.0f, 0.5f, 0.0f, -0.0f, 0.5f, 0.0f,
}; };
glGenVertexArrays(1, &_vao); glGenVertexArrays(1, &_vao);