
We have acquired [bevy.org](https://bevy.org) and the migration has finished! Meaning we can now update all of the references in this repo.
55 lines
1.3 KiB
Rust
55 lines
1.3 KiB
Rust
#![doc = include_str!("../README.md")]
|
|
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
|
|
#![doc(
|
|
html_logo_url = "https://bevy.org/assets/icon.png",
|
|
html_favicon_url = "https://bevy.org/assets/icon.png"
|
|
)]
|
|
#![no_std]
|
|
|
|
#[cfg(feature = "std")]
|
|
extern crate std;
|
|
|
|
#[cfg(feature = "alloc")]
|
|
extern crate alloc;
|
|
|
|
#[cfg(feature = "bevy-support")]
|
|
pub mod commands;
|
|
/// The basic components of the transform crate
|
|
pub mod components;
|
|
|
|
/// Transform related traits
|
|
pub mod traits;
|
|
|
|
/// Transform related plugins
|
|
#[cfg(feature = "bevy-support")]
|
|
pub mod plugins;
|
|
|
|
/// [`GlobalTransform`]: components::GlobalTransform
|
|
/// Helpers related to computing global transforms
|
|
#[cfg(feature = "bevy-support")]
|
|
pub mod helper;
|
|
/// Systems responsible for transform propagation
|
|
#[cfg(feature = "bevy-support")]
|
|
pub mod systems;
|
|
|
|
/// The transform prelude.
|
|
///
|
|
/// This includes the most common types in this crate, re-exported for your convenience.
|
|
#[doc(hidden)]
|
|
pub mod prelude {
|
|
#[doc(hidden)]
|
|
pub use crate::components::*;
|
|
|
|
#[cfg(feature = "bevy-support")]
|
|
#[doc(hidden)]
|
|
pub use crate::{
|
|
commands::BuildChildrenTransformExt,
|
|
helper::TransformHelper,
|
|
plugins::{TransformPlugin, TransformSystems},
|
|
traits::TransformPoint,
|
|
};
|
|
}
|
|
|
|
#[cfg(feature = "bevy-support")]
|
|
pub use prelude::{TransformPlugin, TransformPoint, TransformSystems};
|