pub type SymmetricTensor = SymmetricMat3;Expand description
The symmetric tensor type used by Avian. Often used for angular inertia.
This is a type alias for f32 in 2D and SymmetricMat3 in 3D.
Aliased Type§
pub struct SymmetricTensor {
pub m00: f32,
pub m01: f32,
pub m02: f32,
pub m11: f32,
pub m12: f32,
pub m22: f32,
}Fields§
§m00: f32The first element of the first column.
m01: f32The second element of the first column.
m02: f32The third element of the first column.
m11: f32The second element of the second column.
m12: f32The third element of the second column.
m22: f32The third element of the third column.