Fix normal map transformations for floor
This commit is contained in:
+4
-1
@@ -14,7 +14,10 @@ data Floor
|
||||
data Tile = Tile
|
||||
{ _tilePoly :: [Point2]
|
||||
, _tileZero :: Point2 -- ^ point in the world where tile texture is 0,0
|
||||
, _tileX :: Point2 -- ^ vector in the X direction (1,0)
|
||||
, _tileTangentPos :: Point2
|
||||
-- ^ world position one along in the X direction, note this also set the scale of the
|
||||
-- texture
|
||||
-- this has to be a position because it is shifted
|
||||
, _tileZ :: Float
|
||||
}
|
||||
deriving (Eq, Ord, Show)
|
||||
|
||||
Reference in New Issue
Block a user