Commit graph

460 commits

Author SHA1 Message Date
Claire C
45312a945a
Basic mouse scroll-wheel event (#222)
add simple mouse wheel event + example
2020-08-20 17:04:01 -07:00
Boutillier
38d3da5b86
Fix #187 . Multiple return instead of continue inside for loops. (#230) 2020-08-20 16:09:04 -07:00
Csányi István
268b520105
Simplify GLTF loader code (#245)
simplify gtlf loader code
2020-08-20 14:06:16 -07:00
Carter Anderson
1ebb7e44ff
Merge pull request #189 from StarArawn/bind-group-reflect-fix
Reflect shader stage for bind groups.
2020-08-20 12:57:38 -07:00
Carter Anderson
e31f576484
Merge pull request #206 from multun/clippy
Add clippy support and fix all warnings / errors
2020-08-19 21:33:28 -07:00
John Mitchell
d4d68f6670 Fixed tests. 2020-08-19 10:16:35 -04:00
John Mitchell
f1b0d04e53 Fixed formatting. 2020-08-19 10:00:45 -04:00
John Mitchell
131a5e9167 Merge branch 'master' into bind-group-reflect-fix 2020-08-19 09:24:22 -04:00
Victor "multun" Collod
46636ed076 fix formatting 2020-08-18 19:48:03 -07:00
Carter Anderson
6ffe0696db
Merge pull request #203 from lachlansneff/ironing-out-uniforms
Replace vector of UniformProperty with a single UniformProperty
2020-08-18 13:44:10 -07:00
Lachlan Sneff
ccfa815cac Use can_draw in can_draw_indexed 2020-08-17 10:56:27 -04:00
Lachlan Sneff
e24aaf3dd3 Add Draw command to RenderCommand 2020-08-16 16:28:52 -04:00
Victor "multun" Collod
e36b26c226 render: fix RenderResourceBinding PartialEq impl 2020-08-16 07:20:06 -07:00
Victor "multun" Collod
dfbdeeb27f render: fix bind group PartialEq impl 2020-08-16 07:20:06 -07:00
Victor "multun" Collod
c38420f1e9 enforce clippy for all target and features 2020-08-16 07:20:06 -07:00
Victor "multun" Collod
d138647818 enforce cargo fmt --check 2020-08-16 05:02:06 -07:00
Victor "multun" Collod
ece54e963e diagnostics: add missing feature dependency 2020-08-16 05:02:06 -07:00
Victor "multun" Collod
1ec7183494 profiling: fix build 2020-08-16 02:06:59 -07:00
Carter Anderson
5fdf36dbb1 add optional wgpu tracing feature 2020-08-16 01:11:17 -07:00
Lachlan Sneff
9883cd15cd Replace vector of UniformProperty with a single property 2020-08-16 01:16:00 -04:00
Carter Anderson
f85867139b
Merge pull request #199 from multun/query-mut-debug
ecs: impl Debug for Mut<...>
2020-08-15 17:57:37 -07:00
Victor "multun" Collod
8472789bbb ecs: impl Debug for Mut<...> 2020-08-15 17:46:36 -07:00
ifletsomeclaire
c0d4877486 added draw.is_visible checks 2020-08-15 14:38:55 -05:00
John Mitchell
e11fa3e316 Added hack to allow all of the examples to work. 2020-08-15 15:03:57 -04:00
John Mitchell
eac53c1ab7 Fixed! 🎉 2020-08-14 23:21:38 -04:00
John Mitchell
76564a486e Removed old comment. 2020-08-14 16:59:18 -04:00
John Mitchell
f3ef23bda7 Working on correctly reflecting shader stage for bind groups. 2020-08-14 14:02:56 -04:00
Fabian Würfl
458a169ad2 Add possibility to control num_threads and stack_size of rayon::ThreadPool 2020-08-14 19:15:53 +02:00
Carter Anderson
95dce3ac72
Merge pull request #154 from OptimisticPeach/master
Add Icospheres mesh generation
2020-08-13 19:44:50 -07:00
Carter Anderson
938d381d45
Merge pull request #178 from JohnDoneth/master
Add Command::remove_one
2020-08-13 17:26:22 -07:00
John Doneth
589af3dc51 Add Command::remove_one 2020-08-13 19:38:38 -04:00
Carter Anderson
76c439398f
Merge pull request #173 from StarArawn/add-shader-stage-visibility-to-bindings
Added BindingShaderStage in order to pass the correct shader stage to wgpu.
2020-08-13 11:59:44 -07:00
Carter Anderson
fb4b2d9763
Merge pull request #172 from Halfwhit/prelude-fix
Added Mut to ECS prelude
2020-08-13 11:56:03 -07:00
Carter Anderson
317b3390ec
Merge pull request #149 from joejoepie/master
Add resizable flag and windowmode option to window creation
2020-08-13 11:54:27 -07:00
John Mitchell
3f5aae877e Removed some whitespace. 2020-08-13 13:00:27 -04:00
John Mitchell
5b99ad2483 Use if statement instead of match as that didn't work as expected. 2020-08-13 12:58:23 -04:00
John Mitchell
c40f39ec7e Make sure we translate the new type for wgpu. 2020-08-13 12:50:13 -04:00
John Mitchell
02b1907738 Use BindingShaderStage to pass which program the binding is attached to. 2020-08-13 12:44:21 -04:00
Halfwhit
14bfd698c5 Update lib.rs 2020-08-13 17:39:33 +01:00
Milan Vaško
e96afc33a7 Add support for embedded buffers in GLTF loader 2020-08-13 16:30:49 +02:00
Wouter Standaert
f539b6e7f6 Using event_loop for getting video mode 2020-08-13 11:27:51 +02:00
Wouter Standaert
a738771c93 Add resizable and windowmode options to window creation 2020-08-13 10:47:40 +02:00
Carter Anderson
a7f1889a35
Merge pull request #153 from multun/remove-entities-current
ecs: remove unused Entities::current
2020-08-13 01:21:43 -07:00
Jake Kerr
ad446c5f60 Use window_builder when configuring initial window
This fixes issue #159 where the window would briefly show with default options.
2020-08-13 15:37:26 +09:00
Victor "multun" Collod
8662ab3622 ecs: remove unused Entities::current 2020-08-12 21:16:20 -07:00
OptimisticPeach
86c20eb6df Add Icospheres.
Additionally documents the shapes module.
2020-08-13 00:14:23 -04:00
Carter Anderson
f49d07c0cc re-enable high performance gpu preference 2020-08-12 18:53:56 -07:00
MGlolenstine
241bd70797 added missing gpu(drivers) message instead of panicking on 'None' 2020-08-12 08:58:07 +02:00
Cameron Hart
5912206441 Upgrade glam to 0.9.3 2020-08-12 17:31:51 +12:00
Carter Anderson
00a887214e
Merge pull request #108 from caelunshun/feature-gated-deps
Make audio/image dependencies optional through feature flags
2020-08-11 15:31:39 -07:00