Mir

Code review comment for lp:~afrantzis/mir/fix-1340078-occlusion

Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

23 + Rectangle intersection_with(Rectangle const& r) const;

Hmm, I would (slightly) prefer a free function for a symmetric operation. Vis:

Rectangle intersection_of(Rectangle const& l, Rectangle const& r);

PS
I thought briefly about operator&() but that gives an asymmetry with operator|().

review: Approve

« Back to merge proposal