]> git.mxchange.org Git - simgear.git/commitdiff
Mathias: silence some valgrind warnings so that you can concentrate better on the...
authorehofman <ehofman>
Tue, 6 Dec 2005 18:29:28 +0000 (18:29 +0000)
committerehofman <ehofman>
Tue, 6 Dec 2005 18:29:28 +0000 (18:29 +0000)
simgear/scene/model/placementtrans.cxx

index 963244e99dd6c2699daa5a9a8eefb33b7d1064a9..c95ea974f06367d7f26349f3b5e244ddff21be58 100644 (file)
@@ -34,6 +34,8 @@
 
 ssgPlacementTransform::ssgPlacementTransform(void)
 {
+  sgdSetVec3(_placement_offset, 0, 0, 0);
+  sgdSetVec3(_scenery_center, 0, 0, 0);
 }
 
 ssgPlacementTransform::~ssgPlacementTransform(void)