Public Member Functions | |
SkyBxDF (const SkyLight &sky, const Transform &WL, const Vector &x, const Vector &y, const Vector &z) | |
SWCSpectrum | f (const Vector &wo, const Vector &wi) const |
Private Attributes | |
const SkyLight & | skyLight |
const Transform & | WorldToLight |
Vector | X |
Vector | Y |
Vector | Z |
Definition at line 34 of file sky.cpp.
SWCSpectrum SkyBxDF::f | ( | const Vector & | wo, | |
const Vector & | wi | |||
) | const [inline, virtual] |
Implements lux::BxDF.
Definition at line 38 of file sky.cpp.
References lux::SkyLight::GetSkySpectralRadiance(), lux::Normalize(), skyLight, lux::SphericalPhi(), lux::SphericalTheta(), WorldToLight, X, lux::Vector::x, Y, lux::Vector::y, Z, and lux::Vector::z.
const SkyLight& SkyBxDF::skyLight [private] |
const Transform& SkyBxDF::WorldToLight [private] |
Vector SkyBxDF::X [private] |
Vector SkyBxDF::Y [private] |
Vector SkyBxDF::Z [private] |