Add a base to blocks
This commit is contained in:
+1
-6
@@ -70,12 +70,7 @@ prismPoly size shads upps downps = [Surface (RoundedFaces n) (cp : cp : f upps d
|
||||
f (a : as) (b : bs) = a : b : f as bs
|
||||
f _ _ = []
|
||||
|
||||
prismBox ::
|
||||
Size ->
|
||||
Importance ->
|
||||
[Point3] ->
|
||||
[Point3] ->
|
||||
Shape
|
||||
prismBox :: Size -> Importance -> [Point3] -> [Point3] -> Shape
|
||||
{-# INLINE prismBox #-}
|
||||
prismBox size shads upps downps = [Surface (FlatFaces n) (f upps downps) white shads size]
|
||||
where
|
||||
|
||||
Reference in New Issue
Block a user