- if(_j0 < 0.25f*_baseJ0) _j0 = 0.25f*_baseJ0;
- if(_j0 > 4*_baseJ0) _j0 = 4*_baseJ0;
+ if(_j0 < _fine_stop*_baseJ0) _j0 = _fine_stop*_baseJ0;
+ if(_j0 > _coarse_stop*_baseJ0) _j0 = _coarse_stop*_baseJ0;
void Propeller::calc(float density, float v, float omega,
float* thrustOut, float* torqueOut)
{
// For manual pitch, exponentially modulate the J0 value between
// 0.25 and 4. A prop pitch of 0.5 results in no change from the
// base value.
void Propeller::calc(float density, float v, float omega,
float* thrustOut, float* torqueOut)
{
// For manual pitch, exponentially modulate the J0 value between
// 0.25 and 4. A prop pitch of 0.5 results in no change from the
// base value.