Files
raea/systems/copies/Cargo.toml
shinyobjectz 86b5e813f8 FC1a: an <Instances>' copies move to raea-sys-copies (systems/copies)
The copy machinery (a copy's markers, its bare spawn, a part's material components found by type path, a mesh's
copies with its materials cloned as handles or with a colour a copy over one TintMaterial, a model's scene copied
placement by placement with a shader cover's link) is its own crate, which knows no rows; runtime/scene3d's
instance.rs reads the rows and calls it. raea-runtime-scene3d is back to 2000 lines. Tests:
a_models_shaded_parts_are_copied_with_their_surface, a_models_part_with_no_material_is_refused (moved).
2026-11-17 19:52:34 -08:00

15 lines
736 B
TOML

[package]
name = "raea-sys-copies"
version = "0.1.0"
edition = "2024"
license = "FSL-1.1-ALv2"
publish = false
description = "An <Instances>' copies (runtime/scene3d instance.rs): a mesh's or a model's parts spawned under a parent at each placement, sharing their source's mesh and material handles so Bevy batches the set"
[dependencies]
# a copy with a colour of its own: one TintMaterial over the standard one, the copy's number in its MeshTag
raea-sys-material = { path = "../material" }
# a part under a shader cover keeps the link that makes its surface follow the standard one
raea-sys-shader = { path = "../shader" }
bevy = { version = "=0.20.0", default-features = false, features = ["std", "default_app", "3d_bevy_render"] }