Function addQuad

Synopsis

#include <Source/Falcor/Utils/UI/DebugDrawer.h>

void addQuad(const Quad &quad)

Description

Adds a quad described by four corner points

Source

Lines 51-57 in Source/Falcor/Utils/UI/DebugDrawer.cpp. Line 69 in Source/Falcor/Utils/UI/DebugDrawer.h.

void DebugDrawer::addQuad(const Quad& quad)
{
    addLine(quad[0], quad[1]);
    addLine(quad[1], quad[2]);
    addLine(quad[2], quad[3]);
    addLine(quad[3], quad[0]);
}





Add Discussion as Guest

Log in to DocsForge