X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FFDM%2FMagicCarpet.hxx;h=aa35b020da1a35408d5fcd04438fe642db020b04;hb=e6c6c666c2d71fed0d1cd7176a793f8055bad14c;hp=4c11d3316fd1519be3f6abca4bc11f543781cdb3;hpb=576432ec75ce0c8f860e5df503cab37e3b8d9024;p=flightgear.git diff --git a/src/FDM/MagicCarpet.hxx b/src/FDM/MagicCarpet.hxx index 4c11d3316..aa35b020d 100644 --- a/src/FDM/MagicCarpet.hxx +++ b/src/FDM/MagicCarpet.hxx @@ -31,14 +31,15 @@ class FGMagicCarpet: public FGInterface { public: + FGMagicCarpet( double dt ); + ~FGMagicCarpet(); + // reset flight params to a specific position - bool init( double dt ); + void init(); // update position based on inputs, positions, velocities, etc. - bool update( int multiloop ); + void update( double dt ); -private: - SGValue * model_hz; };