Draw floors using vertex pulling
This commit is contained in:
@@ -23,7 +23,7 @@ pokeTileVerx tangent tilez ptr i (V2 x y, V2 s t) = do
|
||||
return $ i + 1
|
||||
|
||||
pokeChasm :: Ptr Float -> Int -> [Point2] -> IO Int
|
||||
pokeChasm ptr i ps = foldM (pokeChasmVerx ptr) i $ polyToTris ps
|
||||
pokeChasm ptr i = foldM (pokeChasmVerx ptr) i . polyToTris
|
||||
|
||||
pokeChasmVerx :: Ptr Float -> Int -> Point2 -> IO Int
|
||||
pokeChasmVerx ptr i p = do
|
||||
|
||||
Reference in New Issue
Block a user