Water2.cpp File Reference

#include <water/Water2.h>
#include <common/Vector.h>
#include <common/Vector4.h>
#include <common/Logger.h>
#include <common/ProgressCounter.h>
#include <common/OptionsTransient.h>
#include <client/ScorchedClient.h>
#include <landscapedef/LandscapeTex.h>
#include <landscapedef/LandscapeDefn.h>
#include <landscapemap/LandscapeMaps.h>
#include <graph/OptionsDisplay.h>
#include <GLEXT/GLState.h>
#include <GLEXT/GLStateExtension.h>
#include <image/ImageFactory.h>
#include <lang/LangResource.h>
#include "ocean_wave_generator.h"
#include <water/Water2Constants.h>

Go to the source code of this file.

Functions

static float calculateError (Water2Points &displacement, int x1, int x2, int y1, int y2, float x1y1, float x2y2, float x1y2, float x2y1)


Function Documentation

static float calculateError ( Water2Points displacement,
int  x1,
int  x2,
int  y1,
int  y2,
float  x1y1,
float  x2y2,
float  x1y2,
float  x2y1 
) [static]

Definition at line 56 of file Water2.cpp.

References calculateError(), Water2Points::getPoint(), and MAX.


Generated on Mon Feb 16 15:14:56 2009 for Scorched3D by  doxygen 1.5.3