Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
lepsa committed Dec 31, 2023
1 parent e2408d8 commit 0e4606b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 3 additions & 1 deletion Graphics/Implicit/Canon.hs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ import Graphics.Implicit.Definitions
, RotateExtrude
, Shared3
, Sphere
, Transform3, BoxFrame, Link
, Transform3
, BoxFrame
, Link
)
, hasZeroComponent
)
Expand Down
6 changes: 4 additions & 2 deletions Graphics/Implicit/Primitives.hs
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,10 @@ module Graphics.Implicit.Primitives (
emptySpace,
fullSpace,
withRounding,
boxFrame,
_Shared,
pattern Shared,
Object(Space, canonicalize), boxFrame) where
Object(Space, canonicalize)) where

import Prelude(Applicative, Eq, Foldable, Num, abs, (<), otherwise, Num, (+), (-), (*), (/), (.), negate, Bool(True, False), Maybe(Just, Nothing), Either, fmap, ($), (**), sqrt, (<=), (&&), max, Ord)

Expand Down Expand Up @@ -92,7 +93,8 @@ import Graphics.Implicit.Definitions (ObjectContext, ℝ, ℝ2, ℝ3, Box2,
ExtrudeM,
RotateExtrude,
ExtrudeOnEdgeOf,
Shared3, Link
Shared3,
Link
),
ExtrudeMScale,
defaultObjectContext
Expand Down
2 changes: 1 addition & 1 deletion tests/GoldenSpec/Spec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ spec = describe "golden tests" $ do
, ellipsoid 10 15 20
, translate (V3 0 0 25) $ cone 20 20
]

golden "boxFrame" 2 $
union
[ boxFrame (V3 20 20 20) 2
Expand Down

0 comments on commit 0e4606b

Please sign in to comment.