summaryrefslogtreecommitdiff |
diff options
-rw-r--r-- | src/battlemap/src/View/Battlemap/Tile.elm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/battlemap/src/View/Battlemap/Tile.elm b/src/battlemap/src/View/Battlemap/Tile.elm index fb91731..2b526b2 100644 --- a/src/battlemap/src/View/Battlemap/Tile.elm +++ b/src/battlemap/src/View/Battlemap/Tile.elm @@ -18,7 +18,9 @@ import Struct.Tile -------------------------------------------------------------------------------- noise_function : Int -> Int -> Int -> Int noise_function a b c = - (round (pi * (radians (toFloat a)) * (radians (toFloat b)) * (toFloat c))) + (round + (radians (toFloat ((a + 1) * 2 + (b + 1) * 3 + c))) + ) -------------------------------------------------------------------------------- -- EXPORTED -------------------------------------------------------------------- |