Fix arc rendering bug (make vertex attribs correct size)
This commit is contained in:
+1
-1
@@ -546,7 +546,7 @@ deadEndRoom = Room
|
||||
]
|
||||
, _rmLinks = lnks
|
||||
, _rmPath = []
|
||||
, _rmPS = []
|
||||
, _rmPS = [PS (0,-10) 0 basicLS]
|
||||
, _rmBound = rectNSWE 20 (-20) (-30) 30
|
||||
}
|
||||
where lnks = [((0,30) ,0)
|
||||
|
||||
@@ -2194,15 +2194,15 @@ flameShield = basicEquipment
|
||||
}
|
||||
frontArmour = basicEquipment
|
||||
{ _itIdentity = FrontArmour
|
||||
, _itName = "FRONTARMOUR"
|
||||
, _itName = "FARMOUR"
|
||||
, _itMaxStack = 1
|
||||
, _itAmount = 1
|
||||
, _itFloorPict = onLayer FlItLayer $ translate 0 (-5)
|
||||
$ pictures [color (greyN 0.1) $ thickArc 0 (pi/2) 10 5
|
||||
$ pictures [color (greyN 0.1) $ thickArc 0 (pi/2) 10 5
|
||||
,color (greyN 0.1) $ thickArc (3*pi/2) (2*pi) 10 5
|
||||
]
|
||||
, _itEquipPict = (\cr _ -> onLayer CrLayer
|
||||
$ pictures [color (greyN 0.1) $ thickArc 0 (pi/2) 10 5
|
||||
$ pictures [color (greyN 0.1) $ thickArc 0 (pi/2) 10 5
|
||||
,color (greyN 0.1) $ thickArc (3*pi/2) (2*pi) 10 5
|
||||
]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user