Commit Graph

370 Commits

Author SHA1 Message Date
CarlyRaeJepsenStan
b2f2bd334e
Update README.md 2022-05-11 13:24:52 -07:00
sotrh
d99a4f7d15
Merge pull request #346 from kneasle/indentation-fixes
Fix indentation
2022-04-14 19:18:36 -06:00
Ben Hansen
a595bccaf9 Merge branch 'master' of github.com:sotrh/learn-wgpu 2022-04-14 16:28:19 -06:00
Ben Hansen
8bbdb09c67 fixes #278 2022-04-14 16:20:11 -06:00
Ben Hansen
0cb0b273c3 fixes #345 2022-04-14 14:00:28 -06:00
Kneasle
964ad9307b Fix indentation
In beginner chapter 9 'Model Loading', the `fn format_url(...)` line was
unnecessarily indented.  This PR also makes some minor reformatting
(presumably caused by changes to `rustfmt`).
2022-04-14 16:30:19 +01:00
sotrh
b037cb7bc8
Merge pull request #340 from 8picoz/feature/tobj_version
fix tobj version
2022-04-10 11:57:23 -06:00
Ben Hansen
1b0ce54080 fixes #330 2022-04-10 11:48:13 -06:00
Ben Hansen
3541cdb76b fixes #333 2022-04-10 11:43:44 -06:00
tata
e100c4052c fix tobj version 2022-04-02 06:29:18 +09:00
Ben Hansen
ef6ec265d8 Merge branch 'master' into web2 2022-03-25 17:54:37 -06:00
Yifeng Wang
cdf0b152b1 fix typo 2022-03-15 10:34:19 +08:00
Ben Hansen
0a28699d00 web examples working with vuepress 2022-03-13 17:42:28 -06:00
Ben Hansen
c269f46a0e testing some things 2022-02-19 11:21:54 -07:00
Ben Hansen
b8b8444030 fixing some readme files and migrating the lighting code 2022-02-18 14:22:14 -07:00
Ben Hansen
6324e485f1 tutorials 1-9 now work with wasm 2022-02-18 13:36:21 -07:00
Rokonio
2b9e09d19d
Fix a typo 2022-02-15 23:36:54 +01:00
sotrh
eed8f014c2
Merge pull request #309 from jeffawang/remove-block-note
tut6: remove sentence about block decorator
2022-02-03 16:44:07 -07:00
Marian Cichy
f17d27dabd docs: surface: change frame.view to view
`frame.view` does not exist in the whole tutorial and is probably a remant
from older versions. The text is actually referring to `view`
2022-02-02 15:53:06 +01:00
Jeff Wang
ed632adec8 tut6: remove sentence about block decorator 2022-01-31 19:46:28 -08:00
Ben Hansen
3492bb703f working on tutorial9 2022-01-25 19:54:21 -07:00
Ben Hansen
16d82909e3 adjusted indent on tutorial2 2022-01-25 19:54:21 -07:00
Ben Hansen
2bb9be1660 tutorials 2-8 now have working web examples 2022-01-25 19:54:21 -07:00
Ben Hansen
1e5a88fbee fixes #289 2022-01-25 19:54:19 -07:00
Ben Hansen
a6f6a492e7 tutorial1 now has a web example 2022-01-25 19:52:36 -07:00
sotrh
2ee7e082fa
Merge pull request #305 from yutannihilation/doc/const-vertex_attr_array
Add one more advice about vertex_attr_array! macro
2022-01-15 15:25:55 -07:00
sotrh
ed202350b6
Added code example directly
I added this in case the link breaks.
2022-01-15 15:25:27 -07:00
sotrh
4b837c08de
Merge pull request #304 from yutannihilation/remove-padding-indices
Remove a padding in INDICES
2022-01-15 15:15:24 -07:00
Hiroaki Yutani
4368358033 Add one more advice about vertex_attr_array! macro 2022-01-13 22:27:54 +09:00
Hiroaki Yutani
c06e1365cb Tweak description 2022-01-11 23:02:19 +09:00
Hiroaki Yutani
8c6c491b11 Remove padding in INDICES 2022-01-11 22:50:25 +09:00
sotrh
46e8e882d4
Merge pull request #302 from yutannihilation/remove-is-updown-pressed
Remove is_{up,down}_pressed
2022-01-10 17:16:58 -07:00
sotrh
3665859639
Merge pull request #301 from rhysd/fix-tutorial-7
Remove unused constant `NUM_INSTANCES`
2022-01-10 17:15:21 -07:00
Hiroaki Yutani
47d822865e Update the description about WGSL 2022-01-11 08:51:47 +09:00
Hiroaki Yutani
72446bc9ee Remove is_{up,down}_pressed 2022-01-11 07:48:51 +09:00
rhysd
bd3ad57387 fix typo 2022-01-11 02:59:40 +09:00
rhysd
853d44e257 remove unused constant NUM_INSTANCES 2022-01-11 02:59:31 +09:00
sotrh
e760f9f50c
Merge pull request #287 from rhysd/fix-typos
Fix some typos
2022-01-10 09:32:53 -07:00
sotrh
48c38de653
Merge pull request #290 from TonalidadeHidrica/fix-typo
Fix typos
2022-01-10 09:30:18 -07:00
sotrh
e33b8ab911
Merge pull request #292 from rhysd/old-field-name
Fix old field name
2022-01-10 09:29:53 -07:00
sotrh
8876f93c3d
Merge pull request #293 from rhysd/fix-tutorial-5
Fix `wgpu::SamplerBindingType` is now parameter of `wgpu::BindingType::Sampler`
2022-01-10 09:28:41 -07:00
sotrh
d5074ecb79
Merge pull request #298 from yutannihilation/doc/include_wgsl
Mention include_wgsl!
2022-01-10 09:27:31 -07:00
Hiroaki Yutani
2dcbfbe01e Mention include_wgsl! 2022-01-10 09:57:18 +09:00
Hiroaki Yutani
6224fe670f Link to the latest wgpu's docs 2022-01-09 23:03:53 +09:00
rhysd
c81dfd34ba fix wgpu::SamplerBindingType is now parameter of wgpu::BindingType::Sampler 2022-01-04 20:38:35 +09:00
rhysd
5d0f4ec636 fix old field name
`rasterization_state` is an old field name of
`wgpu::RenderPipelineDescriptor`
2022-01-03 15:06:30 +09:00
TonalidadeHidrica
125353a710 Fix typo: know -> known 2022-01-02 16:52:20 +09:00
TonalidadeHidrica
083d8f0640 Fix typo: were -> where 2022-01-02 16:45:34 +09:00
rhysd
54121a5c54 fix some typos 2021-12-30 23:17:16 +09:00
Ben Hansen
c0843b3f92 fixes #285 2021-12-29 11:57:29 -07:00