This commit is contained in:
Max Westerlund
2025-09-02 13:17:15 +02:00
parent b6f9966eb9
commit 71c5f3a3aa
15 changed files with 618 additions and 37 deletions

View File

@@ -21,9 +21,9 @@ namespace Voxel
float[] vertices =
{
-0.5f, 0.5f, 0.0f, //top
-0.0f, 0.5f, 0.0f, //top
0.5f, -0.5f, 0.0f, // bottom right
0.0f, 0.5f, 0.0f // bottom left
-0.5f, -0.5f, 0.0f // bottom left
};
_vao = GL.GenVertexArray();