Ejemplo n.º 1
0
bool Geometry::Cross(Geometry& g)
{
	if(!box_updated)	UpdateBox();
	
	if(!g.box_updated)	g.UpdateBox();


	if(!CrossBoxes(box1,box2,g.box1,g.box2))return false;
	return CrossTrianglesSet(tr,g.tr);


}