We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd88309 commit 8115b7eCopy full SHA for 8115b7e
src/rmodels.c
@@ -5589,7 +5589,7 @@ static Model LoadGLTF(const char *fileName)
5589
LOAD_ATTRIBUTE(attribute, 3, unsigned short, temp);
5590
5591
// Convert data to raylib vertex data type (float) the matrix will scale it to the correct size as a float
5592
- for (unsigned int t = 0; t < attribute->count 3; t++) model.meshes[meshIndex].vertices[t] = (float)temp[t];
+ for (unsigned int t = 0; t < attribute->count*3; t++) model.meshes[meshIndex].vertices[t] = (float)temp[t];
5593
5594
RL_FREE(temp);
5595
0 commit comments