1
0
Fork 0

Patch from Melchior Franz:

FGViewer::updateFromModelLocation does otherwise complain several
times about non-initialized values
This commit is contained in:
david 2002-06-07 19:43:40 +00:00
parent d982efc4c4
commit e6f9caa41b

View file

@ -118,6 +118,10 @@ FGLocation::FGLocation( void ):
_tile_center(0)
{
sgdZeroVec3(_absolute_view_pos);
sgZeroVec3(_relative_view_pos);
sgZeroVec3(_zero_elev_view_pos);
sgMakeRotMat4( UP, 0.0, 0.0, 0.0 );
sgMakeRotMat4( TRANS, 0.0, 0.0, 0.0 );
}