i wrote many system.out.prints.
Initial capacity : 2,
i add 5 sprites.
however i see only 2 sprites on screen.
This means that the buffers have the correct contents, however for some reason the extra sprites aren’t displayed.
Position: java.nio.DirectFloatBufferU[pos=0 lim=15 cap=24]
0: (27.88871, 7.738037, 28.987694)
1: (3.9169521, 18.192883, 5.8638706)
2: (18.052681, 6.517552, 14.187362)
3: (16.053507, 11.270653, 11.449011)
4: (28.174007, 27.362461, 11.174634)
Color: java.nio.DirectByteBuffer[pos=0 lim=20 cap=32]
0: (-1, -1, -1, -1)
1: (-1, -1, -1, -1)
2: (-1, -1, -1, -1)
3: (-1, -1, -1, -1)
4: (-1, -1, -1, -1)
Size: java.nio.DirectFloatBufferU[pos=0 lim=5 cap=8]
0: (1.0)
1: (1.0)
2: (1.0)
3: (1.0)
4: (1.0)
TexCoord: java.nio.DirectFloatBufferU[pos=0 lim=20 cap=32]
0: (0.015625, 1.0, 0.032226562, 0.98535156)
1: (0.015625, 1.0, 0.032226562, 0.98535156)
2: (0.015625, 1.0, 0.032226562, 0.98535156)
3: (0.015625, 1.0, 0.032226562, 0.98535156)
4: (0.015625, 1.0, 0.032226562, 0.98535156)