X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FNetwork%2Fnative_fdm.cxx;h=95908a56ae0f8c46d323192221b263d001a60acc;hb=efcc89480db17c181262aca1d6001ba9d92f0867;hp=46fb62d1ab857710b8a594d7af24cd1ec0f29918;hpb=0bce31ae9a80c571b9126427c093b8dc3d3f6820;p=flightgear.git diff --git a/src/Network/native_fdm.cxx b/src/Network/native_fdm.cxx index 46fb62d1a..95908a56a 100644 --- a/src/Network/native_fdm.cxx +++ b/src/Network/native_fdm.cxx @@ -151,9 +151,9 @@ void FGProps2NetFDM( FGNetFDM *net, bool net_byte_order ) { net->v_north = fdm_state.get_V_north(); net->v_east = fdm_state.get_V_east(); net->v_down = fdm_state.get_V_down(); - net->v_wind_body_north = fdm_state.get_uBody(); - net->v_wind_body_east = fdm_state.get_vBody(); - net->v_wind_body_down = fdm_state.get_wBody(); + net->v_body_u = fdm_state.get_uBody(); + net->v_body_v = fdm_state.get_vBody(); + net->v_body_w = fdm_state.get_wBody(); net->A_X_pilot = fdm_state.get_A_X_pilot(); net->A_Y_pilot = fdm_state.get_A_Y_pilot(); @@ -245,9 +245,9 @@ void FGProps2NetFDM( FGNetFDM *net, bool net_byte_order ) { htonf(net->v_north); htonf(net->v_east); htonf(net->v_down); - htonf(net->v_wind_body_north); - htonf(net->v_wind_body_east); - htonf(net->v_wind_body_down); + htonf(net->v_body_u); + htonf(net->v_body_v); + htonf(net->v_body_w); htonf(net->A_X_pilot); htonf(net->A_Y_pilot); @@ -327,9 +327,9 @@ void FGNetFDM2Props( FGNetFDM *net, bool net_byte_order ) { htonf(net->v_north); htonf(net->v_east); htonf(net->v_down); - htonf(net->v_wind_body_north); - htonf(net->v_wind_body_east); - htonf(net->v_wind_body_down); + htonf(net->v_body_u); + htonf(net->v_body_v); + htonf(net->v_body_w); htonf(net->A_X_pilot); htonf(net->A_Y_pilot); @@ -410,9 +410,9 @@ void FGNetFDM2Props( FGNetFDM *net, bool net_byte_order ) { fdm_state.set_Velocities_Local( net->v_north, net->v_east, net->v_down ); - fdm_state.set_Velocities_Wind_Body( net->v_wind_body_north, - net->v_wind_body_east, - net->v_wind_body_down ); + fdm_state.set_Velocities_Body( net->v_body_u, + net->v_body_v, + net->v_body_w ); fdm_state.set_Accels_Pilot_Body( net->A_X_pilot, net->A_Y_pilot,