#include <TerrainOverlay.h>
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] |
| TerrainPatch::TerrainPatch | ( | float * | c0, | |
| float * | c1, | |||
| float * | c2 | |||
| ) |
| 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 | ) |
float* TerrainPatch::corners[3] [protected] |
float TerrainPatch::vectors[3][3] [protected] |
1.4.7