]> git.mxchange.org Git - simgear.git/commitdiff
hla: Use a different extrapolation method for HLALocation.
authorMathias Froehlich <Mathias.Froehlich@web.de>
Sat, 1 Dec 2012 06:59:56 +0000 (07:59 +0100)
committerMathias Froehlich <Mathias.Froehlich@web.de>
Sat, 1 Dec 2012 07:02:30 +0000 (08:02 +0100)
simgear/hla/HLALocation.hxx

index 7c8a172b13f1f47327200a16198f1ed6d7a08220..d19ec8bb10e29006fa9b46ea43d5c13b797a364b 100644 (file)
@@ -52,7 +52,7 @@ public:
     SGLocationd getLocation(const SGTimeStamp& timeStamp) const
     {
         SGLocationd location = getLocation();
-        location.eulerStepBodyVelocities(getTimeDifference(timeStamp), getLinearBodyVelocity(), getAngularBodyVelocity());
+        location.eulerStepBodyVelocitiesMidOrientation(getTimeDifference(timeStamp), getLinearBodyVelocity(), getAngularBodyVelocity());
         return location;
     }
 };