Determine bug in bezier curve rendering

This commit is contained in:
jgk
2021-03-13 12:58:20 +01:00
parent 9aa6fec418
commit 8f3b5d0bfe
5 changed files with 37 additions and 22 deletions
-1
View File
@@ -364,7 +364,6 @@ startCr = basicCreature
,hvAutoGun
,teslaGun
,latchkey 0
,frontArmour
,miniGun
,medkit 50
,bezierGun
+1 -1
View File
@@ -122,7 +122,7 @@ worldPictures w
testPic :: World -> [Picture]
testPic w = --[blank]
[setLayer 1 $ onLayerL [99] $ bezierQuad white red 20 50 (-200,0) (0,0) (200,50) ]
[setLayer 1 $ onLayerL [99] $ bezierQuad white red 20 20 (00,00) (200,200) (200,000) ]
-- $ uncurry translate (mouseWorldPos w)
+1 -1
View File
@@ -548,7 +548,7 @@ deadEndRoom = Room
]
, _rmLinks = lnks
, _rmPath = []
, _rmPS = [PS (0,-10) 0 basicLS]
, _rmPS = [PS (0,-20) 0 basicLS]
, _rmBound = rectNSWE 20 (-20) (-30) 30
}
where lnks = [((0,30) ,0)