Luna::Rect::operator==

bool operator==(const Rect &rhs) const

Compares two rectangles for equality.

Parameters

  • in rhs

    The rectangle to compare with.

Return value

Returns true if two rectangles are equal. Returns false otherwise.