#include <uv.h>
Public Member Functions | |
UVTexture (TextureMapping2D *m) | |
~UVTexture () | |
Spectrum | Evaluate (const DifferentialGeometry &dg) const |
Private Attributes | |
TextureMapping2D * | mapping |
Definition at line 37 of file uv.h.
UVTexture::UVTexture | ( | TextureMapping2D * | m | ) | [inline] |
Spectrum UVTexture::Evaluate | ( | const DifferentialGeometry & | dg | ) | const [inline, virtual] |
Implements Texture< Spectrum >.
Definition at line 46 of file uv.h.
References Floor2Int(), RGBSpectrum::FromRGB(), TextureMapping2D::Map(), and mapping.
TextureMapping2D* UVTexture::mapping [private] |
Definition at line 53 of file uv.h.
Referenced by Evaluate(), UVTexture(), and ~UVTexture().