Skip to content

Commit

Permalink
TriangleMeshFormats: Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
bgamari committed Nov 30, 2012
1 parent 238899b commit 84072ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Graphics/Implicit/Export/TriangleMeshFormats.hs
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ stl triangles = toLazyText $ stlHeader <> mconcat (map triangle triangles) <> st
stlFooter = "endsolid ImplictCADExport\n"
vertex :: ℝ3 -> Builder
vertex (x,y,z) = mconcat ["vertex "
,bf x , " "
,bf y , " "
,bf z]
,bf x , " "
,bf y , " "
,bf z]
triangle :: (ℝ3, ℝ3, ℝ3) -> Builder
triangle (a,b,c) =
"facet normal 0 0 0\n"
Expand Down

0 comments on commit 84072ed

Please sign in to comment.