#include <texture.h>
Public Member Functions | |
UVMapping2D (float su=1, float sv=1, float du=0, float dv=0) | |
void | Map (const DifferentialGeometry &dg, float *s, float *t, float *dsdx, float *dtdx, float *dsdy, float *dtdy) const |
Private Attributes | |
float | su |
float | sv |
float | du |
float | dv |
Definition at line 40 of file texture.h.
UVMapping2D::UVMapping2D | ( | float | su = 1 , |
|
float | sv = 1 , |
|||
float | du = 0 , |
|||
float | dv = 0 | |||
) |
void UVMapping2D::Map | ( | const DifferentialGeometry & | dg, | |
float * | s, | |||
float * | t, | |||
float * | dsdx, | |||
float * | dtdx, | |||
float * | dsdy, | |||
float * | dtdy | |||
) | const [virtual] |
Implements TextureMapping2D.
Definition at line 68 of file texture.cpp.
References du, DifferentialGeometry::dudx, DifferentialGeometry::dudy, dv, DifferentialGeometry::dvdx, DifferentialGeometry::dvdy, su, sv, DifferentialGeometry::u, and DifferentialGeometry::v.
float UVMapping2D::su [private] |
float UVMapping2D::sv [private] |
float UVMapping2D::du [private] |
float UVMapping2D::dv [private] |