Function valid

Synopsis

#include <Source/Falcor/Utils/Math/AABB.h>

bool valid() const

Description

Returns true if bounding box is valid (all dimensions zero or larger).

Source

Lines 78-81 in Source/Falcor/Utils/Math/AABB.h.

bool valid() const
{
    return maxPoint.x >= minPoint.x && maxPoint.y >= minPoint.y && maxPoint.z >= minPoint.z;
}





Add Discussion as Guest

Log in