mirror of
https://github.com/bevyengine/bevy
synced 2024-12-21 18:43:07 +00:00
f512c853d7
See #3165 and #3175 # Objective - @superdump was having trouble with this loop in the GLTF loader. ## Solution - Make it probably linear. - Measured times: - Old: 40s, new: 200ms I think there's still room for improvement. For example, I think making the nodes be in `Arc`s could be a significant gain, since currently there's duplication all the way down the tree. Co-authored-by: Carter Anderson <mcanders1@gmail.com>
36 lines
1.4 KiB
TOML
36 lines
1.4 KiB
TOML
[package]
|
|
name = "bevy_gltf2"
|
|
version = "0.5.0"
|
|
edition = "2021"
|
|
authors = [
|
|
"Bevy Contributors <bevyengine@gmail.com>",
|
|
"Carter Anderson <mcanders1@gmail.com>",
|
|
]
|
|
description = "Bevy Engine GLTF loading"
|
|
homepage = "https://bevyengine.org"
|
|
repository = "https://github.com/bevyengine/bevy"
|
|
license = "MIT OR Apache-2.0"
|
|
keywords = ["bevy"]
|
|
|
|
[dependencies]
|
|
# bevy
|
|
bevy_app = { path = "../../crates/bevy_app", version = "0.5.0" }
|
|
bevy_asset = { path = "../../crates/bevy_asset", version = "0.5.0" }
|
|
bevy_core = { path = "../../crates/bevy_core", version = "0.5.0" }
|
|
bevy_ecs = { path = "../../crates/bevy_ecs", version = "0.5.0" }
|
|
bevy_pbr2 = { path = "../bevy_pbr2", version = "0.5.0" }
|
|
bevy_reflect = { path = "../../crates/bevy_reflect", version = "0.5.0", features = ["bevy"] }
|
|
bevy_render2 = { path = "../bevy_render2", version = "0.5.0" }
|
|
bevy_transform = { path = "../../crates/bevy_transform", version = "0.5.0" }
|
|
bevy_utils = { path = "../../crates/bevy_utils", version = "0.5.0" }
|
|
bevy_math = { path = "../../crates/bevy_math", version = "0.5.0" }
|
|
bevy_scene = { path = "../../crates/bevy_scene", version = "0.5.0" }
|
|
bevy_log = { path = "../../crates/bevy_log", version = "0.5.0" }
|
|
|
|
# other
|
|
gltf = { version = "0.16.0", default-features = false, features = ["utils", "names", "KHR_materials_unlit"] }
|
|
thiserror = "1.0"
|
|
anyhow = "1.0.4"
|
|
base64 = "0.13.0"
|
|
percent-encoding = "2.1"
|
|
wgpu = "0.11.0"
|