Fix static_tree instead of static-tree type

This commit is contained in:
shika-blyat 2020-04-15 03:51:32 +02:00 committed by GitHub
parent f66dfa61c0
commit 58b1aeb7bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.