Improve bezier curve rendering
This commit is contained in:
+2
-1
@@ -19,7 +19,8 @@ picToLTree mx (PolygonCol i vs)
|
||||
where (ps,cs) = unzip vs
|
||||
picToLTree mx (BezierQuad i vs)
|
||||
= filtB mx i $ LLeaf $ RenderBezQ $ zip3 (map zeroZ ps) cols rs
|
||||
where (ps,cols,rs) = unzip3 vs
|
||||
where (ps,cols,offps,rads) = unzip4 vs
|
||||
rs = zipWith (\(x,y) z -> (x,y,z)) offps rads
|
||||
|
||||
picToLTree mx (Circle i colC colE r)
|
||||
= filtB mx i $ LLeaf $ RenderEllipse [( (-r, r,0), colC)
|
||||
|
||||
Reference in New Issue
Block a user