Fix picture vertex buffering bug

This commit is contained in:
2026-01-02 10:58:28 +00:00
parent 2c978b4de1
commit 119234af89
6 changed files with 67 additions and 62 deletions
+5 -3
View File
@@ -54,12 +54,14 @@ testSPic :: Config -> Universe -> SPic
testSPic cfig u = noShape $ testPic cfig u
testPic :: Config -> Universe -> Picture
testPic _ _ = setLayer DebugLayer
testPic _ _ = f
$ mempty
-- <> color white (line [0,10])
-- <> text "A"
<> color white (line [0,10])
<> text "A"
<> translate 20 20 (arc pi 0 10)
<> translate 0 20 (circleSolidCol white red 10)
where
f x = translate 5 20 (setLayer DebugLayer x) <> setLayer BloomLayer x
-- fold $ do
-- cr <- u ^? uvWorld . cWorld . lWorld . creatures . ix 0
---- return mempty