Function getSize

Synopsis

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

float3 getSize() const

Description

Gets the size of each dimension of the bounding box.

Return
X,Y and Z lengths of the bounding box

Source

Lines 97-100 in Source/Falcor/Utils/Math/AABB.h.

float3 getSize() const
{
    return extent * 2.0f;
}





Add Discussion as Guest

Log in to DocsForge