Skip to content

Commit

Permalink
casting issue in debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffrey Wardman committed Nov 27, 2024
1 parent bc08d41 commit 6b0f7a3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/properties.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,11 @@ struct CheckCCW {
"tol = %g, area2 = %g, base2*tol2 = %g\n"
"normal = %g, %g, %g\n"
"norm = %g, %g, %g\nverts: %d, %d, %d\n",
face, area / base, base, tol, area * area, base2 * tol * tol,
triNormal[face].x, triNormal[face].y, triNormal[face].z, norm.x,
norm.y, norm.z, halfedges[3 * face].startVert,
halfedges[3 * face + 1].startVert, halfedges[3 * face + 2].startVert);
static_cast<long>(face), area / base, base, tol, area * area,
base2 * tol * tol, triNormal[face].x, triNormal[face].y,
triNormal[face].z, norm.x, norm.y, norm.z,
halfedges[3 * face].startVert, halfedges[3 * face + 1].startVert,
halfedges[3 * face + 2].startVert);
}
#endif
return check;
Expand Down

0 comments on commit 6b0f7a3

Please sign in to comment.