gemini_engine/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#![doc = include_str!("../README.md")]
//!
//! ## Crate Structure
//! This library is made up of several modules:
//! - [`core`] declares the relationship between any [`Canvas`](core::Canvas) (an object that can be drawn to) and the library's primitives and anything else that can be drawn to the screen.
//! - [`view`] defines the [`View`](view::View), a [`Canvas`](core::Canvas) capable of displaying
//! - [`ascii`], [`containers`] and [`primitives`] which all offer different ways to draw to a [`Canvas`](core::Canvas). [`containers`] also has a basic collision library!
//! - [`mesh3d`] and [`view3d`], which hold the [`Mesh3d`](mesh3d::Mesh3D) and [`Viewport`](view3d::Viewport) objects respectively, and handle everything 3D-related. [`Viewport`](view3d::)

pub mod ascii;
pub mod containers;
pub mod core;
pub mod primitives;
pub mod view;

#[cfg(feature = "gameloop")]
pub mod gameloop;

#[cfg(feature = "3D")]
pub mod mesh3d;
#[cfg(feature = "3D")]
pub mod view3d;