From c5b3139653be7c574f99339a6087cb8ae5f00267 Mon Sep 17 00:00:00 2001 From: Holden Green Date: Wed, 4 Jul 2018 21:46:42 -0700 Subject: [PATCH] Fixed comments --- tiny_obj_loader.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tiny_obj_loader.h b/tiny_obj_loader.h index 13b7471..4dcbe90 100644 --- a/tiny_obj_loader.h +++ b/tiny_obj_loader.h @@ -1937,7 +1937,7 @@ bool LoadObj(attrib_t *attrib, std::vector *shapes, if (newMaterialId != material) { // Create per-face material. Thus we don't add `shape` to `shapes` at // this time. - // just clear `faceGroup` after `exportFaceGroupToShape()` call. + // just clear `faceGroup` after `exportGroupsToShape()` call. exportGroupsToShape(&shape, faceGroup, lineGroup, tags, material, name, triangulate, v); faceGroup.clear(); @@ -2140,7 +2140,7 @@ bool LoadObj(attrib_t *attrib, std::vector *shapes, bool ret = exportGroupsToShape(&shape, faceGroup, lineGroup, tags, material, name, triangulate, v); - // exportFaceGroupToShape return false when `usemtl` is called in the last + // exportGroupsToShape return false when `usemtl` is called in the last // line. // we also add `shape` to `shapes` when `shape.mesh` has already some // faces(indices)