Fix inherited tile positioning
This commit is contained in:
+3
-2
@@ -17,11 +17,12 @@ data Tile = Tile
|
||||
{ _tilePoly :: [Point2]
|
||||
, -- | point in the world where tile texture is 0,0
|
||||
_tileZero :: Point2
|
||||
, -- | world position one along in the X direction, note this also set the scale of the
|
||||
-- texture
|
||||
, -- | world position one along in the X direction
|
||||
-- note this also sets the scale of the texture
|
||||
-- this has to be a position because it is shifted
|
||||
_tileTangentPos :: Point2
|
||||
, _tileArrayZ :: Float
|
||||
, _tileZeroShift :: Maybe Point2A
|
||||
}
|
||||
deriving (Eq, Ord, Show)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user