feat(client): upload origin chunk via renderer insert_mesh

This commit is contained in:
Serkyo 2026-07-16 00:05:30 +02:00
parent 5efe937168
commit 60fe2fc294

View file

@ -178,7 +178,7 @@ impl ApplicationHandler for App {
self.renderer
.as_mut()
.expect("Renderer initialized")
.update_mesh(&vertices, &indices)
.insert_mesh((0, 0, 0), &vertices, &indices, [0.0, 0.0, 0.0])
.expect("Failed to upload terrain to GPU");
// Kick off a background connect + handshake to the local server.