Patch from Melchior Franz:
FGViewer::updateFromModelLocation does otherwise complain several times about non-initialized values
This commit is contained in:
parent
d982efc4c4
commit
e6f9caa41b
1 changed files with 4 additions and 0 deletions
|
@ -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 );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue