From 579c10e37345352db2c9d7d692f41875ae7cb270 Mon Sep 17 00:00:00 2001 From: Leni Aniva Date: Sun, 21 Jul 2024 00:17:43 -0700 Subject: [PATCH] fix: Polygon sliver on left s3 --- nhf/touhou/houjuu_nue/wing.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nhf/touhou/houjuu_nue/wing.py b/nhf/touhou/houjuu_nue/wing.py index 41b3300..6f510e0 100644 --- a/nhf/touhou/houjuu_nue/wing.py +++ b/nhf/touhou/houjuu_nue/wing.py @@ -1180,13 +1180,15 @@ class WingL(WingProfile): def _mask_wrist(self) -> list[Tuple[float, float]]: l = 200 elbow_bot_x, _ = self.elbow_bot_loc.to2d_pos() - _, elbow_top_y = self.elbow_top_loc.to2d_pos() + elbow_top_x, elbow_top_y = self.elbow_top_loc.to2d_pos() _, wrist_bot_y = self.wrist_bot_loc.to2d_pos() + wrist_top_x, wrist_top_y = self.wrist_top_loc.to2d_pos() return [ (0, -l), (elbow_bot_x, wrist_bot_y), self.wrist_bot_loc.to2d_pos(), self.wrist_top_loc.to2d_pos(), - (elbow_bot_x, elbow_top_y + l), + (wrist_top_x, wrist_top_y + l), + (elbow_top_x, elbow_top_y + l), (0, l), ]