TerrainPatch Class Reference

#include <TerrainOverlay.h>

List of all members.

Public Member Functions

 TerrainPatch (float *c0, float *c1, float *c2)
bool detectHit (float x, float y)
void getNormal (float *normal)
float getHeight (float *point)
bool getAll (float *point, float *normal, float *height)
virtual void draw (void)=0

Protected Attributes

float * corners [3]
float vectors [3][3]


Constructor & Destructor Documentation

TerrainPatch::TerrainPatch ( float *  c0,
float *  c1,
float *  c2 
)


Member Function Documentation

bool TerrainPatch::detectHit ( float  x,
float  y 
)

virtual void TerrainPatch::draw ( void   )  [pure virtual]

bool TerrainPatch::getAll ( float *  point,
float *  normal,
float *  height 
)

float TerrainPatch::getHeight ( float *  point  ) 

void TerrainPatch::getNormal ( float *  normal  ) 


Member Data Documentation

float* TerrainPatch::corners[3] [protected]

float TerrainPatch::vectors[3][3] [protected]


The documentation for this class was generated from the following file:
Generated on Sun Mar 11 15:33:26 2007 for MetalWarriors by  doxygen 1.4.7