[][src]Module collision::primitive

Collision primitives

Structs

Capsule

Capsule primitive Capsule body is aligned with the Y axis, with local origin in the center of the capsule.

Circle

Circle primitive

ConvexPolygon

Convex polygon primitive.

ConvexPolyhedron

Convex polyhedron primitive.

Cube

Cuboid primitive.

Cuboid

Cuboid primitive.

Cylinder

Cylinder primitive Cylinder body is aligned with the Y axis, with local origin in the center of the cylinders.

Particle

Represents a particle in space.

Quad

Rectangular plane primitive. Will lie on the xy plane when not transformed.

Rectangle

Rectangle primitive.

Sphere

Sphere primitive

Square

Square 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