Skip to content

Commit

Permalink
duh
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzalocasas committed Oct 15, 2024
1 parent 1f99266 commit fc44024
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/compas/geometry/shapes/box.py
Original file line number Diff line number Diff line change
Expand Up @@ -592,8 +592,8 @@ def scaled(self, x, y=None, z=None):
"""
box = self.copy()
box.xsize *= x
box.ysize *= y
box.zsize *= z
box.ysize *= y if y is not None else x
box.zsize *= z if z is not None else x

return box

Expand Down

0 comments on commit fc44024

Please sign in to comment.