Skip to content

Commit

Permalink
Upstream CorePlugin from bevy_mod_picking (bevyengine#13677)
Browse files Browse the repository at this point in the history
This is the first of a series of PRs intended to begin the upstreaming
process for `bevy_mod_picking`. The purpose of this PR is to:
+ Create the new `bevy_picking` crate
+ Upstream `CorePlugin` as `PickingPlugin`
+ Upstream the core pointer and backend abstractions.

This code has been ported verbatim from the corresponding files in
[bevy_picking_core](https://github.com/aevyrie/bevy_mod_picking/tree/main/crates/bevy_picking_core/src)
with a few tiny naming and docs tweaks.

The work here is only an initial foothold to get the up-streaming
process started in earnest. We can do refactoring and improvements once
this is in-tree.

---------

Co-authored-by: Aevyrie <aevyrie@gmail.com>
Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
  • Loading branch information
3 people authored and knutsoned committed Jun 25, 2024
1 parent 65aa6a4 commit bfde083
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions crates/bevy_internal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,9 @@ bevy_picking = ["dep:bevy_picking"]
# Enable support for the Bevy Remote Protocol
bevy_remote = ["dep:bevy_remote"]

# Provides a picking functionality
bevy_picking = ["dep:bevy_picking"]

# Enable support for the ios_simulator by downgrading some rendering capabilities
ios_simulator = ["bevy_pbr?/ios_simulator", "bevy_render?/ios_simulator"]

Expand Down Expand Up @@ -227,19 +230,13 @@ bevy_gizmos = { path = "../bevy_gizmos", optional = true, version = "0.14.0-dev"
bevy_gltf = { path = "../bevy_gltf", optional = true, version = "0.14.0-dev" }
bevy_pbr = { path = "../bevy_pbr", optional = true, version = "0.14.0-dev" }
bevy_picking = { path = "../bevy_picking", optional = true, version = "0.14.0-dev" }
bevy_remote = { path = "../bevy_remote", optional = true, version = "0.14.0-dev" }
bevy_render = { path = "../bevy_render", optional = true, version = "0.14.0-dev" }
bevy_scene = { path = "../bevy_scene", optional = true, version = "0.14.0-dev" }
bevy_sprite = { path = "../bevy_sprite", optional = true, version = "0.14.0-dev" }
bevy_text = { path = "../bevy_text", optional = true, version = "0.14.0-dev" }
bevy_ui = { path = "../bevy_ui", optional = true, version = "0.14.0-dev" }
bevy_winit = { path = "../bevy_winit", optional = true, version = "0.14.0-dev" }
<<<<<<< HEAD
=======
bevy_gilrs = { path = "../bevy_gilrs", optional = true, version = "0.14.0-dev" }
bevy_gizmos = { path = "../bevy_gizmos", optional = true, version = "0.14.0-dev", default-features = false }
bevy_dev_tools = { path = "../bevy_dev_tools", optional = true, version = "0.14.0-dev" }
bevy_remote = { path = "../bevy_remote", optional = true, version = "0.14.0-dev" }
>>>>>>> a1884a35c (Implement the Bevy Remote Protocol (BRP).)

[lints]
workspace = true
Expand Down

0 comments on commit bfde083

Please sign in to comment.