feat: added a camera with orthographic projection and did some work restructuring the comet_app to make the setup system optional. Input handling is moved to the app

This commit is contained in:
lisk77 2024-11-13 03:33:02 +01:00
parent 780365aeb8
commit 5a9f632e3a
22 changed files with 1173 additions and 349 deletions

View file

@ -26,7 +26,8 @@ instant = "0.1"
image = { version = "0.24", default_features = false, features = ["png", "jpeg", "hdr"] }
chrono = "0.4.38"
colored = "2.1.0"
winit_input_helper = "0.16.0"
spin_sleep = "1.2.1"
[build-dependencies]
anyhow = "1.0"
@ -43,7 +44,7 @@ members = [
"./crates/comet_ecs",
"./crates/comet_input",
"./crates/comet_log"
]
, "crates/comet_ui"]
[workspace.dependencies]
comet_app = { path = "./crates/comet_app", workspace = true }
@ -53,4 +54,4 @@ comet_renderer = { path = "./crates/comet_renderer", workspace = true }
comet_resources = { path = "./crates/comet_resources", workspace = true }
comet_ecs = { path = "./crates/comet_ecs", workspace = true }
comet_input = { path = "./crates/comet_input", workspace = true }
comet_log = { path = "./crates/comet_log", workspace = true }
comet_log = { path = "./crates/comet_log", workspace = true }