checkerboard pattern

This commit is contained in:
2025-09-02 21:31:09 +02:00
parent 12e3d5a9d8
commit 0f13f037ce
9 changed files with 40 additions and 2 deletions

View File

@@ -169,7 +169,7 @@ fn main() {
// == // Set up your VAO around here
let vertices = vec![-0.6, -0.6, 0., 0.6, -0.6, 0., 0., 0.6, 0.];
let indices = vec![1, 0, 2];
let indices = vec![0, 1, 2];
let my_vao = unsafe { create_vao(&vertices, &indices) };
// == // Set up your shaders here