Module crayon::prelude [] [src]

Reexports

pub use math::prelude::*;
pub use ecs;
pub use ecs::Entity;
pub use ecs::Component;
pub use ecs::World;
pub use ecs::VecArena;
pub use ecs::HashMapArena;
pub use ecs::Arena;
pub use ecs::ArenaMut;
pub use resource;
pub use application::Application;
pub use application::Context;
pub use application::FrameInfo;
pub use application::TimeSystem;
pub use application::Settings;
pub use application::errors;
pub use application::event;
pub use application::time;
pub use graphics;
pub use graphics::GraphicsSystem;
pub use input;
pub use utils;

Modules

math

A low-dimensional linear algebra library, targeted at computer graphics.

Structs

Color

A RGBA Color. Each color component is a floating point value with a range from 0 to 1.

Engine

Engine is the root object of the game application. It binds various sub-systems in a central place and takes take of trivial tasks like the execution order or life-time management.

InputSystem

The InputSystem struct are used to manage all the events and corresponding internal states.

Location

A Location describes where the source data for a resource is located. It usually contains a Path that can be resolved to an URI. Locations are also used for sharing. If 2 Locations are completely identical, they identify the same resource.

Rect

A rectangle, with top-left corner at min, and bottom-right corner at max.

ResourceSystem

Takes care of loading data asynchronously through pluggable filesystems.

Traits

MathTransform

A trait representing an affine transformation that can be applied to points or vectors. An affine transformation is one which