Fix a typo which Frederic's compiler flagged.
This commit is contained in:
parent
90c0f80b9a
commit
5161029fc5
1 changed files with 1 additions and 1 deletions
|
@ -347,7 +347,7 @@ void Rotorpart::calcForce(float* v, float rho, float* out, float* torque)
|
||||||
|
|
||||||
float fcw;
|
float fcw;
|
||||||
if(_c2==0)
|
if(_c2==0)
|
||||||
fcw==0;
|
fcw=0;
|
||||||
else
|
else
|
||||||
//fcw=vz/_c2*_maxpitchforce*_omega/_omegan;
|
//fcw=vz/_c2*_maxpitchforce*_omega/_omegan;
|
||||||
fcw=vz*(_c2-1)*_maxpitchforce*_omega/(_omegan*_omegan*_len*_maxpitch);
|
fcw=vz*(_c2-1)*_maxpitchforce*_omega/(_omegan*_omegan*_len*_maxpitch);
|
||||||
|
|
Loading…
Reference in a new issue