Crate ami

Source
Expand description

§Aldaron’s Memory Interface

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::*;

Macros§

matrix
4x4 matrix macro constructor.
vector
3D vector macro constructor.

Structs§

BBox
Single-precision bounding box
BCube
Single-precision bounding cube
Frustum
Single-precision frustum
Id
A 32-bit index value.
Matrix
4x4 Matrix.
Octree
An octree is a DAG that can quickly search for points in 3D space.
Plane
Single-precision plane
Rotation
Single-precision quaternion.
Vector
Single-precision 3D vector.

Traits§

Collider
Collider has bounding box and id.