#include <vector>
-#include <plib/ssg.h>
-
SG_USING_STD(vector);
+class ssgEntity;
+class ssgBranch;
+
class FGHitRec {
private:
FGHitList();
~FGHitList();
-
+
void init(void) { list.clear(); test_dist=DBL_MAX; }
void clear(void) { init(); last = NULL; }
void add( ssgEntity *ent, int idx, sgdVec3 point, sgdVec3 normal ) {
// center, find the current terrain intersection elevation for the
// point specified.
bool fgCurrentElev( sgdVec3 abs_view_pos,
+ double max_alt_m,
sgdVec3 scenery_center,
ssgTransform *terra_transform,
FGHitList *hit_list,
double *normal );
bool fgCurrentElev( sgdVec3 abs_view_pos,
+ double max_alt_m,
sgdVec3 scenery_center,
FGHitList *hit_list,
double *terrain_elev,