Eli
29ade9ebb0
Could'nt -> Couldn't
2 years ago
Ben Hansen
d24553dec1
fixes #378
2 years ago
Ben Hansen
a2a1d69133
migrated to 0.13
2 years ago
Narcha
60b55d6cea
Removed redundant quaternion multiplication implementation
2 years ago
sotrh
b6f66e0565
Merge pull request #347 from dis-da-moe/master
...
Typos, references to `main.rs` supposed to be to `lib.rs`, and readability changes
2 years ago
Anthony Mason
6ae2e7e080
Update Cargo.toml
...
Add the wasm-bindgen-futures dependency. Without this the wasm-pack build command fails.
2 years ago
disdamoe
eca31a5ed5
typo
2 years ago
sotrh
d99a4f7d15
Merge pull request #346 from kneasle/indentation-fixes
...
Fix indentation
2 years ago
Ben Hansen
8a6a422059
fixes #306
2 years ago
Ben Hansen
93712de4e7
fixes #307
2 years ago
Ben Hansen
dad9e9d675
fixes #328
2 years ago
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`).
2 years ago
Ben Hansen
0a28699d00
web examples working with vuepress
3 years ago
Ben Hansen
bd8172d0a2
removed shaderc from gifs
3 years ago
Ben Hansen
a9c8bf650f
more-testing
3 years ago
Ben Hansen
c269f46a0e
testing some things
3 years ago
Ben Hansen
b8b8444030
fixing some readme files and migrating the lighting code
3 years ago
Ben Hansen
6324e485f1
tutorials 1-9 now work with wasm
3 years ago
Ben Hansen
82d50cba6c
finally migrated tutorial9 code
3 years ago
Ben Hansen
9811c4037e
troubleshooting wasm failure
3 years ago
Ben Hansen
05767326d9
tutorial 9 working on desktop
3 years ago
Ben Hansen
3492bb703f
working on tutorial9
3 years ago
Ben Hansen
cbce0a546e
experimenting with loader on tutorial9
3 years ago
Ben Hansen
2bb9be1660
tutorials 2-8 now have working web examples
3 years ago
Ben Hansen
a6f6a492e7
tutorial1 now has a web example
3 years ago
Ben Hansen
59f0ec16f0
migrated tutorial to use lib.r
3 years ago
sotrh
4b837c08de
Merge pull request #304 from yutannihilation/remove-padding-indices
...
Remove a padding in INDICES
3 years ago
Hiroaki Yutani
8c6c491b11
Remove padding in INDICES
3 years ago
sotrh
46e8e882d4
Merge pull request #302 from yutannihilation/remove-is-updown-pressed
...
Remove is_{up,down}_pressed
3 years ago
Hiroaki Yutani
72446bc9ee
Remove is_{up,down}_pressed
3 years ago
rhysd
853d44e257
remove unused constant `NUM_INSTANCES`
3 years ago
TonalidadeHidrica
0b9840e1ec
Fix typo: w -> we
3 years ago
Ben Hansen
c0843b3f92
fixes #285
3 years ago
Ben Hansen
4ae6c3f89f
added 0.12.md and examples now compile
3 years ago
Ben Hansen
2073b0fbc1
updated to 0.12
3 years ago
Benoît Vermont
9ba4795d9c
Fix challenge depth buffer challenge
...
The shader.wgsl contains entry point `vs_main` and `fs_main`, but the rust code would reference them `main` and `main`
It would cause the following crash when trying to run the code:
```
[2021-11-25T14:50:43Z ERROR wgpu::backend::direct] Handling wgpu errors as fatal by default
thread 'main' panicked at 'wgpu error: Validation Error
Caused by:
In Device::create_render_pipeline
note: label = `Render Pipeline`
error matching VERTEX shader requirements against the pipeline
unable to find entry point 'main'
```
This fixes it.
3 years ago
Newbyte
c189f75913
Fix challenge code for tutorial 3 crashing
...
Only one of the pipelines were actually adjusted, so let's fix that.
3 years ago
Ferdinand Schäffler
a39f95af13
Converted code examples.
3 years ago
Ben Hansen
e0e52584a6
fixed pong for 0.11
3 years ago
Ben Hansen
7cc67f5678
migrated to 0.11
3 years ago
Martino Fontana
11b24cebc5
model.rs: added "_bind_group" where appropriate
3 years ago
sotrh
316c429d2f
Merge pull request #228 from VillSnow/patch-1
...
fix type name Camera to CameraUniform
3 years ago
Ben Hansen
fd589adbe1
finished code migration
3 years ago
Ben Hansen
7c90669f89
migrated beginner tutorials
3 years ago
Ben Hansen
c0754f9dd3
migrated tutorial5
3 years ago
Ben Hansen
57d7eb763f
migrated tutorial4
3 years ago
Ben Hansen
0f618a2ff8
migrated tutorial3
3 years ago
Ben Hansen
b322b8f6b8
reworked swapchain tutorial to use surface
3 years ago
VillSnow
d13ba88020
fix type name Camera to CameraUniform
3 years ago
Ben Hansen
30c5693fb9
no more validation errors
3 years ago