Points #82

Merged
glen merged 16 commits from Vectornaut/dyna3:points into main 2025-05-01 19:25:14 +00:00
Showing only changes of commit 3590b1ad4e - Show all commits

View file

@ -272,10 +272,6 @@ pub fn Display() -> View {
let layer_threshold_loc = ctx.get_uniform_location(&program, "layer_threshold");
let debug_mode_loc = ctx.get_uniform_location(&program, "debug_mode");
// create a vertex array and bind it to the graphics context
let vertex_array = ctx.create_vertex_array().unwrap();
ctx.bind_vertex_array(Some(&vertex_array));
// set the vertex positions
const VERTEX_CNT: usize = 6;
let positions: [f32; 3*VERTEX_CNT] = [