Skip to content

Commit

Permalink
compile fix for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
svenwoop committed Dec 9, 2013
1 parent faa14b6 commit fd7f530
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions examples/renderer/device/loaders/obj_loader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -351,11 +351,6 @@ namespace embree
uint32 v0 = getVertex(vertexMap, positions, normals, texcoords, i0);
uint32 v1 = getVertex(vertexMap, positions, normals, texcoords, i1);
uint32 v2 = getVertex(vertexMap, positions, normals, texcoords, i2);

if (isnan(positions[v0].x) || isnan(positions[v0].y) || isnan(positions[v0].z)) continue;
if (isnan(positions[v1].x) || isnan(positions[v1].y) || isnan(positions[v1].z)) continue;
if (isnan(positions[v2].x) || isnan(positions[v2].y) || isnan(positions[v2].z)) continue;

triangles.push_back(Vec3i(v0, v1, v2));
}
}
Expand Down

0 comments on commit fd7f530

Please sign in to comment.