|
|
|
@ -1437,9 +1437,9 @@ FGMultiplayMgr::SendMyPosition(const FGExternalMotionData& motionInfo)
|
|
|
|
|
//zhongjin
|
|
|
|
|
// for (unsigned i = 0 ; i < 3; ++i)
|
|
|
|
|
// PosMsg->angularAccel[i] = XDR_encode_float (motionInfo.angularAccel(i) * timeAccel * timeAccel);
|
|
|
|
|
PosMsg->angularAccel[0] = XDR_encode_float (motionInfo.angularAccel(i) * timeAccel * timeAccel);
|
|
|
|
|
PosMsg->angularAccel[1] = XDR_encode_float (motionInfo.angularAccel(i) * timeAccel * timeAccel);
|
|
|
|
|
PosMsg->angularAccel[2] = XDR_encode_float (motionInfo.angularAccel(i) * timeAccel * timeAccel);
|
|
|
|
|
PosMsg->angularAccel[0] = XDR_encode_float (motionInfo.angularAccel(0) * timeAccel * timeAccel);
|
|
|
|
|
PosMsg->angularAccel[1] = XDR_encode_float (motionInfo.angularAccel(1) * timeAccel * timeAccel);
|
|
|
|
|
PosMsg->angularAccel[2] = XDR_encode_float (motionInfo.angularAccel(2) * timeAccel * timeAccel);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|