feat: Compute centre of mass on wings

This commit is contained in:
Leni Aniva 2024-07-21 00:08:14 -07:00
parent e23cb5cc47
commit aba1ce0f3e
Signed by: aniva
GPG Key ID: 4D9B1C8D10EA4C50
1 changed files with 1 additions and 0 deletions

View File

@ -148,6 +148,7 @@ class Parameters(Model):
"wing-depth": bbox.ylen, "wing-depth": bbox.ylen,
"wing-height": bbox.zlen, "wing-height": bbox.zlen,
"wing-mass": a.total_mass(), "wing-mass": a.total_mass(),
"wing-centre-of-mass": a.centre_of_mass().toTuple(),
"items": Item.count(a), "items": Item.count(a),
} }