更新 'src/MultiPlayer/multiplaymgr.cxx'
This commit is contained in:
parent
0915505fb7
commit
19094adcff
@ -1441,9 +1441,9 @@ FGMultiplayMgr::SendMyPosition(const FGExternalMotionData& motionInfo)
|
|||||||
float pitch = ifce.get_Theta();
|
float pitch = ifce.get_Theta();
|
||||||
float roll = ifce.get_Phi();
|
float roll = ifce.get_Phi();
|
||||||
|
|
||||||
PosMsg->angularAccel[0] = XDR_encode_float (motionInfo.angularAccel(0) * timeAccel * timeAccel);
|
PosMsg->angularAccel[0] = XDR_encode_float (heading);
|
||||||
PosMsg->angularAccel[1] = XDR_encode_float (motionInfo.angularAccel(1) * timeAccel * timeAccel);
|
PosMsg->angularAccel[1] = XDR_encode_float (pitch);
|
||||||
PosMsg->angularAccel[2] = XDR_encode_float (motionInfo.angularAccel(2) * timeAccel * timeAccel);
|
PosMsg->angularAccel[2] = XDR_encode_float (roll);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user