uses target translation for camera movement (prevent hard hit when moving beyond lower margin)

This commit is contained in:
Nixon 2022-08-26 17:08:49 +08:00 committed by tuxmain
parent 1a30718c9d
commit f607a52826
2 changed files with 2 additions and 0 deletions

1
Cargo.lock generated
View file

@ -1313,6 +1313,7 @@ dependencies = [
"parking_lot 0.12.1", "parking_lot 0.12.1",
"stdweb", "stdweb",
"thiserror", "thiserror",
"wasm-bindgen",
"web-sys", "web-sys",
"windows", "windows",
] ]

View file

@ -24,6 +24,7 @@ serde_json = "1.0.85"
ticktock = "0.8.0" ticktock = "0.8.0"
[target."cfg(target_arch = \"wasm32\")".dependencies] [target."cfg(target_arch = \"wasm32\")".dependencies]
cpal = { version = "0.14.0", features = ["wasm-bindgen"] }
[profile.dev.package."*"] [profile.dev.package."*"]
opt-level = 3 opt-level = 3