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) || (max.z < min.z);
}
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) || (max.z < min.z);
}