Crate ami[][src]

Aldaron's Memory Interface

Aldaron's Memory Interface provides data structures and casting macros.

Features

ami's current features:

  • Casting pointers with the cast!() and cast_mut!() macros
  • Provide geometrical data structs, an do math with them
  • Automatic-size-adjusting octree

Re-exports

pub use euler::*;

Macros

cast

Cast a constant pointer to another type.

cast_mut

Cast a mutable pointer to another type.

dmat2

Double-precision 2x2 matrix macro constructor.

dmat3

Double-precision 3x3 matrix macro constructor.

dmat4

Double-precision 4x4 matrix macro constructor.

dquat

Double-precision quaternion macro constructor.

dvec2

Double-precision 2D vector macro constructor.

dvec3

Double-precision 3D vector macro constructor.

dvec4

Double-precision 4D vector macro constructor.

mat2

Single-precision 2x2 matrix macro constructor.

mat3

Single-precision 3x3 matrix macro constructor.

mat4

Single-precision 4x4 matrix macro constructor.

quat

Single-precision quaternion macro constructor.

vec2

Single-precision 2D vector macro constructor.

vec3

Single-precision 3D vector macro constructor.

vec4

Single-precision 4D vector macro constructor.

Structs

BBox

Bounding box

BCube

Bounding cube

Child

A structure that is owned by a Parent.

Frustum

A Frustum

Id

A 32-bit index value.

Octree

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

Parent

A structure that has ownership on Childs

Plane

A Plane

Traits

Collider

Collider has bounding box and id.

PseudoDrop

A trait for the drop method of a child type, where it can access it's parent