cPlanetmap Class Reference

#include <cPlanetmap.h>

Inheritance diagram for cPlanetmap:
cObject

List of all members.

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.

Detailed Description

Procedural Landscape Rendering and Collision.


The documentation for this class was generated from the following files:
Generated on Fri Aug 27 16:01:36 2010 for Linwarrior 3D by  doxygen 1.6.3