From: Mathias Froehlich Date: Sat, 1 Dec 2012 06:59:56 +0000 (+0100) Subject: hla: Use a different extrapolation method for HLALocation. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=be73c0fe434a80b6b513c456ef446d4ac59760ef;p=simgear.git hla: Use a different extrapolation method for HLALocation. --- diff --git a/simgear/hla/HLALocation.hxx b/simgear/hla/HLALocation.hxx index 7c8a172b..d19ec8bb 100644 --- a/simgear/hla/HLALocation.hxx +++ b/simgear/hla/HLALocation.hxx @@ -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; } };