Skip to content

Commit

Permalink
Fix recently introduced bug
Browse files Browse the repository at this point in the history
  • Loading branch information
cochrane committed Jul 28, 2021
1 parent 88a33ca commit 34a89cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GLLara/GLLModelMesh.m
Original file line number Diff line number Diff line change
Expand Up @@ -615,8 +615,8 @@ - (GLLVertexAttribAccessorSet*)calculateTangents:(GLLVertexAttribAccessorSet *)f
// Add them to the per-layer tangents
for (int vertex = 0; vertex < 3; vertex++)
{
vec_addTo(&tangentsU[elements[index + vertex]*3], tangentU);
vec_addTo(&tangentsV[elements[index + vertex]*3], tangentV);
vec_addTo(&tangentsU[elements[vertex]*3], tangentU);
vec_addTo(&tangentsV[elements[vertex]*3], tangentV);
}
}

Expand Down

0 comments on commit 34a89cb

Please sign in to comment.