Skip to content

Commit

Permalink
Merge pull request #77 from Mouse0w0/patch-17
Browse files Browse the repository at this point in the history
fix a typo in chapter 9
  • Loading branch information
lwjglgamedev authored Nov 17, 2019
2 parents 0a40bc2 + f5994cf commit 0486c51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapter09/chapter9.md
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ private static void processFaceVertex(IdxGroup indices, List<Vector2f> textCoord
texCoordArr[posIndex * 2 + 1] = 1 - textCoord.y;
}
if (indices.idxVecNormal >= 0) {
// Reorder vectornormals
// Reorder normal vectors
Vector3f vecNorm = normList.get(indices.idxVecNormal);
normArr[posIndex * 3] = vecNorm.x;
normArr[posIndex * 3 + 1] = vecNorm.y;
Expand Down

0 comments on commit 0486c51

Please sign in to comment.