浏览代码

addition to c4997f16dba72ab82dd4cb0374459b98d7b33a63

(thanks turol)
abma 10 年之前
父节点
当前提交
873ae5db3f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      code/SmoothingGroups.inl

+ 1 - 1
code/SmoothingGroups.inl

@@ -106,7 +106,7 @@ void ComputeNormalsWithSmoothingsGroups(MeshWithSmoothingGroups<T>& sMesh)
 		std::vector<unsigned int> poResult;
 		std::vector<unsigned int> poResult;
 		for (unsigned int c = 0; c < 3;++c)
 		for (unsigned int c = 0; c < 3;++c)
 		{
 		{
-			register unsigned int idx = (*i).mIndices[c];
+			unsigned int idx = (*i).mIndices[c];
 			if (vertexDone[idx])continue;
 			if (vertexDone[idx])continue;
 
 
 			sSort.FindPositions(sMesh.mPositions[idx],(*i).iSmoothGroup,
 			sSort.FindPositions(sMesh.mPositions[idx],(*i).iSmoothGroup,