Crate ami [] [src]

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

Macros

cast

Cast a constant pointer to another type.

cast_mut

Cast a mutable pointer to another type.

Structs

BBox

Bounding box

BCube

Bounding cube

Child

A structure that is owned by a Parent.

Frustum

A Frustum

Id

Id is a reverse order u32 (0 is bigger than 1).

Mat4

A 4x4 Matrix

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

Vec2

2-dimensional vector

Vec3

3-dimensional vector

Vec4

4-dimensional vector

Constants

IDENTITY

A no-op transform (identity matrix).

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