spot.cpp File Reference

#include "spot.h"
#include "mc.h"
#include "paramset.h"
#include "reflection/bxdf.h"
#include "dynload.h"
Include dependency graph for spot.cpp:

Go to the source code of this file.

Classes

class  SpotBxDF

Functions

static float LocalFalloff (const Vector &w, float cosTotalWidth, float cosFalloffStart)

Variables

static
DynamicLoader::RegisterLight
< SpotLight
r ("spot")

Function Documentation

static float LocalFalloff ( const Vector w,
float  cosTotalWidth,
float  cosFalloffStart 
) [static]

Definition at line 32 of file spot.cpp.

References lux::CosTheta().

Referenced by SpotBxDF::f(), lux::SpotLight::Falloff(), and SpotBxDF::Sample_f().


Variable Documentation

Generated by  doxygen 1.6.2-20100208