Function extent

Synopsis

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

float3 extent() const

Description

Returns the box extent.

Returns
Size of the box if valid, undefined otherwise.

Source

Lines 121-124 in Source/Falcor/Utils/Math/AABB.h.

float3 extent() const
{
    return maxPoint - minPoint;
}





Add Discussion as Guest

Log in