*/
{
CxRect2 cs;
- cs.botLeft.x=max(botLeft.x, r2.botLeft.x);
- cs.botLeft.y=max(botLeft.y, r2.botLeft.y);
- cs.topRight.x=min(topRight.x, r2.topRight.x);
- cs.topRight.y=min(topRight.y, r2.topRight.y);
+ cs.botLeft.x=__max(botLeft.x, r2.botLeft.x);
+ cs.botLeft.y=__max(botLeft.y, r2.botLeft.y);
+ cs.topRight.x=__min(topRight.x, r2.topRight.x);
+ cs.topRight.y=__min(topRight.y, r2.topRight.y);
if (cs.botLeft.x<=cs.topRight.x && cs.botLeft.y<=cs.topRight.y) {
return cs;
} else {