Function set

Summary

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

(1) void set(const float3 &p)

(2) void set(const float3 &pmin, const float3 &pmax)

Function overload

Synopsis

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

void set(const float3 &p)

Description

Set box to single point.

Source

Lines 58-58 in Source/Falcor/Utils/Math/AABB.h.

void set(const float3& p) { minPoint = maxPoint = p; }

Synopsis

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

void set(const float3 &pmin, const float3 &pmax)

Description

Set the box corners explicitly.

Source

Lines 62-66 in Source/Falcor/Utils/Math/AABB.h.

void set(const float3& pmin, const float3& pmax)
{
    minPoint = pmin;
    maxPoint = pmax;
}





Add Discussion as Guest

Log in