Sfoglia il codice sorgente

addition to c4997f16dba72ab82dd4cb0374459b98d7b33a63

(thanks turol)
abma 10 anni fa
parent
commit
873ae5db3f
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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;
 		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;
 
 			sSort.FindPositions(sMesh.mPositions[idx],(*i).iSmoothGroup,