Function valid

Synopsis

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

bool valid() const

Description

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

Source

Lines 47-47 in Source/Falcor/Utils/Math/BBox.h.

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





Add Discussion as Guest

Log in to DocsForge