Continue adding mutability

This commit is contained in:
jgk
2021-08-12 05:10:06 +02:00
parent 27cf763805
commit c84bafb267
3 changed files with 10 additions and 34 deletions
-13
View File
@@ -124,19 +124,6 @@ pokePoint3s ptr vals0 = go vals0 0
where
off i = n*3 + i
vboFromType :: PicShads VBO -> Int -> VBO
{-# INLINE vboFromType #-}
vboFromType ps sn = case sn of
0 -> _psPoly ps
1 -> _psPolyz ps
2 -> _psBez ps
3 -> _psText ps
4 -> _psArc ps
5 -> _psEll ps
_ -> undefined
pokeLayVerxs :: MV.MVector (PrimState IO) VShader
-> UMV.MVector (PrimState IO) Int
-> [Verx] -> IO (IM.IntMap (PicShads Int))