Function operator==

Synopsis

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

bool operator==(const BoundingBox &other)

Description

Checks whether two bounding boxes are equivalent in position and size

Source

Lines 42-45 in Source/Falcor/Utils/Math/AABB.h.

bool operator==(const BoundingBox& other)
{
    return (other.center == center) && (other.extent == extent);
}





Add Discussion as Guest

Log in to DocsForge