Commit Graph

911 Commits (714ea27bc24c289fb594edbef6df571e448f6b5f)
 

Author SHA1 Message Date
Benjamin Hansen 714ea27bc2 adding wgpu to fully qualify `include_wgsl!` macro as part of #423 2 years ago
sotrh 3066150570
Merge pull request #418 from jinleili/translation
add a newly translated Chinese version link
2 years ago
Jinlei Li 2a6964185f Add a newly translated Chinese version link 2 years ago
sotrh b356759f6f
Merge pull request #420 from ipierago/fixes
Fixes to docs for tutorial 10 and tutorial 11
2 years ago
Ian Pieragostini ca614d6c68 Fixes to docs for tutorial 10 and tutorial 11 2 years ago
sotrh 6514c34f8d
Merge pull request #416 from Joh4nnesB/patch-camera-rotation
Updated incorrect camera pitch rotation
2 years ago
sotrh c934b51c32
Merge pull request #419 from nextdorf/master
Correct color conversation between rgb and srgb in buffer tutorial
2 years ago
nextdorf bb97a1a48e Added correct color conversation between rgb and srgb (source:
https://en.wikipedia.org/wiki/SRGB#Computing_the_transfer_function) in
buffer tutorial
2 years ago
Johannes Bauer 42df1f43a6
Updated incorrect camera pitch rotation
This was already fixed in the actual demo code with f46b2f6 but unfortunately not updated in the documentation.
2 years ago
sotrh 4f202d376d
Merge pull request #409 from PhelixOchieng/master
Fix: Could not append canvas error when running on wasm
2 years ago
sotrh b15873c392
Merge pull request #412 from Baguettifer/master
changed hexagon to pentagon
2 years ago
sotrh 73e7ee2a77
Merge pull request #413 from relrelb/patch-1
Change link to HTTPS
2 years ago
sotrh b2a34bb432
Merge pull request #414 from sotrh/0.14
migrated to 0.14
2 years ago
Ben Hansen 3f99b965a9 migrated to 0.14 2 years ago
relrelb f6beebae17
Change link to HTTPS 2 years ago
Baguettifer ce34941f31 changed hexagon to pentagon 2 years ago
Phelix 3c09140b80
Fix: Could not append canvas error when running on wasm 2 years ago
sotrh 3d5ddd8fa4
Merge pull request #381 from sotrh/dependabot/npm_and_yarn/terser-4.8.1
Bump terser from 4.8.0 to 4.8.1
2 years ago
sotrh c47a0c89a4
Merge pull request #396 from evik42/evik42-0.13-update-fix
Fix code example for 0.13
2 years ago
sotrh b2fad645de
Merge branch 'master' into evik42-0.13-update-fix 2 years ago
sotrh 954ccc4bad
Merge pull request #397 from jinleili/numbers
Fix 2 numbers on tutorial4 doc
2 years ago
sotrh 5f75beab03
Merge pull request #398 from jinleili/step_mode
Make `step_mode` easier to understand
2 years ago
sotrh 5dc50f0200
Merge pull request #399 from jinleili/filter
Fix the descriptions of `mag_filter` and `min_filter` fields
2 years ago
sotrh 4726bb5a8c
Merge pull request #400 from Ratipoka/patch-1
Remove typo : extra size field in State
2 years ago
sotrh a1db4146f6
Merge pull request #402 from elimerl/patch-2
Could'nt -> Couldn't
2 years ago
sotrh 49fb49bdbf
Merge pull request #404 from jbckly/patch-1
Fix some code for Dependencies and the window
2 years ago
sotrh 5b8f25bd4c
Merge pull request #405 from jbckly/patch-2
Use 0.13's Surface::get_supported_formats
2 years ago
jbckly c60fcdd9a6
Use 0.13's Surface::get_supported_formats
get_preferred_format no longer exists as per https://docs.rs/wgpu/0.13.1/wgpu/struct.Surface.html#method.get_supported_formats
2 years ago
jbckly 9a578de950
Fix some code for Dependencies and the window
Needed this to get things rendering for me! otherwise we get:
```
$ cargo run
   Compiling rustp v0.1.0 (/Users/jack/dev/rustp)
warning: unused implementer of `Future` that must be used
 --> src/main.rs:4:5
  |
4 |     run();
  |     ^^^^^^
  |
  = note: `#[warn(unused_must_use)]` on by default
  = note: futures do nothing unless you `.await` or poll them

warning: `rustp` (bin "rustp") generated 1 warning
    Finished dev [unoptimized + debuginfo] target(s) in 0.48s
     Running `target/debug/rustp`
```
2 years ago
Eli 29ade9ebb0
Could'nt -> Couldn't 2 years ago
Ratipoka e4dbc77457
Remove typo : extra size argument in State 2 years ago
Jinlei Li 63f790e633 Fix the descriptions of `mag_filter` and `min_filter` fields 2 years ago
Jinlei Li 1b8144be0d Make `step_mode` easier to understand 2 years ago
Jinlei Li 6c51b3608e Fix 2 numbers on tutorial4 doc 2 years ago
Attila Mravik 2d9269aade
Fix code example for 0.13
The alternative code path missed the 0.13 update.
2 years ago
Ben Hansen c480fd51dc fixes #391 2 years ago
Ben Hansen 0303c307b6 saving for posterity 2 years ago
sotrh 7c2bfa02bf
Merge pull request #393 from mckahz/fix-camera-typo
fixed typo
2 years ago
sotrh 6951ceb3c1
Merge pull request #394 from mckahz/fix-instance-typo
Fix instance typo
2 years ago
sotrh 01799aadaa
Merge pull request #395 from jinleili/targets
Fix `targets` data type in the doc
2 years ago
Jinlei Li df68d03bb4 Fix `targets` data type in the doc 2 years ago
mckahz a00d1aaf1a fixed typo
syntax error in wgsl code
2 years ago
mckahz 60fdfbdbe7 Revert "fixed typo"
This reverts commit 7179c4a613.
2 years ago
mckahz 7179c4a613 fixed typo
syntax error in wgsl code
2 years ago
mckahz 603584379b fixed typo
I think this was supposed to say "warp" as that makes more sense to me than wrap. I could be mistaken though.
2 years ago
Ben Hansen 58944cb8ca fixes #384 2 years ago
Ben Hansen 1220dfa70b fixes #382 2 years ago
Ben Hansen d24553dec1 fixes #378 2 years ago
Ben Hansen 929ee5e1d3 working on fragment shader mesh generation 2 years ago
sotrh ba28fa1ee9
Merge pull request #379 from archsolar/text-correction
Small text correction docs.
2 years ago