mirror of
https://github.com/bevyengine/bevy
synced 2025-01-07 18:58:58 +00:00
76d12fa2b3
# Objective Part of https://github.com/bevyengine/bevy/issues/13529 Helps https://github.com/bevyengine/bevy/pull/13533 Splitting up `bevy_transform` makes it easier to selectively include or exclude parts of it in such a way that it's possible to include only a small part with a small dependency tree. ## Solution Make the crate more modular. --------- Signed-off-by: Torstein Grindvik <torstein.grindvik@muybridge.com> Co-authored-by: Torstein Grindvik <torstein.grindvik@muybridge.com>
38 lines
971 B
Rust
38 lines
971 B
Rust
#![doc = include_str!("../README.md")]
|
|
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
|
|
#![doc(
|
|
html_logo_url = "https://bevyengine.org/assets/icon.png",
|
|
html_favicon_url = "https://bevyengine.org/assets/icon.png"
|
|
)]
|
|
|
|
pub mod commands;
|
|
/// The basic components of the transform crate
|
|
pub mod components;
|
|
|
|
/// Transform related bundles
|
|
pub mod bundles;
|
|
|
|
/// Transform related traits
|
|
pub mod traits;
|
|
|
|
/// Transform related plugins
|
|
pub mod plugins;
|
|
|
|
/// Helpers related to computing global transforms
|
|
pub mod helper;
|
|
/// Systems responsible for transform propagation
|
|
pub mod systems;
|
|
|
|
#[doc(hidden)]
|
|
pub mod prelude {
|
|
#[doc(hidden)]
|
|
pub use crate::components::*;
|
|
|
|
#[doc(hidden)]
|
|
pub use crate::{
|
|
bundles::TransformBundle, commands::BuildChildrenTransformExt, helper::TransformHelper,
|
|
plugins::TransformPlugin, plugins::TransformSystem, traits::TransformPoint,
|
|
};
|
|
}
|
|
|
|
pub use prelude::{TransformPlugin, TransformPoint, TransformSystem};
|