Play with floor textures
This commit is contained in:
+2
-2
@@ -28,8 +28,8 @@ makeTileFromPoly :: [Point2] -> Float -> Tile
|
||||
makeTileFromPoly poly z = Tile
|
||||
{ _tilePoly = poly
|
||||
, _tileZero = c
|
||||
, _tileTangentPos = c + (32 * normalizeV (d -.- c))
|
||||
, _tileZ = z
|
||||
, _tileTangentPos = c + (64 * normalizeV (d -.- c))
|
||||
, _tileArrayZ = z
|
||||
}
|
||||
where
|
||||
(c:d:_) = poly
|
||||
|
||||
Reference in New Issue
Block a user