1
0
Fork 0

Fixed various warnings.

This commit is contained in:
curt 2001-06-14 22:10:29 +00:00
parent e779ec44b4
commit 81eb6d345d

View file

@ -203,8 +203,8 @@ bool FGTileMgr::current_elev_ssg( sgdVec3 abs_view_pos, double *terrain_elev ) {
sgSetVec3(tmp, hit_list.get_normal(this_hit)); sgSetVec3(tmp, hit_list.get_normal(this_hit));
// cout << "cur_normal: " << tmp[0] << " " << tmp[1] << " " // cout << "cur_normal: " << tmp[0] << " " << tmp[1] << " "
// << tmp[2] << endl; // << tmp[2] << endl;
ssgState *IntersectedLeafState = /* ssgState *IntersectedLeafState =
((ssgLeaf*)hit_list.get_entity(this_hit))->getState(); ((ssgLeaf*)hit_list.get_entity(this_hit))->getState(); */
CurrentNormalInLocalPlane(tmp, tmp); CurrentNormalInLocalPlane(tmp, tmp);
sgdSetVec3( scenery.cur_normal, tmp ); sgdSetVec3( scenery.cur_normal, tmp );
// cout << "NED: " << tmp[0] << " " << tmp[1] << " " << tmp[2] << endl; // cout << "NED: " << tmp[0] << " " << tmp[1] << " " << tmp[2] << endl;