Inertia constructor

Inertia({
  1. double? m,
  2. Vector3? com,
  3. double? ixx,
  4. double? ixy,
  5. double? ixz,
  6. double? iyy,
  7. double? iyz,
  8. double? izz,
})

Implementation

Inertia({
  double? m,
  Vector3? com,
  double? ixx,
  double? ixy,
  double? ixz,
  double? iyy,
  double? iyz,
  double? izz,
}):
this.m = m ?? 0.0,
this.com = com ?? Vector3(),
this.ixx = ixx ?? 0.0,
this.ixy = ixy ?? 0.0,
this.ixz = ixz ?? 0.0,
this.iyy = iyy ?? 0.0,
this.iyz = iyz ?? 0.0,
this.izz = izz ?? 0.0;