[][src]Module rapier3d::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.

SIMD_LAST_INDEX

SIMD_WIDTH - 1

SIMD_WIDTH

The number of lanes of a SIMD number.

Type Definitions

AngDim

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

AngVector

An axis-angle vector 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 3D isometry, i.e., a rotation followed by a translation.

Matrix

A 3x3 matrix.

Point

A 3D point.

PrincipalAngularInertia

The principal angular inertia of a rigid body.

Rotation

A 3D rotation expressed as an unit quaternion.

SdpMatrix

A 3D symmetric-definite-positive matrix.

SimdBool

A SIMD bool with SIMD_WIDTH lanes.

SimdFloat

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.

Translation

A 3D translation.

Vector

A 3D vector.