1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
// "ami" - Aldaron's Memory Interface
//
// Copyright Douglas P. Lau 2017.
// Copyright Jeron A. Lau 2017 - 2018.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)
//
//! # [Aldaron's Memory Interface](https://crates.io/crates/ami)
//! Aldaron's Memory Interface provides useful data structures that are not in
//! the standard library.
//! 
//! ## Features
//! **ami**'s current features:
//! * Provide geometrical data structs, and do math with them
//! * Automatic-size-adjusting octree
//!
//! ## Getting started
//! ```
//! extern crate ami;
//! use ami::prelude::*;
//! ```

#![warn(missing_docs)]
#![doc(
	html_logo_url = "https://plopgrizzly.com/ami/icon.png",
	html_favicon_url = "https://plopgrizzly.com/ami/icon.png",
	html_root_url = "http://plopgrizzly.com/ami/"
)]

#[macro_use]
extern crate euler;

#[doc(hidden)]
pub mod prelude;

mod bbox;
mod bcube;
mod frustum;
mod octree;
mod plane;
mod collider;

pub use bcube::BCube;
pub use bbox::BBox;
pub use frustum::Frustum;
pub use octree::{ Octree, Id };
pub use plane::Plane;
pub use collider::Collider;

pub use euler::{ Mat2, Mat3, Mat4, Quat, Trs, Vec2, Vec3, Vec4 };