From e6f9caa41ba1c7ceaeb0c1137419be2a97d8da1f Mon Sep 17 00:00:00 2001 From: david Date: Fri, 7 Jun 2002 19:43:40 +0000 Subject: [PATCH] Patch from Melchior Franz: FGViewer::updateFromModelLocation does otherwise complain several times about non-initialized values --- src/Main/location.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Main/location.cxx b/src/Main/location.cxx index fcca883f7..55196e99e 100644 --- a/src/Main/location.cxx +++ b/src/Main/location.cxx @@ -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 ); } -- 2.39.5