multun
022a31fd8f
fix formatting / clippy warnings ( #295 )
2020-08-22 18:35:40 -07:00
Carter Anderson
b925e22949
0.1.3 upgrade
2020-08-22 10:16:52 -07:00
Carter Anderson
35c59d2d59
use wgpu 0.6.0 release
2020-08-22 09:42:00 -07:00
Boutillier
4eb437ab2e
Fixes #134 and #135 with a slight hit on performances as get_or_assign_index will now always assign ( #247 )
2020-08-22 09:28:38 -07:00
kaflu
2dadc86fb0
Change CullMode to none for sprites ( #241 )
...
With `CullMode::Back`, a sprite image that is rotated in x,y plane won't display properly
Co-authored-by: kaflu <kaflu@users.noreply.github.com>
2020-08-21 19:52:31 -07:00
mfrancis107
47f3a0b8be
Changes ScheduleRunnerPlugin RunMode::Loop to run on fixed interval ( #233 )
...
* Changes ScheduleRunnerPlugin RunMode::Loop to run on fixed interval
* fix formatting
2020-08-21 19:31:46 -07:00
Carter Anderson
7c3b49cb6f
upgrade to latest wgpu
2020-08-21 18:36:32 -07:00
TehPers
7a79dcc46c
Add serialize/deserialize to some input types ( #281 )
2020-08-21 18:13:50 -07:00
8bp
68d419d40f
Add repeating flag to Timer ( #165 )
...
Repeating timers will reset themselves upon finishing, carrying over any
excess time during the last tick. This fixes timer drift upon resetting.
2020-08-21 14:57:25 -07:00
Lachlan Sneff
1eca55e571
Replace std synchronization primitives with parking_lot ( #210 )
...
* Replace std::sync::Mutex with parking_lot::Mutex
* Replace std::sync::RwLock with parking_lot::RwLock
2020-08-21 14:55:16 -07:00
Jake Kerr
db1bf6478c
Allow calling winit with the 'run_return' variant of the run function ( #243 )
...
This adds a new WinitConfig resource that can be used to configure the behavior of winit.
When `return_from_run` is set to `true`, `App::run()` will return on `target_os` configurations that
support it.
Closes bevyengine/bevy#167 .
2020-08-20 22:37:19 -07:00
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