#include <LandscapePoints.h>
Public Member Functions | |
| LandscapePoints () | |
| virtual | ~LandscapePoints () |
| void | generate () |
| void | draw () |
| std::vector< Vector > & | getPoints () |
Protected Attributes | |
| std::vector< Vector > | points_ |
Definition at line 27 of file LandscapePoints.h.
| LandscapePoints::LandscapePoints | ( | ) |
Definition at line 30 of file LandscapePoints.cpp.
| LandscapePoints::~LandscapePoints | ( | ) | [virtual] |
Definition at line 34 of file LandscapePoints.cpp.
| void LandscapePoints::generate | ( | ) |
Definition at line 68 of file LandscapePoints.cpp.
References GroundMaps::getArenaHeight(), GroundMaps::getArenaWidth(), GroundMaps::getArenaX(), GroundMaps::getArenaY(), LandscapeMaps::getGroundMaps(), ScorchedContext::getLandscapeMaps(), ScorchedClient::instance(), and points_.
Referenced by Landscape::generate().
| void LandscapePoints::draw | ( | ) |
Definition at line 38 of file LandscapePoints.cpp.
References fixed::asFloat(), ModelRendererSimulator::draw(), MapPoints::getBorderModelBounce(), MapPoints::getBorderModelConcrete(), MapPoints::getBorderModelWrap(), LandscapeMaps::getGroundMaps(), GroundMaps::getHeight(), ScorchedContext::getLandscapeMaps(), glPopMatrix(), glPushMatrix(), glScalef(), glTranslatef(), MapPoints::instance(), ScorchedClient::instance(), int(), points_, GLState::TEXTURE_OFF, OptionsTransient::wallBouncy, OptionsTransient::wallConcrete, and OptionsTransient::wallWrapAround.
Referenced by Landscape::drawLand().
| std::vector<Vector>& LandscapePoints::getPoints | ( | ) | [inline] |
Definition at line 36 of file LandscapePoints.h.
References points_.
Referenced by GLWPlanView::drawBuoys().
std::vector<Vector> LandscapePoints::points_ [protected] |
1.5.3