#include <cPlanetmap.h>
Classes | |
struct | sPatch |
LRU Surface Cache-Tile. More... | |
Public Member Functions | |
virtual float | constrainParticle (float *worldpos, float radius, float *localpos, cObject *enactor) |
Readjust particle position by making multiple downward-hemispherical checks. | |
float | getHeight (float x, float z, float *color3f) |
Calculate Height and Color of the xz position. | |
float | getCachedHeight (float x, float z, float *color3f) |
Retrieves Height and Color of the xz position and calculates on demand. | |
virtual void | drawSolid () |
Draw Landscape surrounding the current camera position. | |
virtual void | drawEffect () |
Draw Decals surrounding the current camera position. | |
Public Attributes | |
std::map< unsigned long, sPatch * > | patches |
LRU Surface Cache. | |
Static Public Attributes | |
static int | sInstances = 0 |
Instance counter. | |
static std::vector< long > | sTextures |
Instance shared Textures. |
Procedural Landscape Rendering and Collision.