Cleanup
This commit is contained in:
+3
-3
@@ -45,7 +45,7 @@ pokeVerx vbos offsets Verx{_vxPos = thePos, _vxCol = theCol, _vxExt = ext, _vxSh
|
||||
pokeArrayOff thePtr 7 ext
|
||||
UMV.unsafeModify offsets (+ 1) sn
|
||||
where
|
||||
sn = _unShadNum shadnum
|
||||
sn = fromEnum shadnum
|
||||
|
||||
pokeWallsWindows ::
|
||||
Ptr Float ->
|
||||
@@ -497,10 +497,10 @@ pokeLayVerx vbos counts vx = do
|
||||
pokeArrayOff thePtr 7 (_vxExt vx)
|
||||
UMV.unsafeModify counts (+ 1) vecPos
|
||||
where
|
||||
sn = _unShadNum shadnum
|
||||
sn = fromEnum shadnum
|
||||
shadnum = _vxShadNum vx
|
||||
vecPos = theLayer * numLayers + sn
|
||||
theLayer = layerNum $ _vxLayer vx
|
||||
theLayer = fromEnum $ _vxLayer vx
|
||||
thePos = _vxPos vx
|
||||
theCol = _vxCol vx
|
||||
layOff = theLayer * numSubElements
|
||||
|
||||
Reference in New Issue
Block a user