Toniman20
32acbfb632
Added set_minimized
and set_position
to Window
( #1292 )
...
Added `set_minimized` and `set_position` to `Window`
2021-01-24 20:06:06 -08:00
RedlineTriad
7e368e0b78
Add more transform relative vectors ( #1300 )
...
* Add more transform relative vectors (#1298 )
* Add inverse of relative directions (#1298 )
2021-01-24 20:05:30 -08:00
tigregalis
40b5bbd028
Rich text ( #1245 )
...
Rich text support (different fonts / styles within the same text section)
2021-01-24 17:07:43 -08:00
Will Crichton
3d0c4e380c
Don't panic on error when loading assets ( #1286 )
...
* Don't panic on IO errors
* Better formatting for asset server errors
2021-01-23 13:23:16 -08:00
Tomasz Sterna
f2b73eaa8a
Fix documentation comment for State::overwrite_next ( #1291 )
2021-01-23 13:18:28 -08:00
Will Crichton
7166a28baf
Enable dynamic mutable access to component data ( #1284 )
...
* Enable dynamic mutable access to component data
* Add clippy allowance, more documentation
2021-01-22 15:15:08 -08:00
Will Crichton
ebcab3638a
Change Name to take Into<String> instead of String ( #1283 )
2021-01-22 14:13:26 -08:00
Daniel McNab
6bd5ec8404
Change to using add_run_criteria ( #1282 )
2021-01-22 14:09:14 -08:00
Renato Caldas
0a39c81be6
Add support for reading from mapped buffers ( #1274 )
...
* Add support for mapping buffers for reading.
* Add support for reading from a mapped buffer.
2021-01-21 17:53:43 -08:00
Aevyrie
18e4fa8cdf
world coords to screen space ( #1258 )
...
Add Camera::world_to_screen to convert world coordinates to screen space
2021-01-21 17:49:29 -08:00
TheRawMeatball
f15d62c0f1
More types ( #1267 )
2021-01-21 16:05:23 -08:00
bjorn3
7aefd727f6
Use valid keys to initialize AHasher in FixedState ( #1268 )
...
Using 0 as keys causes the hasher to get stuck
2021-01-20 14:24:57 -08:00
reidbhuntley
ac7d2de67c
Count number of times a repeating Timer wraps around in a tick ( #1112 )
...
Added just_finished_count() function
2021-01-19 14:41:37 -08:00
Alec Deason
1e8060a5a2
Add missing spawn_local method to Scope in the single threaded executor case ( #1266 )
2021-01-19 13:07:45 -08:00
TheRawMeatball
50ceaf3559
re-export integer vectors from glam ( #1264 )
2021-01-19 12:56:50 -08:00
TheRawMeatball
a880b54508
Make EventReader a SystemParam ( #1244 )
...
* Add generic support for `#[derive(SystemParam)]`
* Make EventReader a SystemParam
2021-01-18 22:23:30 -08:00
Alec Deason
71c6a19ed8
Minimal change to support instanced rendering ( #1262 )
2021-01-18 16:52:06 -08:00
Nathan Stocks
a0475e9ad5
Change 'components' to 'bundles' where it makes sense semantically ( #1257 )
...
change 'components' to 'bundles' where it makes sense semantically
2021-01-18 16:50:36 -08:00
Alec Deason
3c5f1f8a80
Support for !Send tasks ( #1216 )
...
Support for !Send tasks
2021-01-18 13:48:28 -08:00
Cameron Hart
e7dab0c359
Update glam to 0.12.0 ( #1249 )
2021-01-17 13:44:55 -08:00
Christopher Durham
4d5ba7918b
Update rand requirement from 0.7 to 0.8 ( #1114 )
...
* Update rand requirement from 0.7 to 0.8
* Update examples' usage of Rng::gen_range
2021-01-17 13:43:03 -08:00
Zhixing Zhang
cf0e9f9968
Adding copy_texture_to_buffer and copy_texture_to_texture ( #1236 )
...
* Adding copy_texture_to_buffer and copy_texture_to_texture
* Adding CopyTextureToTexture and CopyTextureToBuffer in CommandQueue
2021-01-14 11:01:07 -08:00
Yoh Deadfall
6a0116e994
Removed unreferenced trait ( #1230 )
2021-01-12 14:06:01 -08:00
João Capucho
478f947768
Don't panic if there's no index buffer and call draw ( #1229 )
2021-01-12 14:05:13 -08:00
bjorn3
fbf08ac545
Faster compilation of bevy_diagnostic ( #1235 )
...
* Remove AHashExt
There is little benefit of Hash*::new() over Hash*::default(), but it
does require more code that needs to be duplicated for every Hash* in
bevy_utils. It may also slightly increase compile times.
* Add StableHash* to bevy_utils
* Use StableHashMap instead of HashMap + BTreeSet for diagnostics
This is a significant reduction in the release mode compile times of
bevy_diagnostics
```
Benchmark #1 : touch crates/bevy_diagnostic/src/lib.rs && cargo build --release -p bevy_diagnostic -j1
Time (mean ± σ): 3.645 s ± 0.009 s [User: 3.551 s, System: 0.094 s]
Range (min … max): 3.632 s … 3.658 s 20 runs
```
```
Benchmark #1 : touch crates/bevy_diagnostic/src/lib.rs && cargo build --release -p bevy_diagnostic -j1
Time (mean ± σ): 2.938 s ± 0.012 s [User: 2.850 s, System: 0.090 s]
Range (min … max): 2.919 s … 2.969 s 20 runs
```
2021-01-12 13:21:45 -08:00
François
c434f57de1
use biggest RenderResources instead of first ( #1208 )
2021-01-11 14:28:32 -08:00
Adamaq01
4a0837048c
Made ReflectMut::Tuple enum variant use a mutable reference ( #1226 )
2021-01-08 18:29:03 -08:00
Schell Carl Scivally
a6a242cb86
Render Layers ( #1209 )
...
Adds RenderLayers, which enable cameras and entities to opt in to layers that apply to them
2021-01-08 12:45:54 -08:00
Jakob Hellermann
3f2dd22cb5
bevy_render: add torus and capsule shape ( #1223 )
...
* bevy_render: add torus shape
* bevy_render: add capsule shape
* bevy_render: reorganize shape module
* bevy_render: add more docs
2021-01-08 11:39:33 -08:00
TehPers
5e7456115a
Implement Reflect for tuples up to length 12 ( #1218 )
...
Add Reflect impls for tuples up to length 12
2021-01-07 19:50:09 -08:00
AngelicosPhosphoros
9bce8712b5
Use fxhash in TypeIdMap. ( #1119 )
...
Relying on TypeId being some hash internally isn't future-proof because there is no guarantee about internal layout or structure of TypeId. I benchmarked TypeId noop hasher vs fxhash and found that there is very little difference.
Also fxhash is likely to be better supported because it is widely used in rustc itself.
[Benchmarks of hashers](https://github.com/bevyengine/bevy/issues/1097 )
[Engine wide benchmarks](https://github.com/bevyengine/bevy/pull/1119#issuecomment-751361215 )
2021-01-07 17:42:09 -08:00
David Ackerman
0e0906d22e
Fix iOS touch location ( #1224 )
2021-01-07 13:37:22 -08:00
Jakob Hellermann
599f381a6a
fix repeated gamepad events ( #1221 )
...
Previously, if the actual value of LeftStickX was e.g. 0.034 and fluctuated a little
bit (less than the threshold) it would repeatedly send out events,
because it compared the value to the *filtered* old one - 0.0 - which is
more then `0.01` (the threshold) away.
The is fixed by first doing the deadzone and then comparing to the old
value.
Another possible solution would be to store both the actual old value
and the filtered one, but that would add complexity.
2021-01-07 12:35:40 -08:00
Daniel McNab
9f2410a4ac
Add from_xyz
to Transform
( #1212 )
...
* Add the from_xyz helper method to Transform
* Use `from_xyz` where possible
2021-01-06 17:17:06 -08:00
TheRawMeatball
c69aa98a60
Refactor Box<dyn System>
to BoxedSystem ( #1191 )
...
Added BoxedSystem
2021-01-03 12:39:30 -08:00
Nathan Jeffords
60be99859a
Subpixel text positioning ( #1196 )
...
* cleanup unnecessary changes from PR #1171
* add feature to correctly render glyphs with sub-pixel positioning
2021-01-03 12:39:11 -08:00
Rob Parrett
8a330a889d
Add support for OTF fonts ( #1200 )
2021-01-03 12:10:23 -08:00
Restioson
820f37fccf
add convenience function ( #1197 )
2021-01-03 11:57:18 -08:00
MsK`
ca310b856f
New mesh attribute: color ( #1194 )
...
New mesh attribute: color
2021-01-03 11:39:15 -08:00
Adam Bates
b7e35ef744
Made gilrs crate public within bevy so we can reference the plugin outside of DefaultPlugins. ( #1195 )
2021-01-03 11:36:42 -08:00
Théo Degioanni
804c068cc9
bevy_reflect incorrectly looks for bevy in dev-deps ( #1182 )
...
* fix: bevy_reflect looking for bevy in dev-deps
* fix: support bevy as dev-dep only in bevy_reflect
2021-01-03 11:28:00 -08:00
François
c95d0ddfb9
remove panics when mixing UI and non UI entities in hierarchy ( #1180 )
...
* replace unwrap with logs when mixing UI and non UI entities in hierarchy
2021-01-01 16:06:40 -06:00
Nathan Jeffords
b8fb462eff
Text2d render quality ( #1171 )
...
improve quality of text2d rendering
* remove coordinate tweaking in sprite-sheet shader
* fixes glyph shimmering of animated text
* reposition glyph before passing it to ab_glyph to normalize its rendering
The result of layout of sequence of glyphs causes individuals to have fractional positions, but since glyph renderings are reused for future instances of that glyph, this produces errors. This change accepts the errors but repositions the glyph to "0, 0" in an effort to get the cleanest possible rendering.
2021-01-01 15:36:00 -06:00
Dimitri Belopopsky
a01f22e0c5
Add basic file drag and drop support ( #1096 )
...
Add basic file drag and drop support
2021-01-01 15:31:22 -06:00
François
228c3df751
use Name on node when loading a gltf file ( #1183 )
...
* export Name in prelude
* use Name instead of Labels in gltf scenes
2021-01-01 15:30:18 -06:00
François
c25b41a038
add scene instance entity iteration ( #1058 )
...
add scene instance entity iteration
2021-01-01 14:58:49 -06:00
Matthias Seiffert
030ccf1984
Derive Clone for SpriteSheetBundle and SpriteBundle ( #1177 )
...
* Derive Clone for TextureAtlasSprite and SpriteSheetBundle
* Derive Clone for Sprite and SpriteBundle
2021-01-01 14:52:09 -06:00
dependabot[bot]
271644a4f7
Update base64 requirement from 0.12.3 to 0.13.0 ( #628 )
...
Updates the requirements on [base64](https://github.com/marshallpierce/rust-base64 ) to permit the latest version.
- [Release notes](https://github.com/marshallpierce/rust-base64/releases )
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md )
- [Commits](https://github.com/marshallpierce/rust-base64/compare/v0.12.3...v0.13.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-31 18:43:48 -06:00
Adam Bates
8f426b71c9
Minor grammar fix in code-comment for fn in state ( #1173 )
2020-12-31 18:37:02 -06:00
Patrik Buhring
f71dc5daeb
Fix potential bug when using multiple lights. ( #1055 )
2020-12-31 16:51:21 -06:00
François
d91117d6e7
add Flags<T>
as a query to get flags of component ( #1172 )
...
add `Flags` as a query to get flags of component
2020-12-31 16:29:08 -06:00
Carter Anderson
38010d96ab
remove unnecessary semicolon ( #1179 )
2020-12-31 16:05:37 -06:00
François
21794fe6df
make more information available from loaded GLTF model ( #1020 )
...
make more information available from loaded GLTF model
* make gltf nodes available as assets
* add list of primitive per mesh, and their associated material
* complete gltf structure
* get names of gltf assets
* only load materials once
* add labels with node names
2020-12-31 14:57:15 -06:00
Felipe Jorge
30fd302c7e
Name component with fast comparisons ( #1109 )
...
Name component with fast comparisons
2020-12-31 14:52:02 -06:00
Nathan Jeffords
6531fcdfd2
HIDPI Text ( #1132 )
...
HIDPI Text
* add more operator overloads to `bevy::math::Size`
* render UI text at physical resolution
2020-12-30 16:40:50 -06:00
MsK`
2754a9dde8
Mutable mesh accessors: indices_mut and attribute_mut ( #1164 )
...
mutable mesh accessors: indices_mut and attribute_mut
2020-12-30 15:17:44 -06:00
François
871b47f1c3
let user disable feature png when using only other format ( #1156 )
2020-12-28 15:31:23 -06:00
François
adb249c394
enable change detection for labels ( #1155 )
2020-12-28 15:25:01 -06:00
W. Brian Gourlie
b94f266183
Implement Copy for ElementState ( #1154 )
2020-12-28 15:24:31 -06:00
TheRawMeatball
3cb2e22e89
Added use_dpi setting to WindowDescriptor ( #1131 )
...
Added scale_factor_override
2020-12-28 14:26:50 -06:00
Gilbert Röhrbein
4825051c6a
Test entity labels, fixed corner cases, changed interface ( #1152 )
...
* Test entity labels, fixed corner cases, changed interface
* add tests for entity_labels_system
* fixed filling label_entities map
* fixed corner cases when removing entities, Labels component
* changed EntityLabels::get to return slice or empty slice instead of
None or Some empty or non-empty slice
Changing the interface of EntityLabels::get is beneficial, since else
you would get different results in case there was an entity before that
with this missing label or not. You would either get None or Some(&[])
and need to handle both, which is actually not necessary.
* register type Labels in CorePlugin
2020-12-27 18:28:49 -06:00
Martin Lavoie
909b396b9e
Add option to ignore events when receving unknown WindowId ( #1072 )
...
Ignore window events with unknown window id
2020-12-27 13:24:31 -06:00
Nathan Stocks
f574c2c547
Render text in 2D scenes ( #1122 )
...
Render text in 2D scenes
2020-12-27 13:19:03 -06:00
François
b28365f966
updates on diagnostics (log + new diagnostics) ( #1085 )
...
* move print diagnostics to log
* entity count diagnostic
* asset count diagnostic
* remove useless `pub`s
* use `BTreeMap` instead of `HashMap`
* get entity count from world
* keep ordered list of diagnostics
2020-12-24 13:28:31 -06:00
Martin Lavoie
d3d6c35789
Add an alternative winit runner that can be started when not on the main thread ( #1063 )
2020-12-24 12:43:30 -06:00
Jakob Hellermann
0a51a26aba
bevy_render: load .spv assets ( #1104 )
...
bevy_render: ShaderLoader can now load spv files
2020-12-23 19:41:34 -06:00
Patrik Buhring
cbc0fe1416
Modify Derive to allow unit structs for RenderResources. ( #1089 )
2020-12-23 17:21:10 -06:00
Ryan Lee
acc29ec719
Add bmp as a supported texture format ( #1081 )
2020-12-23 16:53:02 -06:00
François
09c15ea890
do not check for focus until cursor position has been set ( #1070 )
...
do not check for focus until cursor position has been set
2020-12-23 16:10:39 -06:00
Carter Anderson
61ce3f7bcf
make wgpu options public ( #1133 )
2020-12-22 22:35:17 -06:00
Martin Lavoie
906b406f6a
Prevent double panic in the Drop of TaksPoolInner ( #1064 )
2020-12-22 14:21:21 -06:00
Alec Deason
814c413372
Fix lock order to remove the chance of deadlock ( #1121 )
2020-12-22 13:49:40 -06:00
Agorgianitis Loukas
dd668c1970
Expose wgpu backend in WgpuOptions and allow it to be configured from the environment ( #1042 )
2020-12-22 13:31:01 -06:00
Carter Anderson
3b2c6ce49b
release 0.4.0 ( #1093 )
2020-12-19 13:28:00 -06:00
Carter Anderson
caf3d8b3ef
add with_enter_stage (and other variants) ( #1091 )
2020-12-19 12:31:47 -06:00
François
18e5411d7d
set is_transparent to true by default for UI bundles ( #1071 )
...
set is_transparent to true by default for UI bundles
2020-12-18 15:21:37 -06:00
François
d0840bd721
Fix example return_after_run ( #1082 )
...
* ignore error when setting global tracing subscriber
* ignore unfocus event on window closed previously
* update example to show how to disable LogPlugin
2020-12-18 15:08:26 -06:00
Nathan Jeffords
596bed8ce2
add ability to provide custom a AssetIo
implementation ( #1037 )
...
make it easier to override the default asset IO instance
2020-12-18 13:34:44 -06:00
Carter Anderson
841755aaf2
Adopt a Fetch pattern for SystemParams ( #1074 )
2020-12-15 21:57:16 -08:00
Nathan Jeffords
51650f114f
run stretch's layout on physical coordinates to fix pixel alignment ( #1061 )
...
run stretch's layout on physical coordinates to fix pixel alignment of the results
2020-12-14 23:17:34 -08:00
Carter Anderson
45e2be3847
suppress wgpu warnings by default. they are generally unactionable and noisy ( #1066 )
2020-12-14 17:15:07 -08:00
Carter Anderson
b12e3bf3bb
Improve usability of StateStage and cut down on "magic" ( #1059 )
...
Improve usability of StateStage and cut down on "magic"
2020-12-14 17:13:22 -08:00
Nathan Jeffords
d2e4327b14
update Window
's width
& height
methods to return f32
( #1033 )
...
update `Window`'s `width` & `height` methods to return `f32`
2020-12-13 15:05:56 -08:00
Alec Deason
e511cdbda7
More informative error message on missing stage ( #1048 )
...
More informative error message on missing state
2020-12-13 12:12:09 -08:00
sapir
002e22fca0
Fix hang on missing state update handler ( #1051 )
2020-12-13 11:55:32 -08:00
Corey Farwell
9602b24d0f
Add support for Apple Silicon by upgrading winit. ( #1043 )
2020-12-13 11:27:54 -08:00
Carter Anderson
509b138e8f
Schedule v2 ( #1021 )
...
Schedule V2
2020-12-12 18:04:42 -08:00
Nathan Jeffords
9239621ffc
add ability to load .dds
, .tga
, and .jpeg
texture formats ( #1038 )
...
add ability to load `.dds`, `.tga`, and `.jpeg` texture formats
2020-12-09 18:34:27 -08:00
James R
4a5bcccde2
Don't panic when attempting to set shader defs from an asset that hasn't loaded yet ( #1035 )
...
Don't panic when attempting to set shader defs from an asset that hasn't loaded yet
2020-12-09 16:34:22 -08:00
Carter Anderson
7ab0eeece0
Break out Visible component from Draw ( #1034 )
...
Break out Visible component from Draw
2020-12-09 13:38:48 -08:00
Corey Farwell
66f972c850
Use shaderc for aarch64-apple-darwin. ( #1027 )
2020-12-09 13:02:43 -08:00
François
f53ee54eb6
can spawn a scene from a ChildBuilder, or directly set its parent when spawning it ( #1026 )
...
can spawn a scene from a ChildBuilder, or directly set its parent when spawning one
2020-12-09 12:41:49 -08:00
François
c54179b182
only update components for entities in map ( #1023 )
2020-12-08 20:01:54 -08:00
rod-salazar
19c4f331ac
Ensure default material is loaded ( #1016 )
2020-12-08 19:36:41 -08:00
Nathan Jeffords
3d386a77b4
attempt to deal with rounding issue when creating the swap chain ( #997 )
...
attempt to deal with rounding issue when creating the swap chain on high DPI displays
2020-12-07 13:32:57 -08:00
thebluefish
08b6aa59f8
Added WindowFocused event ( #956 )
2020-12-07 13:24:25 -08:00
Lukas Orsvärn
e1b995f0b0
Add documentation for bevy::ecs::Query::removed ( #950 )
...
Add documentation for bevy::ecs::Query::removed
2020-12-07 12:41:40 -08:00
Al M
2c9b7956d1
Live reloading of shaders ( #937 )
...
* Add ShaderLoader, rebuild pipelines for modified shader assets
* New example
* Add shader_update_system, ShaderError, remove specialization assets
* Don't panic on shader compilation failure
2020-12-07 12:32:13 -08:00
François
a3bca7e464
Fix ci ( #1024 )
...
* fix format
* fix clippy
* used fixed nightly
2020-12-07 11:57:15 -08:00
Corey Farwell
1398d78330
Allow windows to maximized. ( #1004 )
...
Adds a new `set_maximized` method to allow users to maximize windows.
2020-12-04 14:31:17 -08:00
Patrik Buhring
fcbae57489
Update Hexasphere to improve MSRV ( #994 )
...
Assumes hexasphere will follow semver (I will try to make sure it does!)
2020-12-04 10:38:25 -08:00
Carter Anderson
d601eeb829
account for "still loading" textures in RenderResourceNodes ( #1000 )
2020-12-04 10:37:41 -08:00
Carter Anderson
704a116778
fix scene loading ( #988 )
2020-12-03 13:57:36 -08:00
François
59d98de194
naming coherence for cameras ( #995 )
...
naming coherence for cameras
2020-12-03 13:46:15 -08:00
Carter Anderson
7699f8b6db
optimize asset gpu data transfer ( #987 )
2020-12-03 12:39:29 -08:00
Nathan Jeffords
1aff709d27
Set cursor updates ( #993 )
...
* update `Window::set_cursor_position` to take a `Vec2` instead of `i32`s
this allows fractional coordinates to work correctly
2020-12-03 12:39:03 -08:00
Tomasz Sterna
1f2e4171cf
Store mouse cursor position in Window ( #940 )
2020-12-03 11:30:27 -08:00
Joshua J. Bouw
b8f8d468db
ChangeTextureAtlasBuilder
into expected Builder conventions ( #969 )
...
* Change`TextureAtlasBuilder` into expected Builder conventions
2020-12-02 20:54:13 -08:00
Michael Tang
ff12f69233
Document part of bevy_ecs::Commands ( #976 )
...
Document part of bevy_ecs::Commands
2020-12-02 19:11:28 -08:00
Robert Swain
59010caff5
Tracing chrome span names ( #979 )
...
* Update tracing-chrome to 0.3.0
* bevy_log: Add fields to span names for tracing-chrome
* Conditionally import tracing_subscriber modules based on feature
2020-12-02 16:14:02 -08:00
Tomasz Sterna
c346d282b6
Add Archetype TypeInfo::type_name accessor ( #985 )
2020-12-02 14:33:17 -08:00
Carter Anderson
915024bf35
fix changed meshes ( #984 )
2020-12-02 14:23:49 -08:00
Carter Anderson
5a77339df0
Revert "Add Archetype TypeInfo::type_name accessor ( #980 )" ( #982 )
...
This reverts commit 4833c2a7f4
.
2020-12-02 12:58:39 -08:00
Carter Anderson
ccb31bc949
Optimize Text rendering / SharedBuffers ( #972 )
...
optimize Text rendering / SharedBuffers
2020-12-02 12:38:20 -08:00
Tomasz Sterna
4833c2a7f4
Add Archetype TypeInfo::type_name accessor ( #980 )
2020-12-02 12:37:40 -08:00
Joshua J. Bouw
9f4c8b1b9a
Fix errors and panics to typical Rust conventions ( #968 )
...
Fix errors and panics to typical Rust conventions
2020-12-02 11:31:16 -08:00
Patrik Buhring
f54eb12efc
Fixed Hexasphere versioning. ( #974 )
2020-12-01 21:48:25 -08:00
Carter Anderson
c05c1dc119
hidpi swap chains ( #973 )
...
hidpi swap chains
2020-12-01 20:25:31 -08:00
Carter Anderson
b5ffab7135
Renderer Optimization Round 1 ( #958 )
...
* only update global transforms when they (or their ancestors) have changed
* only update render resource nodes when they have changed (quality check plz)
* only update entity mesh specialization when mesh (or mesh component) has changed
* only update sprite size when changed
* remove stale bind groups
* fix setting size of loading sprites
* store unmatched render resource binding results
* reduce state changes
* cargo fmt + clippy
* remove cached "NoMatch" results when new bindings are added to RenderResourceBindings
* inline current_entity in world_builder
* try creating bind groups even when they havent changed
* render_resources_node: update all entities when resized
* fmt
2020-12-01 13:17:48 -08:00
Nathan Stocks
3cee95e59a
Rename reflect 'hash' method to 'reflect_hash' and partial_eq
to reflect_partial_eq
( #954 )
...
* Rename reflect 'hash' method to 'reflect_hash' to avoid colliding with std:#️⃣ :Hash::hash to resolve #943 .
* Rename partial_eq to reflect_partial_eq to avoid collisions with implementations of PartialEq on primitives.
2020-12-01 11:15:07 -08:00
Andre Kuehne
0b818d7b32
Fix collision detection by calculating positive penetration depth. ( #966 )
2020-12-01 00:33:52 -08:00
Amber Kowalski
ef99e59469
Test more areas of the codebase ( #953 )
...
Test more areas of the codebase
2020-11-30 22:58:49 -08:00
Carter Anderson
8675fea0f2
consolidate find-crate ( #964 )
2020-11-30 22:36:38 -08:00
dependabot[bot]
048e6e2561
Update glam requirement from 0.10.0 to 0.11.0 ( #961 )
...
Updates the requirements on [glam](https://github.com/bitshifter/glam-rs ) to permit the latest version.
- [Release notes](https://github.com/bitshifter/glam-rs/releases )
- [Changelog](https://github.com/bitshifter/glam-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bitshifter/glam-rs/compare/0.10.0...0.11.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-30 22:25:42 -08:00
Patrik Buhring
3da653e4dd
Update Hexasphere & Usage. ( #965 )
2020-11-30 22:25:33 -08:00
François
6b004f7d16
switch winit size to logical to be dpi independent ( #947 )
...
* switch winit size to logical
* make scale factor available from bevy_window
2020-11-30 18:24:49 -08:00
dependabot[bot]
4cd3dd70b7
Update ahash requirement from 0.5.3 to 0.6.1 ( #960 )
...
Updates the requirements on [ahash](https://github.com/tkaitchuck/ahash ) to permit the latest version.
- [Release notes](https://github.com/tkaitchuck/ahash/releases )
- [Commits](https://github.com/tkaitchuck/ahash/commits )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-30 18:21:02 -08:00
Toothbrush
bc2f43c1c3
Fix examples in bevy_reflect/README.md ( #963 )
2020-11-30 18:12:09 -08:00
Amber Kowalski
4c1bc02723
Change bevy_input::Touch API to match similar APIs ( #952 )
2020-11-30 17:14:08 -08:00
Joshua J. Bouw
c7b9ad5097
Fix RenderResources
index slicing ( #948 )
2020-11-30 13:33:52 -08:00
Nick
f35f813137
additional vertex attribute value types ( #946 )
2020-11-30 13:05:03 -08:00
Jonathan Cornaz
52d6799544
Run parent-update and transform-propagation during the "post-startup" stage (instead of "startup") ( #955 )
...
* Propagate transforms during the POST_STARTUP start-up stage
* Update changelog
2020-11-29 14:07:47 -08:00
Mariusz Kryński
dbf226be49
store PipelineSpecialization.dynamic_bindings in HashSet ( #936 )
2020-11-28 13:10:18 -08:00
Amber Kowalski
097a55948c
Refactor Time API and internals ( #934 )
...
Refactor Time API and internals
2020-11-28 13:08:31 -08:00
Nick
f3b49e44c9
removed redundant v_Normal in shader ( #938 )
2020-11-28 12:44:25 -08:00
Carter Anderson
72b2fc9843
Bevy Reflection ( #926 )
...
Bevy Reflection
2020-11-27 16:39:59 -08:00
Philip Degarmo
ec8fd57c45
When a task scope produces <= 1 task to run, run it on the calling thread immediately. ( #932 )
...
While generally speaking the calling thread would have picked up the task first anyways, I don't think it makes much sense usually to block the calling thread until another thread wakes and does the work.
2020-11-27 12:14:44 -08:00
RiskLove
7d4cb70d92
BugFix: Archetype grow with defferent size. ( #930 )
...
Co-authored-by: heshuai <heshuai@163.com>
2020-11-27 11:55:55 -08:00
Nathan Stocks
12f29bd38c
Timer Polishing ( #931 )
...
* Pause stops ticks. Consistent getter method names. Update tests.
* Add timing example
* Format with the nightly formatter
Co-authored-by: Amber Kowalski <amberkowalski03@gmail.com>
2020-11-27 11:39:33 -08:00
Amber Kowalski
f69cc6f94c
Allow timers to be paused and encapsulate fields ( #914 )
...
Allow timers to be paused and encapsulate fields
2020-11-26 11:25:36 -08:00
dependabot[bot]
8e4eb41757
Update shaderc requirement from 0.6.3 to 0.7.0 ( #823 )
...
Updates the requirements on [shaderc](https://github.com/google/shaderc-rs ) to permit the latest version.
- [Release notes](https://github.com/google/shaderc-rs/releases )
- [Commits](https://github.com/google/shaderc-rs/compare/v0.6.3...v0.7.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-25 18:46:13 -08:00
Philip Degarmo
cf75c22c9a
Fix a deadlock that can occur when using scope() on ComputeTaskPool from within a system. ( #892 )
2020-11-25 18:05:55 -08:00
Carter Anderson
bd5bd3bc07
temporarily suppress new clipply lint ( #929 )
2020-11-25 17:46:37 -08:00
SvenTS
de5ff0aa5a
Remove Changed from parent update system ( #907 )
...
System has to check for actual change of the value anyway. This way,
children inserted after postupdate get synced in the next frame and are
not lost.
2020-11-25 17:33:59 -08:00
Tomasz Sterna
fd6b787efc
Create winit windows before app.initialize() ( #916 )
...
This is required so startup systems have access
to Windows and WinitWindows resources.
2020-11-25 17:32:41 -08:00
Tomasz Sterna
b2c82955ff
Add set_cursor_position method to Window ( #917 )
2020-11-25 17:31:10 -08:00
Carter Anderson
86d724e04e
wgpu: use mailbox instead of fifo for vsync ( #920 )
2020-11-25 17:28:58 -08:00
SvenTS
69603904ab
Allow despawning of hierarchies in threadlocal systems ( #908 )
...
* Rename test components for easier understanding of failures
* Make recursive despawn public
This way, threadlocal systems can despawn hierarchies.
* Swap children before despawning
2020-11-25 17:13:11 -08:00
SvenTS
dd1b08ef8b
Improve ui depth system ( #905 )
...
* Add test for ui-z system
* Remove generic hierarchy runner and refactor ui z-system
* Remove different handling for childless nodes
Having an empty children list should be the same as having no child
component.
* Further simplify system after change
2020-11-25 16:55:55 -08:00
Nathan Stocks
2f408cf053
Improve timer ergonomics. Add tests ( #923 )
2020-11-25 16:43:16 -08:00
bg
01ba7c4425
avoid exclusive lock during update_asset_storage
( #909 )
...
avoid exclusive lock during `update_asset_storage`
Co-authored-by: Jay <jay@heinousjay.com>
2020-11-22 12:29:26 -08:00
Felipe Jorge
c1e499d5fe
Fix duplicated chilren in Scene spawn ( #904 )
...
Fix duplicated chilren in Scene spawn
2020-11-22 12:05:58 -08:00
Duncan
46fac78774
Extend the Texture asset type to support 3D data ( #903 )
...
Extend the Texture asset type to support 3D data
Textures are still loaded from images as 2D, but they can be reshaped
according to how the render pipeline would like to use them.
Also add an example of how this can be used with the texture2DArray uniform type.
2020-11-22 12:04:47 -08:00
marius851000
eb587b2f10
do not spend time drawing text with is_visible = false ( #893 )
...
do not draw text with is_visible = false
2020-11-22 11:57:52 -08:00
Joel Nordström
1e9a0544bd
Fix pixel format conversion in bevy_gltf ( #897 )
...
* Fix pixel format conversion in bevy_gltf
* Update renamed image::DynamicImage method calls
* Remove unused GltfError variant
2020-11-21 19:08:50 -08:00
Plecra
3a9a5b4e07
fix: update image version ( #911 )
...
into_bgra8 was added in 0.23.12
2020-11-21 19:08:02 -08:00
Mariusz Kryński
d96493a42a
use wasm-friendly instant::Instant everywhere ( #895 )
...
* use instant::Instant everywhere
* reexport instant::{Duration, Instant} from bevy_utils
2020-11-21 16:38:24 -08:00
Valentin
d458406540
Add box shape ( #883 )
...
* Add rectangular cuboid shape
Co-authored-by: Jason Lessard <jason.lessard@usherbrooke.ca>
Co-authored-by: Jason Lessard <jason.lessard@usherbrooke.ca>
Co-authored-by: Carter Anderson <mcanders1@gmail.com>
2020-11-21 14:51:24 -08:00
bjorn3
0dbbcd98b6
Expose an EventId for events ( #894 )
...
* Expose an EventId for events
This can be helpful for correlating the place where an event is created
to the place where the event is processed.
2020-11-21 14:03:18 -08:00
rod-salazar
85ecab8bb9
Tweaks to TextureAtlasBuilder.finish() ( #887 )
...
Tweaks to TextureAtlasBuilder.finish()
2020-11-21 12:55:25 -08:00
bg
106486bd99
fix deprecation error in image_texture_loader (and CI error) ( #906 )
...
fix deprecation error in image_texture_loader (and CI error)
2020-11-21 12:26:35 -08:00
Vladyslav Batyrenko
d11be437cb
Switch to default PartialEq implementation for RenderResourceBinding ( #877 )
...
* Switch to default PartialEq implementation for RenderResourceBinding
* Move specialized RenderResourceBinding Hash implementation to BindGroupBuilder
2020-11-21 11:52:44 -08:00
Joshua J. Bouw
b4a864ba5a
Replace Bytes with Byteable for TextureAtlasSprite ( #874 )
...
Replace Bytes with Byteable for TextureAtlasSprite
2020-11-21 11:48:10 -08:00
Carter Anderson
4fecb899aa
initialize chained systems ( #886 )
2020-11-17 17:06:47 -08:00
Carter Anderson
457a8bd17d
ecs: replace "bool" component states with bitflags ( #878 )
2020-11-17 17:04:44 -08:00
bjorn3
d6eb647451
Misc cleanups ( #879 )
...
* Remove cfg!(feature = "metal-auto-capture")
This cfg! has existed since the initial commit, but the corresponding
feature has never been part of Cargo.toml
* Remove unnecessary handle_create_window_events call
* Remove EventLoopProxyPtr wrapper
* Remove unnecessary statics
* Fix unrelated deprecation warning to fix CI
2020-11-17 13:40:18 -08:00
Carter Anderson
3a6f6de277
System Inputs, Outputs, Chaining, and Registration Ergo ( #876 )
...
System Inputs, Outputs, Chaining, and Registration Ergo
2020-11-16 18:18:00 -08:00
bjorn3
50c7e229b2
Rework ResourceData to use VecResourceStorage instead of Archetype ( #873 )
2020-11-16 16:55:59 -08:00
dependabot[bot]
601411d201
Update find-crate requirement from 0.5 to 0.6 ( #872 )
...
Updates the requirements on [find-crate](https://github.com/taiki-e/find-crate ) to permit the latest version.
- [Release notes](https://github.com/taiki-e/find-crate/releases )
- [Changelog](https://github.com/taiki-e/find-crate/blob/master/CHANGELOG.md )
- [Commits](https://github.com/taiki-e/find-crate/compare/v0.5.0...v0.6.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-16 16:39:26 -08:00
rod-salazar
3fca8c60bb
Remove redundant texture copies in TextureCopyNode ( #871 )
...
Remove redundant texture syncs in TextureCopyNode
2020-11-16 16:38:14 -08:00
Julian Heinken
fcf9d525e1
Removed vertex fallback buffer ( #870 )
...
removed fallback buffer
2020-11-16 16:36:57 -08:00
Rob
7aac4223d0
Fixed property typos, KeyCode typo. ( #857 )
...
* Fixed property typos, KeyCode typo.
* cargo fmt
2020-11-16 16:33:19 -08:00
Carter Anderson
7628f4a64e
combine bevy_ecs and bevy_hecs crates. rename XComponents to XBundle ( #863 )
...
combine bevy_ecs and bevy_hecs crates. rename XComponents to XBundle
2020-11-15 20:32:23 -08:00
François
02f543eca3
Fall back to remove components one by one when failing to remove a bundle ( #719 )
...
Fall back to remove components one by one when failing to remove a bundle
2020-11-15 14:32:54 -08:00
milkybit
b3541a9a31
Add all basic color constants ( #859 )
...
Add all basic color constants
2020-11-15 12:44:02 -08:00
memoryruins
4bdff66b80
Check for conflicting system resource parameters ( #864 )
2020-11-15 12:42:43 -08:00
Joshua J. Bouw
bb4a7392c0
Remove redundant .into
for mesh set_attributes with impl ( #866 )
2020-11-15 12:08:03 -08:00
Mariusz Kryński
515d750004
wasm32: non-spirv shader specialization ( #843 )
...
wasm32: non-spirv shader specialization
2020-11-15 12:07:17 -08:00
Jackson Lango
18195bfa91
Controllable ambient light color ( #852 )
...
Control ambient light color via resource
The AmbientLight resource now controls the ambient light color in the
pbr fragment shader.
2020-11-15 11:34:55 -08:00
MinerSebas
43aac1a784
More query filter usage ( #851 )
...
* Examples now use With<>
* More Bevy systems now use With<>
* parent_update_system now uses Changed<>
2020-11-12 18:22:46 -08:00
Marcus Buffett
1a92ec2638
Make Timer.tick return &Self ( #820 )
...
Make Timer::tick return &Self
2020-11-12 18:03:03 -08:00
Nathan Stocks
a0b16e8620
Clean up now-unused files due to changes in the transform system ( #849 )
2020-11-12 17:24:41 -08:00
Carter Anderson
e03f17ba7f
Log Plugin ( #836 )
...
add bevy_log plugin
2020-11-12 17:23:57 -08:00
Olivier Pinon
465c3d4f7b
Use glyph_brush_layout and add text alignment support ( #765 )
...
Use glyph_brush_layout and add text alignment support
Co-authored-by: Olivier Pinon <op@impero.com>
Co-authored-by: tigregalis <anak.harimau@gmail.com>
Co-authored-by: Carter Anderson <mcanders1@gmail.com>
2020-11-12 16:21:48 -08:00
Carter Anderson
1eff53462a
cross-platform main function ( #847 )
2020-11-12 13:26:48 -08:00
Mariusz Kryński
fae628797f
bevy_render: delegate buffer aligning to render_resource_context ( #842 )
2020-11-11 14:08:27 -08:00
Carter Anderson
e769974d6a
query filters ( #834 )
2020-11-10 20:48:34 -08:00
Robert Swain
a266578992
Add tracing spans to schedules, stages, systems ( #789 )
...
Add tracing spans to schedules, stages, systems
2020-11-10 18:49:49 -08:00
Mikail Khan
b3e1048e73
added #[inline] to more window accessor functions ( #830 )
2020-11-10 17:20:31 -08:00
Joshua J. Bouw
c9acef04e3
Ahash constructor extensions and HashMap / HashSet ( #790 )
...
Ahash constructor extensions and HashMap / HashSet
2020-11-10 17:06:55 -08:00
rod-salazar
0c30762ab7
Update FileAssetIo NotFound error to include full path ( #821 )
2020-11-10 16:21:41 -08:00
memoryruins
a68c217ccf
Mark Query and QuerySet contructors as pub(crate) ( #829 )
...
Mark Query and QuerySet contructors as pub(crate)
2020-11-10 16:14:33 -08:00
Mariusz Kryński
60fa2d5f93
delegate layout reflection to RenderResourceContext ( #691 )
...
* delegate layout reflection to RenderResourceContext
Also:
* auto-reflect DynamicBindings
* use RenderPipeline::new, update dynamic_bindings
linting.
* add dynamic binding generation
Co-authored-by: Carter Anderson <mcanders1@gmail.com>
2020-11-10 13:20:05 -08:00
bjorn3
80a0448473
Add bevy_dylib to force dynamic linking of bevy ( #808 )
...
This easily improve compilation time by 2x
2020-11-09 19:26:08 -08:00
Carter Anderson
4ef6eb8a85
adjust to new clippy lints ( #826 )
2020-11-09 14:12:42 -08:00
Bram Buurlage
07f07a0736
Added RenderPass::set_scissor_rect ( #815 )
...
Added RenderPass::set_scissor_rect
2020-11-09 13:24:29 -08:00
Carter Anderson
213ba9629a
ecs: fix system name in "conflicting system" error message ( #816 )
2020-11-08 13:48:00 -08:00
Carter Anderson
ebcdc9fb8c
Flexible ECS System Params ( #798 )
...
system params can be in any order, faster compiles, remove foreach
2020-11-08 12:34:05 -08:00
Oscar
f54788527b
Add received character ( #805 )
...
* Add ReceivedCharacter window event
* Add ReceivedCharacter window event examples
2020-11-06 17:15:56 -08:00
Carter Anderson
9224983897
upgrade glam and hexasphere ( #794 )
2020-11-06 17:11:32 -08:00
Rob
06f95e9982
Fixed several typos. ( #806 )
...
* Fixed common typo in several struct names.
* Fixed minor doc typos.
2020-11-06 17:11:12 -08:00
Chrs Msln
35d4fca0d0
[gltf] Support camera and fix hierarchy ( #772 )
...
[gltf] Support camera and fix hierarchy
2020-11-06 17:08:15 -08:00
Lukas Wirth
fb7c651ab9
Port hecs derive macro improvements ( #761 )
...
* Port derive macro changes from hecs
* Emit more info on duplicate components in archetype creation
2020-11-06 13:20:53 -08:00
Carter Anderson
26be22e73c
fix unit test ( #802 )
2020-11-06 12:49:20 -08:00
Guillaume DALLENNE
5bd6deb974
Add mutated state when inserting an already existing component ( #404 )
...
Add mutated state when inserting an already existing component
2020-11-04 17:51:54 -08:00
Carter Anderson
1aa832be1d
fix unsafe Query function names ( #785 )
2020-11-03 14:10:29 -08:00
Carter Anderson
9afe196f16
release: 0.3.0 ( #783 )
2020-11-03 13:34:00 -08:00
memoryruins
e21705bec6
Remove two unused deps ( #780 )
2020-11-03 11:38:37 -08:00
David Ackerman
7efb1b1887
Fix initial Android support ( #778 )
...
* Add force touches, fix ui focus system and touch screen system
* Fix examples README. Update rodio with Android support. Add Android build CI
* Alter android metadata in root Cargo.toml
2020-11-03 11:32:48 -08:00
Carter Anderson
2e2fa4fef4
make Mesh::attribute() immutable ( #774 )
2020-11-02 22:54:20 -08:00
Carter Anderson
66f2f76a18
rename add_plugin_group to add_plugins ( #773 )
2020-11-02 19:01:17 -08:00
Nathan Stocks
9871e7e24b
Remove add_default_plugins and add MinimalPlugins for simple "headless" scenarios ( #767 )
...
Remove add_default_plugins and add MinimalPlugins for simple "headless" scenarios
2020-11-02 18:38:37 -08:00
Nathan Stocks
2f87ff6618
Move ElementState to top-level of bevy_input. Resolves #687 . ( #769 )
2020-11-02 18:16:13 -08:00
Nicholas Rishel
53c4c45eca
Use embedded glslang for runtime glsl-to-spirv and add Android example ( #740 )
...
Use embedded glslang for runtime glsl-to-spirv and add Android example
2020-11-02 16:30:30 -08:00
Carter Anderson
44b3e24e32
fix mesh allocation bug and public mesh api improvements ( #768 )
2020-11-02 13:15:07 -08:00
memoryruins
f81208adaa
impl ReadOnlyFetch for Or, FetchOr, and FetchMutated ( #763 )
2020-11-01 16:51:51 -08:00
simlay
9cc6368b28
An initial xcode setup for using xcode ( #539 )
...
An example of bevy using xcode
2020-10-31 14:36:24 -07:00
Julian Heinken
4645da30c8
Mesh overhaul with custom vertex attributes #592 ( #599 )
...
Mesh overhaul with custom vertex attributes
2020-10-30 19:21:53 -07:00
Carter Anderson
ad940fbf6e
Rename query.entity() to query.get() and query.get() to query.get_component() ( #752 )
2020-10-30 18:04:33 -07:00
tigregalis
ff626f2f6f
fix wavy text ( #725 )
...
fix wavy text
Co-authored-by: Carter Anderson <mcanders1@gmail.com>
2020-10-30 16:29:24 -07:00
Oscar
b6004e44cf
Local resources don't create if already present ( #745 )
...
Local<T> will no longer insert the inner resource if it already exists.
2020-10-30 12:21:57 -07:00
Boxy
dea05e9af5
Remove unsound cast in thread local resources ( #749 )
...
* Remove unsound cast in thread local resources
* Make ResourceRef(Mut)::new impossible to cause unsoundness with
2020-10-30 11:43:39 -07:00
Carter Anderson
1d4a95db62
ecs: ergonomic query.iter(), remove locks, add QuerySets ( #741 )
2020-10-29 23:39:55 -07:00
Alex Hirsch
1b051d3353
Add SamplerDescriptor to Texture ( #399 ) ( #747 )
...
GLTF loader now grabs (some) sampler information from the respective
GLTF sampler struct.
2020-10-29 14:22:45 -07:00
Utkarsh
fb2b19def5
Fix bug of connection event of gamepad at startup ( #730 )
...
* Removed f32==f32 comparision in gamepad.rs
* Trigger gamepad connection event at start up
2020-10-29 13:55:35 -07:00
SvenTS
7734b1ea6d
Fix PreviousParent lag by merging parent update systems ( #713 )
...
* Sync previous parent in parent_update_system
* Previous parent does not need to be an option now
* Remove previous parent after parent deletion
2020-10-29 13:54:29 -07:00
Carter Anderson
bf2a917b81
app: PluginGroups and DefaultPlugins ( #744 )
2020-10-29 13:04:28 -07:00
David Ackerman
0cddeed1c0
Add support for android file system ( #723 )
...
Add support for android file system
2020-10-28 17:08:33 -07:00
Freya
040b8f72b3
Optimize returns in file_asset_io.rs and entities.rs ( #728 )
...
Optimize returns in file_asset_io.rs and entities.rs
2020-10-28 16:59:45 -07:00
Boxy
8c053e7c67
Run app.initialize in the run_once runner ( #736 )
2020-10-28 16:43:17 -07:00
Carter Anderson
a6ac8faa8a
port upstream hecs performance improvements ( #716 )
2020-10-22 11:53:59 -07:00
CGMossa
58eb7e7e05
Documenting small things here and there.. ( #706 )
...
Documenting small things here and there..
2020-10-21 15:57:03 -07:00
Carter Anderson
267599e577
gamepad: expose raw and filtered gamepad events. ( #711 )
2020-10-21 15:56:07 -07:00
Mariusz Kryński
894cc5e40a
fix getrandom ( #712 )
2020-10-21 15:55:35 -07:00
Mariusz Kryński
677cb1fc67
fix wasm assets ( #714 )
...
fix wasm assets
2020-10-21 15:55:15 -07:00
Utkarsh
d01ba9e4fc
Separate gamepad state code from gamepad event code and other customizations ( #700 )
...
Separated gamepad event and gamepad state code and made gamepad input more customizable
2020-10-21 10:27:00 -07:00
James R
0f43fb066f
update glam ( #707 )
2020-10-20 12:31:49 -07:00
lee-orr
0dba0fe45f
add flag for low power gpu as default ( #397 )
2020-10-20 11:47:10 -07:00
Dashiell Elliott
0dbba3efff
Migrate to rodio 0.12 using thread local resources ( #692 )
...
Migrate to rodio 0.12 using thread local resources
2020-10-20 11:44:50 -07:00
dependabot[bot]
67f87e1d2b
Update ahash requirement from 0.4.5 to 0.5.3 ( #704 )
...
Updates the requirements on [ahash](https://github.com/tkaitchuck/ahash ) to permit the latest version.
- [Release notes](https://github.com/tkaitchuck/ahash/releases )
- [Commits](https://github.com/tkaitchuck/ahash/commits )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-19 18:24:50 -07:00
Carter Anderson
f88cfabdde
asset: WasmAssetIo ( #703 )
...
asset: WasmAssetIo
2020-10-19 17:29:31 -07:00
tigregalis
03bc5d7fdd
two-way conversions between Color
-Vec4
and Color
-[f32; 4]
( #688 )
...
two-way conversions between `Color`-`Vec4` and `Color`-`[f32; 4]` - use `impl From` instead of `impl Into`
2020-10-19 12:37:15 -07:00
Carter Anderson
c32e637384
Asset system rework and GLTF scene loading ( #693 )
2020-10-18 13:48:15 -07:00
Carter Anderson
a602f50c2c
small input example improvements ( #701 )
2020-10-18 13:20:42 -07:00
Marek Legris
5acebed731
Transform and GlobalTransform are now Similarities ( #596 )
...
Transform and GlobalTransform are now Similarities.
This resolves precision errors and simplifies the api
Co-authored-by: Carter Anderson <mcanders1@gmail.com>
2020-10-18 13:03:16 -07:00
Tomasz Sterna
149c39950a
Runners explicitly call App.initialize() ( #690 )
2020-10-18 12:25:33 -07:00
Sergey Minakov
a80469bd13
Touch support implementation ( #696 )
...
Adds a basic touch input system
2020-10-18 12:24:01 -07:00
Alex
d004bce0c9
Added basic mouse capture API ( #679 )
...
Added basic cursor lock API
2020-10-16 14:07:01 -07:00
David Ackerman
7ba45849f3
Add default for texture format ( #675 )
2020-10-16 11:44:31 -07:00
Mariusz Kryński
fccfa12d3b
do not depend on spirv on wasm target ( #689 )
...
do not use spirv for wasm target
2020-10-16 11:12:55 -07:00