Skip to main content

concinnity_core/sky/
mod.rs

1//! The rotating celestial sphere: the orientation a world's
2//! [`SkyRotation`](crate::components::SkyRotation) is at this tick, and the
3//! system that advances it.
4//!
5//! One rotation drives every consumer, so the sky, the image-based lighting it
6//! provides, the directional lights, and the props hung on it never disagree:
7//! the environment cubes are sampled through it, each directional light's
8//! authored direction is turned by it, and the component's own entity carries
9//! it as a transform for the hierarchy to compose.
10
11mod orientation;
12mod system;
13
14pub use orientation::SkyOrientation;
15pub use system::SkyRotationSystem;