更新 'src/MultiPlayer/multiplaymgr.cxx'
This commit is contained in:
parent
37ed7f6024
commit
1ed2656787
@ -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);
|
||||
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user