diff --git a/src/cmd.typ b/src/cmd.typ index 0a63fc1a..88c79ad8 100644 --- a/src/cmd.typ +++ b/src/cmd.typ @@ -92,7 +92,7 @@ ("cubic", (x, top, z), (right, y, z), (x + m * rx, top, z), (right, y + m * ry, z)), ("cubic", (right, y, z), (x, bottom, z), - (right, y - m * ry), (x + m * rx, bottom, z)), + (right, y - m * ry, z), (x + m * rx, bottom, z)), ("cubic", (x, bottom, z), (left, y, z), (x - m * rx, bottom, z), (left, y - m * ry, z)), ("cubic", (left, y, z), (x, top, z), diff --git a/tests/circle/ref.png b/tests/circle/ref.png index f29c3af2..7d15c9de 100644 Binary files a/tests/circle/ref.png and b/tests/circle/ref.png differ diff --git a/tests/circle/test.typ b/tests/circle/test.typ index a6105533..f10d81cb 100644 --- a/tests/circle/test.typ +++ b/tests/circle/test.typ @@ -21,3 +21,11 @@ } } })) + +#box(stroke: 2pt + red, canvas(length: .5cm, { + import draw: * + + for z in range(-2, 2) { + circle((0,0,z)) + } +}))