Module physics2d::math [] [src]

Structs

Mat2

A square matrix of order 2.

Vec2

A 2-dimensional vector.

Constants

PI

The mathematical constant Pi.

Traits

Cross

The vector cross product.

Functions

clamp

Clamps (limits) the value of x in the inclusive range from min to max.

clamp01

Clamps (limits) the value of x in the inclusive range from 0.0 to 1.0.