diff --git a/meshpy/geometry.py b/meshpy/geometry.py index 7febefb6a60ab7e5b55718f276b3c78c61c42d8e..5e20e9db5f77a120d5fca2ea85376fbfcc94fd67 100644 --- a/meshpy/geometry.py +++ b/meshpy/geometry.py @@ -243,8 +243,8 @@ def make_circle(r, center=(0,0), subdivisions=40): phi = numpy.linspace(0, 2*numpy.pi, num=subdivisions, endpoint=False) cx, cy = center - x = numpy.cos(phi) + cx - y = numpy.sin(phi) + cy + x = r*numpy.cos(phi) + cx + y = r*numpy.sin(phi) + cy return ([numpy.array(pt) for pt in zip(x, y)], round_trip_connect(range(subdivisions)),