WaterMapPoints Class Reference

#include <WaterMapPoints.h>

List of all members.

Public Member Functions

 WaterMapPoints ()
virtual ~WaterMapPoints ()
void draw (Water2Patches &currentPatch)
void generate ()

Protected Attributes

std::vector< Vectorpts_


Detailed Description

Definition at line 28 of file WaterMapPoints.h.


Constructor & Destructor Documentation

WaterMapPoints::WaterMapPoints (  ) 

Definition at line 31 of file WaterMapPoints.cpp.

WaterMapPoints::~WaterMapPoints (  )  [virtual]

Definition at line 35 of file WaterMapPoints.cpp.


Member Function Documentation

void WaterMapPoints::draw ( Water2Patches currentPatch  ) 

Definition at line 39 of file WaterMapPoints.cpp.

References ModelRendererSimulator::draw(), MapPoints::getBorderModelBounce(), MapPoints::getBorderModelConcrete(), MapPoints::getBorderModelWrap(), Water2Patches::getPoint(), glPopMatrix(), glPushMatrix(), glRotatef(), glScalef(), glTranslatef(), MapPoints::instance(), ScorchedClient::instance(), int(), Water2Patch::Data::nx, Water2Patch::Data::ny, pts_, GLState::TEXTURE_OFF, OptionsTransient::wallBouncy, OptionsTransient::wallConcrete, OptionsTransient::wallWrapAround, and Water2Patch::Data::z.

Referenced by Water2Renderer::drawPoints().

void WaterMapPoints::generate (  ) 

Definition at line 71 of file WaterMapPoints.cpp.

References GroundMaps::getArenaHeight(), GroundMaps::getArenaWidth(), GroundMaps::getArenaX(), GroundMaps::getArenaY(), LandscapeMaps::getGroundMaps(), ScorchedContext::getLandscapeMaps(), ScorchedClient::instance(), and pts_.

Referenced by Water::generate().


Member Data Documentation

std::vector<Vector> WaterMapPoints::pts_ [protected]

Definition at line 38 of file WaterMapPoints.h.

Referenced by draw(), and generate().


The documentation for this class was generated from the following files:
Generated on Mon Feb 16 15:15:08 2009 for Scorched3D by  doxygen 1.5.3