Try to centralize the number of components per vertex in shapes
This commit is contained in:
+1
-1
@@ -181,7 +181,7 @@ pokeJustV ptr nv sh = do
|
||||
pokeElemOff ptr (off 7) a
|
||||
return (nv + 1)
|
||||
where
|
||||
off i = nv*8 + i
|
||||
off i = nv*nShapeVerxComp + i
|
||||
V3 x y z = _svPos sh
|
||||
V4 r g b a = _svCol sh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user