Skip to content

Commit 8115b7e

Browse files
committed
Update rmodels.c
1 parent fd88309 commit 8115b7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rmodels.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5589,7 +5589,7 @@ static Model LoadGLTF(const char *fileName)
55895589
LOAD_ATTRIBUTE(attribute, 3, unsigned short, temp);
55905590

55915591
// 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];
5592+
for (unsigned int t = 0; t < attribute->count*3; t++) model.meshes[meshIndex].vertices[t] = (float)temp[t];
55935593

55945594
RL_FREE(temp);
55955595

0 commit comments

Comments
 (0)