Commit Graph

96 Commits

Author SHA1 Message Date
Benjamin Hansen
48d4d1a353 pong and news 2023-06-10 14:21:33 -06:00
Benjamin Hansen
8b8e844b76 update to 0.16 2023-06-10 12:40:22 -06:00
Ben Hansen
3e1caeec90
Merge pull request #457 from willcrichton/little-fixes
Simplify `.filter(..).next()` to `.find()`. Eliminate unnecessary lifetime parameter in `Vertex::desc`.
2023-05-26 16:38:25 -06:00
Benjamin Hansen
2898a72bc0 switched to custom wasm-builder instead of wasm-pack for examples 2023-03-25 14:16:07 -06:00
Will Crichton
9e2ada2a0f Simplify .filter(..).next() to .find(). Eliminate unnecessary lifetime parameter in Vertex::desc 2023-02-19 14:30:32 -08:00
Benjamin Hansen
9f2ecaec4a added view_formats details to the docs 2023-02-01 21:26:30 -07:00
Benjamin Hansen
7227f8d169 changes for 0.15 2023-01-30 11:09:26 -07:00
Benjamin Hansen
09207e9403 changed State to own window 2023-01-14 13:32:51 -07:00
Benjamin Hansen
a9230e981e upgraded dependencies 2023-01-14 12:43:55 -07:00
James0124
c1ebece9c1
Stop using illegal negative values for wgpu::SamplerDescriptor::lod_min_clamp.
WebGPU valid usage states `lodMinClamp` must not be negative, and `lodMaxClamp` must be >= `lodMinClamp`
2023-01-06 06:03:27 +09:00
Ben Hansen
3f99b965a9 migrated to 0.14 2022-10-20 10:07:03 -06:00
Ben Hansen
a2a1d69133 migrated to 0.13 2022-07-01 17:00:19 -06:00
Ben Hansen
bcb4282f1e fixes #362 2022-05-28 15:02:26 -06:00
sotrh
d99a4f7d15
Merge pull request #346 from kneasle/indentation-fixes
Fix indentation
2022-04-14 19:18:36 -06:00
Ben Hansen
dad9e9d675 fixes #328 2022-04-14 15:58:09 -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
Ben Hansen
ef6ec265d8 Merge branch 'master' into web2 2022-03-25 17:54:37 -06:00
Ben Hansen
1135fead3a updated intermediate tutorial docs and removing tutorial13 for maintenance 2022-03-25 17:26:42 -06:00
Ben Hansen
dbb24ac7ce migrated tutorial13 code 2022-03-25 15:02:24 -06:00
Ben Hansen
d3d7da293d fixed #288 and keyboard/mouse buttons not working on wasm 2022-03-25 13:51:50 -06:00
Ben Hansen
e8ce0e710d tutorial12-camera running in wasm (needs input fix) 2022-03-18 17:45:29 -06:00
roudy16
2c4b3668cd address review comment 2022-03-06 18:51:37 +00:00
roudy16
212da09b15 enable right-handed normal maps 2022-03-01 21:50:15 +00:00
Ben Hansen
c269f46a0e testing some things 2022-02-19 11:21:54 -07:00
Ben Hansen
6324e485f1 tutorials 1-9 now work with wasm 2022-02-18 13:36:21 -07:00
Ben Hansen
2bb9be1660 tutorials 2-8 now have working web examples 2022-01-25 19:54:21 -07:00
Ben Hansen
59f0ec16f0 migrated tutorial to use lib.r 2022-01-25 19:52:33 -07:00
Ben Hansen
c0843b3f92 fixes #285 2021-12-29 11:57:29 -07:00
Ben Hansen
4ae6c3f89f added 0.12.md and examples now compile 2021-12-27 13:48:52 -07:00
Ben Hansen
2073b0fbc1 updated to 0.12 2021-12-27 12:09:25 -07:00
Ferdinand Schäffler
a39f95af13 Converted code examples. 2021-10-27 12:58:05 +02:00
Ben Hansen
7cc67f5678 migrated to 0.11 2021-10-08 18:40:29 -06:00
Martino Fontana
11b24cebc5 model.rs: added "_bind_group" where appropriate 2021-09-25 21:52:42 +02:00
Ben Hansen
fd589adbe1 finished code migration 2021-09-11 15:14:31 -06:00
Ben Hansen
88df0ff823 migrated intermediate tutorials 2021-09-11 11:23:07 -06:00
Ben Hansen
7c90669f89 migrated beginner tutorials 2021-09-11 11:11:30 -06:00
Ben Hansen
c0754f9dd3 migrated tutorial5 2021-09-11 10:37:05 -06:00
Ben Hansen
57d7eb763f migrated tutorial4 2021-09-11 10:19:15 -06:00
Ben Hansen
0f618a2ff8 migrated tutorial3 2021-09-11 10:10:18 -06:00
Ben Hansen
822f2d6191 started 0.10 2021-08-28 16:11:33 -06:00
Martino Fontana
372082ae90 Rename "Uniform" to "Camera" in labels too 2021-08-27 00:07:50 +02:00
Martino Fontana
463b6117eb Renamed "light" to "light_uniform" 2021-08-26 21:34:21 +02:00
Martino Fontana
b2b77294f6 Change "uniform" naming to "camera" 2021-08-26 21:09:51 +02:00
Ben Hansen
70bf012641 fixed tangent/bitangent comp and cargo fmt 2021-08-15 10:44:57 -06:00
sotrh
1030f47529
Merge pull request #212 from rokonio/master
Fixing #200
2021-08-09 16:20:36 -06:00
Rokonio
975c6b3502
Fixing #200 2021-08-09 00:36:49 +02:00
Martino Fontana
2941cf7cd9 Updated dependencies where I can just change the number (not "tobj" and "gif") ("compute" can't start a trace) (didn't touch "pong" and "imgui-demo") 2021-08-04 16:25:23 +02:00
Martino Fontana
c55ea96d0d Removed unnecessary .clone() 2021-08-04 15:13:08 +02:00
Martino Fontana
467cec5367 Removed unnecessary borrows 2021-08-04 15:06:53 +02:00
Martino Fontana
c80b5a9ae2 Collapsed event_loop match 2021-08-04 14:17:21 +02:00