REVIEWED: Hexadecimal formatting to be consistent
This commit is contained in:
parent
8d9c1cecb7
commit
5ddd13b775
4 changed files with 48 additions and 50 deletions
|
|
@ -6623,11 +6623,11 @@ static Model LoadM3D(const char *fileName)
|
|||
// Without vertex color (full transparency), we use the default color
|
||||
if (model.meshes[k].colors != NULL)
|
||||
{
|
||||
if (m3d->vertex[m3d->face[i].vertex[0]].color & 0xFF000000)
|
||||
if (m3d->vertex[m3d->face[i].vertex[0]].color & 0xff000000)
|
||||
memcpy(&model.meshes[k].colors[l*12 + 0], &m3d->vertex[m3d->face[i].vertex[0]].color, 4);
|
||||
if (m3d->vertex[m3d->face[i].vertex[1]].color & 0xFF000000)
|
||||
if (m3d->vertex[m3d->face[i].vertex[1]].color & 0xff000000)
|
||||
memcpy(&model.meshes[k].colors[l*12 + 4], &m3d->vertex[m3d->face[i].vertex[1]].color, 4);
|
||||
if (m3d->vertex[m3d->face[i].vertex[2]].color & 0xFF000000)
|
||||
if (m3d->vertex[m3d->face[i].vertex[2]].color & 0xff000000)
|
||||
memcpy(&model.meshes[k].colors[l*12 + 8], &m3d->vertex[m3d->face[i].vertex[2]].color, 4);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue