isEmpty method
Implementation
bool isEmpty() {
// this is a more robust check for empty than ( volume <= 0 ) because volume can get positive with two negative axes
return (max.x < min.x) || (max.y < min.y);
}
bool isEmpty() {
// this is a more robust check for empty than ( volume <= 0 ) because volume can get positive with two negative axes
return (max.x < min.x) || (max.y < min.y);
}