RENAMED: example: shaders_mesh_instancing

shaders_rlgl_mesh_instanced -> shaders_mesh_instancing
This commit is contained in:
raysan5 2021-03-31 18:40:04 +02:00
parent 8f1d81df0f
commit fd3e2fda00
5 changed files with 71 additions and 10 deletions

View file

@ -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);