Replace Kiss3d by Bevy for the testbed renderer.
This commit is contained in:
@@ -27,7 +27,6 @@ other-backends = [ "wrapped2d", "nphysics2d" ]
|
||||
|
||||
[dependencies]
|
||||
nalgebra = { version = "0.26", features = [ "rand" ] }
|
||||
kiss3d = { version = "0.31", features = [ "conrod" ] }
|
||||
rand = "0.8"
|
||||
rand_pcg = "0.3"
|
||||
instant = { version = "0.1", features = [ "web-sys", "now" ]}
|
||||
@@ -42,6 +41,18 @@ bincode = "1"
|
||||
Inflector = "0.11"
|
||||
md5 = "0.7"
|
||||
|
||||
bevy_egui = "0.4"
|
||||
bevy-orbit-controls = "2"
|
||||
|
||||
# Dependencies for native only.
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||
bevy = {version = "0.5", default-features = false, features = ["bevy_wgpu", "bevy_winit", "render", "x11"]}
|
||||
|
||||
# Dependencies for WASM only.
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
bevy = {version = "0.5", default-features = false, features = ["bevy_winit", "render"]}
|
||||
bevy_webgl2 = "0.5"
|
||||
|
||||
[dependencies.rapier2d]
|
||||
path = "../rapier2d"
|
||||
version = "0.8"
|
||||
|
||||
Reference in New Issue
Block a user