Fixed various warnings.
This commit is contained in:
parent
e779ec44b4
commit
81eb6d345d
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue