Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZItMeshFace.getConnectedFaces emitting debug info in release mode #1

Open
shajayb opened this issue Apr 19, 2022 · 0 comments
Open

Comments

@shajayb
Copy link

shajayb commented Apr 19, 2022

@venumb

for (zItMeshFace f(o_mesh); !f.end(); f++)
	{
		zItMeshFaceArray fnArray;
		f.getConnectedFaces(fnArray);

		f.getVertexPositions(fvPositions);
		for (int i = 0; i < fvPositions.size(); i++)
		{
			zPoint a = fvPositions[i];
			zPoint b = fvPositions[(i + 1) % fvPositions.size()];

			a.z += 1;
			b.z += 1;

			disp.drawLine(a, b);

		}
	}

getConnectedFaces() method emits debug fprint to the cosole windown, even in release mode

@shajayb shajayb changed the title zItMeshFace emitting debug info in release mode ZItMeshFace.getConnectedFaces emitting debug info in release mode Apr 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant