#include <WaterMapPoints.h>
Public Member Functions | |
| WaterMapPoints () | |
| virtual | ~WaterMapPoints () |
| void | draw (Water2Patches ¤tPatch) |
| void | generate () |
Protected Attributes | |
| std::vector< Vector > | pts_ |
Definition at line 28 of file WaterMapPoints.h.
| WaterMapPoints::WaterMapPoints | ( | ) |
Definition at line 31 of file WaterMapPoints.cpp.
| WaterMapPoints::~WaterMapPoints | ( | ) | [virtual] |
Definition at line 35 of file WaterMapPoints.cpp.
| 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().
std::vector<Vector> WaterMapPoints::pts_ [protected] |
1.5.3