Module rapier3d::math[][src]

Elementary mathematical entities (vectors, matrices, isometries, etc).

Constants

DEFAULT_EPSILON

The default tolerance used for geometric operations.

DIM

The dimension of the space.

MAX_MANIFOLD_POINTS

Max number of pairs of contact points from the same contact manifold that can be solved as part of a single contact constraint.

SIMD_LAST_INDEX

SIMD_WIDTH - 1

SIMD_WIDTH

The number of lanes of a SIMD number.

Type Definitions

AngDim

The dimension of the rotations.

AngVector

The angular vector type.

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 ambient space.

Isometry

The transformation matrix type.

Matrix

The matrix type.

Orientation

The orientation type.

Point

The point type.

PrincipalAngularInertia

The principal angular inertia of a rigid body.

Real

The scalar type used throughout this crate.

Rotation

The rotation matrix type.

SdpMatrix

A 3D symmetric-definite-positive matrix.

SimdBool

A SIMD bool with SIMD_WIDTH lanes.

SimdReal

A SIMD float with SIMD_WIDTH lanes.

SpacialVector

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

SpatialDim

The dimension of a spatial vector.

SpatialVector

The vector type with dimension SpatialDim × 1.

Translation

The translation type.

Vector

The vector type.