[−][src]Crate all_is_cubes
All is Cubes is a game/engine for worlds made of cubical blocks, where the blocks are themselves made of “smaller” blocks that define their appearance and behavior.
This crate defines the world model, simulation rules, rendering, and in-game user interface. Glue for displaying on specific platforms is kept in other crates.
Re-exports
pub use cgmath; |
Modules
apps | Components for "apps", or game clients: user interface and top-level state. |
block | Definition of blocks, which are game objects which live in the grid of a
|
blockgen | Procedural block generation tools. |
camera | Miscellaneous display and player-character stuff. |
content | Built-in content: either demos or basic shapes and colors used in the UI. |
drawing | Draw 2D graphics into spaces and blocks, including text, using an adapter for the
|
linking | Storing and accessing definitions of standard blocks in a |
listen | Mechanism for receiving notifications of state changes. |
lum | Algorithms for rendering content using the |
math | Mathematical utilities and decisions. |
physics | Continuously moving objects and collision. |
raycast | Algorithm for raycasting through voxel grids. |
raytracer | Raytracer for |
space | That which contains many blocks. |
triangulator | Algorithms for converting blocks/voxels to triangle-based rendering (as opposed to raytracing, voxel display hardware, or whatever else). |
universe | Top-level game state container. |
util | Tools that we could imagine being in the Rust standard library, but aren't. |
vui | Voxel User Interface. |
worldgen | Procedural world generation. |
Macros
rgb_const | Allows writing a constant |
rgba_const | Allows writing a constant |