alexbol99 / flatten-js

Javascript library for 2d geometry
MIT License
553 stars 58 forks source link

Reverse arc direction when reflecting over a single axis #88

Closed yowzadave closed 3 years ago

yowzadave commented 3 years ago

When applying a "mirror" affine transform on an arc, the direction of the arc should change. This addresses an issue we were seeing in this limited case; obviously a more robust support of affine transforms in arcs would require support for ellipses.

coveralls commented 3 years ago

Coverage Status

Coverage decreased (-0.1%) to 83.479% when pulling 42ef2438526b9e60a33d7b17249cb2624a539c23 on leviat-tech:master into adf355e21dec5f314efd3bcdad3c1404a023c3bb on alexbol99:master.