Function update

Synopsis

#include <Source/Falcor/Scene/Lights/Light.h>

void update()

Description

No description yet.

Source

Lines 382-387 in Source/Falcor/Scene/Lights/Light.cpp. Line 317 in Source/Falcor/Scene/Lights/Light.h.

void AnalyticAreaLight::update()
{
    // Update matrix
    mData.transMat = mTransformMatrix * glm::scale(glm::mat4(), mScaling);
    mData.transMatIT = glm::inverse(glm::transpose(mData.transMat));
}





Add Discussion as Guest

Log in