[][src]Module deathframe::geo

This module includes some miscellaneous stuff related to geography (or algebra, not sure what to call it exactly).

Modules

prelude

Structs

CollisionGrid

A collection of CollisionRect, can perform collision detection.

CollisionRect

A rectangular collision area with a unique entity ID. Can also hold optional custom data.

CollisionRectBuilder

Builder struct for CollisionRect.

Rect

A Rect is simply an area. It has positions bounding sides (top, bottom, left, right).

RectBuilder

The builder struct for Rect.

Vector

Enums

Anchor

Anchor points. Used with some components, where specifying which anchor point is used is necessary.

Axis

Just a plain Axis enum with X and Y variants.

Side

Miscellaneous Side enum. Used somewhere related to collision detection.