RENAMED: example: shaders_mesh_instancing
shaders_rlgl_mesh_instanced -> shaders_mesh_instancing
This commit is contained in:
parent
8f1d81df0f
commit
fd3e2fda00
5 changed files with 71 additions and 10 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue