logo

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

4x4 matrix macro constructor.

3D vector macro constructor.

Structs

Single-precision bounding box

Single-precision bounding cube

Single-precision frustum

A 32-bit index value.

4x4 Matrix.

An octree is a DAG that can quickly search for points in 3D space.

Single-precision plane

Single-precision quaternion.

Single-precision 3D vector.

Traits

Collider has bounding box and id.