Module collision::primitive [] [src]

Collision primitives

Structs

Circle

Circle primitive

ConvexPolygon

Convex polygon primitive.

ConvexPolyhedron

Convex polyhedron primitive.

Cuboid

Cuboid primitive.

Particle

Represents a particle in space.

Rectangle

Rectangle primitive.

Sphere

Sphere primitive

Enums

Primitive2

Wrapper enum for 2D primitives, that also implements the Primitive trait, making it easier to use many different primitives in algorithms.

Primitive3

Wrapper enum for 3D primitives, that also implements the Primitive trait, making it easier to use many different primitives in algorithms.

Type Definitions

Particle2

2D particle

Particle3

3D particle