Merge branch 'master' into 0.5

This commit is contained in:
Ben Hansen 2020-04-19 12:36:13 -06:00
commit 6b1cd8d893

View File

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