Skip to content

Commit

Permalink
fixed bug in poly_poly
Browse files Browse the repository at this point in the history
  • Loading branch information
hornsilk committed Sep 5, 2024
1 parent 40bb88d commit 3bcfee3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/codesters/transformations.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def poly_poly(cx, cy, points, rotation):

point_list = []

for i in range(len(points)/2):
for i in range(int(len(points)/2)):
x = points[i*2] - cx
y = points[i*2 + 1] - cy

Expand Down

0 comments on commit 3bcfee3

Please sign in to comment.