Function operator|=

Synopsis

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

BBox & operator|=(const BBox &rhs)

Description

Union of two boxes.

Source

Lines 78-83 in Source/Falcor/Utils/Math/BBox.h.

BBox& operator|= (const BBox& rhs)
{
    minPoint = glm::min(minPoint, rhs.minPoint);
    maxPoint = glm::max(maxPoint, rhs.maxPoint);
    return *this;
}





Add Discussion as Guest

Log in to DocsForge