mirror of
https://github.com/sotrh/learn-wgpu.git
synced 2024-11-18 03:25:33 +00:00
Fix static_tree instead of static-tree type
This commit is contained in:
parent
f66dfa61c0
commit
58b1aeb7bc
@ -260,7 +260,7 @@ const INDICES: &[u16] = &[
|
|||||||
|
|
||||||
If you run the code right now, you should get something that looks like this.
|
If you run the code right now, you should get something that looks like this.
|
||||||
|
|
||||||
![static_tree.png](static_tree.png)
|
![static-tree.png](static-tree.png)
|
||||||
|
|
||||||
The shape's less stretched now, but it's still pretty static. You can experiment with moving the camera position around, but most cameras in games move around. Since this tutorial is about using wgpu and not how to process user input, I'm just going to post the `CameraController` code below.
|
The shape's less stretched now, but it's still pretty static. You can experiment with moving the camera position around, but most cameras in games move around. Since this tutorial is about using wgpu and not how to process user input, I'm just going to post the `CameraController` code below.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user