Expand description
Math types and traits used by the crate.
Most of the math types are feature-dependent, so they will be different for 2d
/3d
and f32
/f64
.
Constants§
- The active dimension.
- 1/sqrt(2)
- The PI/2 constant.
- The PI constant.
- The TAU constant.
Traits§
- Adjust the precision of the math construct to the precision chosen for compilation.
- Adjust the precision down to
f32
regardless of compilation. - An extension trait for computing reciprocals without division by zero.
Functions§
- Computes the skew-symmetric matrix corresponding to the given vector.
Type Aliases§
- The dimension-specific matrix type used by Avian.
- The 2x2 matrix type used by Avian.
- The 3x3 matrix type used by Avian.
- The quaternion type used by Avian.
- The floating point number type used by Avian.
- The vector type used by Avian.
- The vector type used by Avian. This is always a 2D vector regardless of the chosen dimension.
- The vector type used by Avian. This is always a 3D vector regardless of the chosen dimension.