neilmendoza / ofxCorkCsg

A constructive solid geometry (mesh boolean) addon for openFrameworks.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple difference operations not working, depending on parameters

dimitre opened this issue · comments

This operation works

	ofxCorkCsg::box(mesh1, 300, 300, 50);
	ofxCorkCsg::box(mesh2, 200, 200, 160);
	ofxCorkCsg::computeDifference(mesh1, mesh2, outMesh);

And this doens't work

	ofxCorkCsg::box(mesh1, 300, 300, 50);
	ofxCorkCsg::box(mesh2, 240, 240, 160);
	ofxCorkCsg::computeDifference(mesh1, mesh2, outMesh);

Cheers!