cosplay: Touhou/Houjuu Nue #4

Open
aniva wants to merge 189 commits from touhou/houjuu-nue into main
1 changed files with 4 additions and 2 deletions
Showing only changes of commit 579c10e373 - Show all commits

View File

@ -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),
]