From fd3e2fda000512aeb70d7f5fa703e5c78007ee35 Mon Sep 17 00:00:00 2001 From: raysan5 Date: Wed, 31 Mar 2021 18:40:04 +0200 Subject: RENAMED: example: shaders_mesh_instancing shaders_rlgl_mesh_instanced -> shaders_mesh_instancing --- src/models.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3