Fix static_tree instead of static-tree type

pull/24/head
shika-blyat 4 years ago committed by GitHub
parent f66dfa61c0
commit 58b1aeb7bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -260,7 +260,7 @@ const INDICES: &[u16] = &[
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.
@ -432,4 +432,4 @@ Have our model rotate on it's own independently of the the camera. *Hint: you'll
<!--
[ThinMatrix](https://www.youtube.com/watch?v=DLKN0jExRIM)
http://antongerdelan.net/opengl/raycasting.html
-->
-->

Loading…
Cancel
Save