Skip to content

Commit

Permalink
fix sp2 box
Browse files Browse the repository at this point in the history
  • Loading branch information
bat52 committed Dec 26, 2024
1 parent 1fa28df commit b6fec31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pylele/api/sp2.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def sphere(self, rad: float) -> Sp2Shape:
return Sp2Ball(rad, self)

def box(self, l: float, wth: float, ht: float, center: bool = True) -> Sp2Shape:
retval = Sp2Box(l, wth, ht, self).
retval = Sp2Box(l, wth, ht, self)
if center:
return retval.mv(-l / 2, -wth / 2, -ht / 2)
return retval
Expand Down

0 comments on commit b6fec31

Please sign in to comment.