Implement shading for more types of shapes (cylinders, boxes)
This commit is contained in:
@@ -141,8 +141,6 @@ putShape sh =
|
||||
bnds = shapeBounds sh
|
||||
m = midBounds bnds
|
||||
|
||||
--shapePoints :: Shape -> Stream (Of Point2) Identity ()
|
||||
--shapePoints = S.each . concatMap (map (stripZ . _svPos) . _shVs)
|
||||
shapePoints :: Shape -> [Point2]
|
||||
shapePoints = concatMap (map stripZ . _sfVs)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user