From aba1ce0f3e244f03c3252c1473fb35c7bce2e741 Mon Sep 17 00:00:00 2001 From: Leni Aniva Date: Sun, 21 Jul 2024 00:08:14 -0700 Subject: [PATCH] feat: Compute centre of mass on wings --- nhf/touhou/houjuu_nue/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nhf/touhou/houjuu_nue/__init__.py b/nhf/touhou/houjuu_nue/__init__.py index f14ac2e..18a0758 100644 --- a/nhf/touhou/houjuu_nue/__init__.py +++ b/nhf/touhou/houjuu_nue/__init__.py @@ -148,6 +148,7 @@ class Parameters(Model): "wing-depth": bbox.ylen, "wing-height": bbox.zlen, "wing-mass": a.total_mass(), + "wing-centre-of-mass": a.centre_of_mass().toTuple(), "items": Item.count(a), }