Try to centralize the number of components per vertex in shapes

This commit is contained in:
2023-03-14 23:28:21 +00:00
parent cfddd1515f
commit 21f87b96d8
7 changed files with 27 additions and 32 deletions
+1 -1
View File
@@ -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