diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/models.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/models.c b/src/models.c index 32f876bd..ca5e75f0 100644 --- a/src/models.c +++ b/src/models.c @@ -4507,7 +4507,7 @@ static void BindGLTFPrimitiveToBones(Model* model, const cgltf_data* data, int p model->meshes[primitiveIndex].vertices[vCounter + 2] = boundVertex.z; // Normals processing - if(model->meshes[primitiveIndex].normals != NULL) + if (model->meshes[primitiveIndex].normals != NULL) { boundNormal = (Vector3){ model->meshes[primitiveIndex].normals[vCounter], model->meshes[primitiveIndex].normals[vCounter + 1], model->meshes[primitiveIndex].normals[vCounter + 2] }; boundNormal = Vector3RotateByQuaternion(boundNormal, outRotation); |
