Module collider::geom [] [src]

Module containing geometry primitives.

Structs

DirVec2

A 2-D vector that separates direction from length.

PlacedShape

Represents a shape with a position.

Shape

Represents a shape, without any position.

Vec2

A 2-D Cartesian vector using finite f64 values.

Enums

ShapeKind

Enumeration of kinds of shapes used by Collider.

Functions

vec2

Shorthand for invoking the Vec2 constructor.