diff --git a/src/rmodels.c b/src/rmodels.c index 6a87b29a..8ccd26b5 100644 --- a/src/rmodels.c +++ b/src/rmodels.c @@ -5745,9 +5745,9 @@ static Model LoadVOX(const char *fileName) int verticesRemain = voxarray.vertices.used; int verticesMax = 65532; // 5461 voxels x 12 vertices per voxel -> 65532 (must be inf 65536) - Vector3 *pvertices = voxarray.vertices.array; // 6*4 = 12 vertices per voxel + Vector3 *pvertices = voxarray.vertices.array; // 6*4 = 12 vertices per voxel Color *pcolors = voxarray.colors.array; - unsigned short *pindices = voxarray.indices.array; // 5461*6*6 = 196596 indices max per mesh + unsigned short *pindices = voxarray.indices.array; // 5461*6*6 = 196596 indices max per mesh int size = 0;