NL3D::CSinWave Struct Reference

Inheritance diagram for NL3D::CSinWave:

NL3D::CDeform2d::IPerturbUV

Public Member Functions

virtual void perturbUV (float x, float y, float &du, float &dv) const

Data Fields

float Phase

Member Function Documentation

virtual void NL3D::CSinWave::perturbUV float  x,
float  y,
float &  du,
float &  dv
const [inline, virtual]
 

Implements NL3D::CDeform2d::IPerturbUV.

Definition at line 41 of file heat_haze.cpp.

References Phase, x, and y.

00042                 {
00043                         du = 0.01f * sinf(25.f * y + Phase);
00044                         dv = 0.05f * cosf(19.3f * x + Phase);
00045                 }


Field Documentation

float NL3D::CSinWave::Phase
 

Definition at line 40 of file heat_haze.cpp.

Referenced by perturbUV().


The documentation for this struct was generated from the following file:
Generated on Tue Mar 16 07:44:21 2004 for NeL by doxygen 1.3.6