]> git.mxchange.org Git - flightgear.git/commitdiff
MSVC .NET 2003 fix
authorehofman <ehofman>
Sun, 7 Mar 2004 09:37:49 +0000 (09:37 +0000)
committerehofman <ehofman>
Sun, 7 Mar 2004 09:37:49 +0000 (09:37 +0000)
src/Main/viewer.cxx

index ef142a1a0e09f2caf2bdf27b49c38941ecf20f28..5c53c6af9fd628680de4232945d315b24037dce4 100644 (file)
@@ -165,11 +165,11 @@ FGViewer::FGViewer( fgViewType Type, bool from_model, int from_model_index,
     _internal = internal;
 
     if (damp_roll > 0.0)
-      _damp_roll = 1.0 / pow(10, fabs(damp_roll));
+      _damp_roll = 1.0 / pow(10.0, fabs(damp_roll));
     if (damp_pitch > 0.0)
-      _damp_pitch = 1.0 / pow(10, fabs(damp_pitch));
+      _damp_pitch = 1.0 / pow(10.0, fabs(damp_pitch));
     if (damp_heading > 0.0)
-      _damp_heading = 1.0 / pow(10, fabs(damp_heading));
+      _damp_heading = 1.0 / pow(10.0, fabs(damp_heading));
 
     _x_offset_m = x_offset_m;
     _y_offset_m = y_offset_m;