#include <texture.h>
Public Member Functions | |
LatLongMapping () | |
virtual | ~LatLongMapping () |
virtual void | Map (const Vector &wh, float *s, float *t) const |
Definition at line 120 of file texture.h.
virtual lux::LatLongMapping::~LatLongMapping | ( | ) | [inline, virtual] |
void lux::LatLongMapping::Map | ( | const Vector & | wh, | |
float * | s, | |||
float * | t | |||
) | const [virtual] |
Implements lux::EnvironmentMapping.
Definition at line 173 of file texture.cpp.
References INV_PI, INV_TWOPI, lux::SphericalPhi(), and lux::SphericalTheta().