feat(client): upload origin chunk via renderer insert_mesh
This commit is contained in:
parent
5efe937168
commit
60fe2fc294
|
|
@ -178,7 +178,7 @@ impl ApplicationHandler for App {
|
||||||
self.renderer
|
self.renderer
|
||||||
.as_mut()
|
.as_mut()
|
||||||
.expect("Renderer initialized")
|
.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");
|
.expect("Failed to upload terrain to GPU");
|
||||||
|
|
||||||
// Kick off a background connect + handshake to the local server.
|
// Kick off a background connect + handshake to the local server.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue