waterfall-cad 0.6.2.0 → 0.6.2.1
raw patch · 3 files changed
+8/−4 lines, 3 filesdep ~opencascade-hsPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: opencascade-hs
API changes (from Hackage documentation)
Files
- CHANGELOG.md +4/−0
- src/Waterfall/TwoD/Path2D.hs +2/−2
- waterfall-cad.cabal +2/−2
CHANGELOG.md view
@@ -8,6 +8,10 @@ ## Unreleased +## 0.6.2.1++- Fixed an off by one error in `Waterfall.TwoD.repeatLooping` that would produce overlapping wire segments in `repeatLooping`+ ## 0.6.2.0 - Added `Waterfall.Path.Common.pathLength`, `Waterfall.Path.pathLength3D` and `Waterfall.TwoD.Path2D.pathLength2D`
src/Waterfall/TwoD/Path2D.hs view
@@ -89,8 +89,8 @@ let a = unangle (e ^. _xy) - unangle (s ^. _xy) in if nearZero a then mempty- else let times :: Integer = abs . round $ pi * 2 / a - in mconcat $ [rotate2D (fromIntegral n * a) p | n <- [0..times]]+ else let times :: Integer = round (pi * 2 / abs a)+ in mconcat [rotate2D (fromIntegral n * a) p | n <- [0 .. times-1]] -- $reexports
waterfall-cad.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack name: waterfall-cad-version: 0.6.2.0+version: 0.6.2.1 synopsis: Declarative CAD/Solid Modeling Library description: Please see the README on GitHub at <https://github.com/joe-warren/opencascade-hs#readme> category: Graphics@@ -71,7 +71,7 @@ , lattices >=2.0 && <3 , lens ==5.* , linear >=1.21 && <2- , opencascade-hs >=0.6.2.0 && <0.7+ , opencascade-hs >=0.6.2.1 && <0.7 , primitive >=0.7 && <0.10 , resourcet >=1.2 && <1.4 default-language: Haskell2010