This commit is contained in:
luboslenco
2025-03-18 10:39:23 +01:00
parent a0bdeffc8f
commit a8a05deffc
25 changed files with 407 additions and 523 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ function main() {
for (let i: i32 = 0; i < vertices.length; i++) {
buffer_set_f32(vb_data, i * 4, vertices[i]);
}
gpu_vertex_buffer_unlock_all(vb);
iron_gpu_vertex_buffer_unlock_all(vb);
ib = gpu_create_index_buffer(indices.length);
let ib_data: u32_array_t = gpu_lock_index_buffer(ib);