// and flap1 are set. Right now flap1 overrides.
int nSegs = (int)Math::ceil((end-start)/segLen);
- if (_twist != 0 && nSegs < 16) // more segments if twisted
- nSegs = 16;
+ if (_twist != 0 && nSegs < 8) // more segments if twisted
+ nSegs = 8;
float segWid = _length * (end - start)/nSegs;
int j;
sr->surface = s;
sr->weight = chord * segWid;
s->setTotalDrag(sr->weight);
- s->setTwist(_twist * Math::sqrt(1-frac));
+ s->setTwist(_twist * frac);
_surfs.add(sr);
if(_mirror) {
sr->surface = s;
sr->weight = chord * segWid;
s->setTotalDrag(sr->weight);
- s->setTwist(_twist * Math::sqrt(frac));
+ s->setTwist(_twist * frac);
_surfs.add(sr);
}
}
int i;
for(i=2; i<4; i++) {
s->setStall(i, 0.2267f);
- s->setStallWidth(i, 1);
+ s->setStallWidth(i, 0.01);
}
if(flap0) s->setFlapParams(_flap0Lift, _flap0Drag);