Commit graph

4684 commits

Author SHA1 Message Date
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
Carter Anderson
fc53ff9a71 Add "Focus Areas" to readme 2020-08-21 12:50:05 -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
Thirds
505c79b60d
README.md link points to the correct example (#225)
The 2D Rendering example texture_atlas URL was pointing to the ./2d/sprite_sheet.rs example. This has now been fixed.
2020-08-20 17:29:10 -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
GabLotus
3c5251f6f2
Updating README.md with subreddit info and link to Code of Conduct (#263)
* update readme
2020-08-20 17:03:26 -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
979a1346a1
Merge pull request #236 from stefee/patch-1
Add a code of conduct
2020-08-19 22:01:51 -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
stefee
1f7cdbd4ce
Update CODE_OF_CONDUCT.md
* Remove 'when something happens' section

* Add pledge from Contributor Covenant version 2.0
2020-08-19 20:25:58 +01:00
stefee
dc988818d7
Update CODE_OF_CONDUCT.md
* Remove harassment definition and link to Citizen Code of Conduct instead

* Remove statement on reverse-isms to bring the doc more in line with the original Rust CoC
2020-08-19 20:20:19 +01:00
stefee
322fad76c7
Update CODE_OF_CONDUCT.md
* Tweak wording for readability
2020-08-19 16:11:00 +01:00
stefee
f12990feb9
Update CODE_OF_CONDUCT.md
* Move line about "reverse-isms" to the Conduct section
2020-08-19 15:52:24 +01: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
stefee
9648008e0f
Update CODE_OF_CONDUCT.md
* Minor edit for clarity
2020-08-19 09:34:21 +01:00
stefee
49d4784a6d
Update CODE_OF_CONDUCT.md
* Move moderation section to the bottom

* Add attribution links to each section
2020-08-19 08:47:48 +01:00
stefee
4462eb495d
Update CODE_OF_CONDUCT.md 2020-08-19 05:37:21 +01:00
stefee
900126b3bd
Create CODE_OF_CONDUCT.md
This Code of Conduct is based on the Rust Code of Conduct, which is adapted from the Node.js Policy on Trolling as well as the Contributor Covenant version 1.3; and also the WeAllJS Code of Conduct, which is itself based on Contributor Covenant version 1.4, and the LGBTQ in Technology Slack Code of Conduct

Rust Code of Conduct: https://www.rust-lang.org/policies/code-of-conduct
Node.js Policy on Trolling: http://blog.izs.me/post/30036893703/policy-on-trolling
Contributor Covenant version 1.3: https://www.contributor-covenant.org/version/1/3/0/code-of-conduct/
WeAllJS Code of Conduct: https://wealljs.org/code-of-conduct
Contributor Covenant version 1.4: https://www.contributor-covenant.org/version/1/4/code-of-conduct/
LGBTQ in Technology Slack Code of Conduct: http://lgbtq.technology/coc.html
2020-08-19 05:25:02 +01:00
Carter Anderson
7d1d9dcd13
Merge pull request #234 from multun/fix-formatting
fix formatting
2020-08-18 20:42:13 -07: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
Carter Anderson
6228e8a4bb
Create FUNDING.yml 2020-08-18 10:59:30 -07:00
Carter Anderson
4a06bbf9f6
Merge pull request #220 from 0x22fe/patch-1
Created README for examples
2020-08-17 19:24:33 -07:00
Carter Anderson
6e4c959e93
Merge pull request #211 from lachlansneff/bevy-render-draw-command
Add Draw command to RenderCommand
2020-08-17 19:15:41 -07:00
0x22fe
81d30dd42b
Created README for examples 2020-08-17 23:02:59 +00:00
Lachlan Sneff
ccfa815cac Use can_draw in can_draw_indexed 2020-08-17 10:56:27 -04:00
Carter Anderson
99e39b5227
Merge pull request #212 from GabLotus/master
Remove std::time::Duration from the thread_pool_resources.rs example
2020-08-16 14:08:54 -07:00
Gab Campbell
cf8bab27a0 unused import 2020-08-16 13:43:42 -07:00
Lachlan Sneff
e24aaf3dd3 Add Draw command to RenderCommand 2020-08-16 16:28:52 -04:00
Carter Anderson
77ebb461f9
Merge pull request #201 from multun/cargo-fmt
enforce cargo fmt --check
2020-08-16 12:45:46 -07:00
Carter Anderson
f92f6a4f9b
Merge pull request #204 from multun/fix-profiling-build
profiling: fix build
2020-08-16 12:40:46 -07: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
7db4821287 add more tracing docs 2020-08-16 01:26:42 -07:00
Carter Anderson
9e1a1d15ea Add wgpu trace docs 2020-08-16 01:21:37 -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
Carter Anderson
76ff107f8e
Merge pull request #196 from ifletsomeclaire/master
Added 2 more draw.is_visible checks to render crate
2020-08-15 17:53:34 -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