sotrh
5f75beab03
Merge pull request #398 from jinleili/step_mode
...
Make `step_mode` easier to understand
2022-09-30 19:01:30 -06:00
sotrh
5dc50f0200
Merge pull request #399 from jinleili/filter
...
Fix the descriptions of `mag_filter` and `min_filter` fields
2022-09-30 19:00:57 -06:00
sotrh
4726bb5a8c
Merge pull request #400 from Ratipoka/patch-1
...
Remove typo : extra size field in State
2022-09-30 19:00:01 -06:00
sotrh
49fb49bdbf
Merge pull request #404 from jbckly/patch-1
...
Fix some code for Dependencies and the window
2022-09-30 18:58:56 -06:00
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
2022-09-23 17:54:23 +08:00
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`
```
2022-09-23 14:18:49 +08:00
Ratipoka
e4dbc77457
Remove typo : extra size argument in State
2022-09-02 22:54:54 +02:00
Jinlei Li
63f790e633
Fix the descriptions of mag_filter
and min_filter
fields
2022-09-02 18:48:20 +08:00
Jinlei Li
1b8144be0d
Make step_mode
easier to understand
2022-09-01 18:26:46 +08:00
Ben Hansen
c480fd51dc
fixes #391
2022-08-30 18:57:05 -06:00
sotrh
7c2bfa02bf
Merge pull request #393 from mckahz/fix-camera-typo
...
fixed typo
2022-08-30 16:23:04 -06:00
sotrh
6951ceb3c1
Merge pull request #394 from mckahz/fix-instance-typo
...
Fix instance typo
2022-08-30 16:22:33 -06:00
Jinlei Li
df68d03bb4
Fix targets
data type in the doc
2022-08-30 15:10:20 +08:00
mckahz
a00d1aaf1a
fixed typo
...
syntax error in wgsl code
2022-08-30 02:43:09 +10:00
mckahz
60fdfbdbe7
Revert "fixed typo"
...
This reverts commit 7179c4a613
.
2022-08-30 02:42:13 +10:00
mckahz
7179c4a613
fixed typo
...
syntax error in wgsl code
2022-08-30 02:40:28 +10:00
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.
2022-08-28 23:54:33 +10:00
Ben Hansen
d24553dec1
fixes #378
2022-07-22 10:14:40 -06:00
sotrh
ba28fa1ee9
Merge pull request #379 from archsolar/text-correction
...
Small text correction docs.
2022-07-22 09:59:12 -06:00
loui
777bf0f0bd
Fixing broken link to pipeline section
2022-07-22 13:25:49 +10:00
archsolar
67682a2b24
Small text correction docs.
...
love you
2022-07-15 22:06:36 +02:00
Ben Hansen
56c917c749
correcting code in tutorial3 and tutorial2
2022-07-02 14:14:53 -06:00
Ben Hansen
3e7d0a5bea
updating PresentMode
details and adding warning to pong
2022-07-02 12:24:57 -06:00
Ben Hansen
a2a1d69133
migrated to 0.13
2022-07-01 17:00:19 -06:00
Ajacmac
bbe3d24f70
added wasm-bindgen-futures dependency to tutorial 1 to match code example. wasm-pack won't build without it
2022-06-21 15:06:43 -03:00
sotrh
884714875c
Merge pull request #366 from liningpan/master
...
fix: typo in write_texture
2022-06-04 10:59:37 -06:00
sotrh
ae7c6b4d91
Merge pull request #368 from 7tsvn/master
...
Clarified some of the steps in tutorial1-window
2022-06-04 10:54:59 -06:00
sotrh
35297142d0
Merge pull request #369 from Narcha/patch-1
...
Grammar fixes
2022-06-04 10:52:09 -06:00
Narcha
94e6c383e0
Fixed missing pub
in ModelVertex struct
2022-06-04 16:11:25 +02:00
Narcha
ad934b6199
Grammar fixes
2022-05-30 00:57:28 +02:00
7tsvn
38f6cd6081
updated formatting
2022-05-29 21:17:41 +01:00
7tsvn
55b9cba6ae
Update README.md
2022-05-29 21:17:13 +01:00
7tsvn
d444bc7df6
Cleared up some things in tutorial1
2022-05-29 21:14:41 +01:00
Lining Pan
6b2647cacb
fix: typo in write_texture
...
missing reference
2022-05-28 18:37:07 -04:00
Narcha
e589b5d442
Remove incorrect .unwrap()
2022-05-28 16:17:54 +02:00
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
2022-05-14 12:44:34 -06:00
sotrh
3a8b832c89
Merge pull request #351 from ikopysov/patch-1
...
Removed "pollster" from tutorial1-window readme.
2022-05-14 12:43:05 -06:00
CarlyRaeJepsenStan
b2f2bd334e
Update README.md
2022-05-11 13:24:52 -07:00
disdamoe
c736467db4
suggested changes
2022-05-06 23:37:28 +03:00
ikopysov
e43a744b5a
Removed "pollster" from tutorial1-window readme.
...
It seems that in #345 pollster was removed from the example, but not from the code in the page.
This change removes it from the code in the tutorial, so it will work just by pasting it in the editor.
2022-04-26 04:03:22 +03:00
disdamoe
03e905cc4d
Fixed accidental indentation change
2022-04-17 21:08:44 +03:00
disdamoe
33bd66e368
docs for tutorials 1-9: typos, references to main.rs
supposed to be to lib.rs
, and readability changes
2022-04-17 19:35:45 +03: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