Add explicit layer datatype
This commit is contained in:
+2
-2
@@ -196,8 +196,8 @@ pokeLayVerx vbos counts vx = do
|
||||
UMV.unsafeModify counts (+ 1) vecPos
|
||||
where
|
||||
sn = _unShadNum (_vxShadNum vx)
|
||||
vecPos = theLayer * 6 + sn
|
||||
theLayer = _unLayNum $ _vxLayer vx
|
||||
vecPos = theLayer * numLayers + sn
|
||||
theLayer = layerNum $ _vxLayer vx
|
||||
thePos = _vxPos vx
|
||||
theCol = _vxCol vx
|
||||
layOff = theLayer * numSubElements
|
||||
|
||||
Reference in New Issue
Block a user