Skip to content

Commit

Permalink
Added function for converting between screen and world space
Browse files Browse the repository at this point in the history
  • Loading branch information
anchpop committed Apr 2, 2021
1 parent f520a34 commit c22b434
Show file tree
Hide file tree
Showing 13 changed files with 711 additions and 96 deletions.
8 changes: 8 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,19 @@ path = "examples/2d/text2d.rs"
name = "texture_atlas"
path = "examples/2d/texture_atlas.rs"

[[example]]
name = "mouse_tracking"
path = "examples/2d/mouse_tracking.rs"

# 3D Rendering
[[example]]
name = "3d_scene"
path = "examples/3d/3d_scene.rs"

[[example]]
name = "screen_to_world"
path = "examples/3d/screen_to_world.rs"

[[example]]
name = "load_gltf"
path = "examples/3d/load_gltf.rs"
Expand Down
15 changes: 15 additions & 0 deletions crates/bevy_geometry/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[package]
name = "bevy_geometry"
version = "0.4.0"
authors = [
"Bevy Contributors <bevyengine@gmail.com>",
"Aevyrie Roessler <aevyrie@gmail.com>",
]
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
bevy_transform = { path = "../bevy_transform", version = "0.4.0" }
bevy_math = { path = "../bevy_math", version = "0.4.0" }
bevy_reflect = { path = "../bevy_reflect", version = "0.4.0", features = ["bevy"] }
Loading

0 comments on commit c22b434

Please sign in to comment.