remove the keyword `register' for C++17

remove the keyword `register' for C++17
This commit is contained in:
Chih-Chen Kao
2017-08-17 02:16:11 +08:00
parent 51d13700d8
commit b5f348e37e

View File

@@ -659,7 +659,7 @@ static bool exportFaceGroupToShape(
const size_t nIndexs = shape.mesh.indices.size();
if (nIndexs % 3 == 0) {
shape.mesh.normals.resize(shape.mesh.positions.size());
for (register size_t iIndices = 0; iIndices < nIndexs; iIndices += 3) {
for (size_t iIndices = 0; iIndices < nIndexs; iIndices += 3) {
float3 v1, v2, v3;
memcpy(&v1, &shape.mesh.positions[shape.mesh.indices[iIndices] * 3],
sizeof(float3));