[][src]Module rapier2d::math

Math primitives used throughout Rapier.

Constants

DIM

The dimension of the physics simulated by this crate.

MAX_MANIFOLD_POINTS

The maximum number of point a contact manifold can hold.

Type Definitions

AngDim

The maximum number of angular degrees of freedom of a rigid body given as a type-level-integer.

AngVector

A scalar used for angular velocity.

AngularInertia

The angular inertia of a rigid body.

CrossMatrix

A matrix that represent the cross product with a given vector.

Dim

The dimension of the physics simulated by this crate, given as a type-level-integer.

Isometry

A 2D isometry, i.e., a rotation followed by a translation.

Matrix

A 2x2 matrix.

Point

A 2D point.

PrincipalAngularInertia

The principal angular inertia of a rigid body.

Rotation

A 2D rotation expressed as an unit complex number.

SdpMatrix

A 2D symmetric-definite-positive matrix.

SpacialVector

A vector with a dimension equal to the maximum number of degrees of freedom of a rigid body.

Translation

A 2D translation.

Vector

A 2D vector.