1
0
Fork 0

Fix a typo which Frederic's compiler flagged.

This commit is contained in:
curt 2003-10-17 19:17:17 +00:00
parent 90c0f80b9a
commit 5161029fc5

View file

@ -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);