1
0
Fork 0

Tweaks ...

This commit is contained in:
curt 2000-09-06 00:11:01 +00:00
parent b48424236b
commit 3d47d2284e
2 changed files with 3 additions and 0 deletions

View file

@ -6,6 +6,7 @@
# include <windows.h>
#endif
#include <float.h>
#include <math.h>
#include <GL/glut.h>

View file

@ -192,6 +192,8 @@ FGTileMgr::current_elev_ssg( const Point3D& abs_view_pos,
scenery.cur_radius = geoc.radius();
sgVec3 tmp;
sgSetVec3(tmp, hit_list.get_normal(this_hit));
ssgState *IntersectedLeafState =
((ssgLeaf*)hit_list.get_entity(this_hit))->getState();
current_view.CurrentNormalInLocalPlane(tmp, tmp);
sgdSetVec3( scenery.cur_normal, tmp );
// cout << "NED: " << tmp[0] << " " << tmp[1] << " " << tmp[2] << endl;