mirror of
https://github.com/sotrh/learn-wgpu.git
synced 2024-11-04 06:00:47 +00:00
Merge branch 'master' into 0.5
This commit is contained in:
commit
6b1cd8d893
@ -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…
Reference in New Issue
Block a user