Пример #1
0
 override public double updateAngle(double angle, double propAngle, double increment, double speed, int direction, double mod)
 {
     //mod = mod % (Math.PI * 2);
     //if(lowerSpeed == 0)
     return(SpeedHelper.updateSymmetricOnOffAngle(angle, propAngle, increment, speed, direction, (Math.PI * 2), mod));
     //else return SpeedHelper.updateSymmetricPolySpeedAngle(upperSpeed, lowerSpeed, angle, propAngle, increment, speed, direction, (Math.PI * 2), mod);
 }
 override public double updateAngle(double angle, double propAngle, double increment, double speed, int direction, double mod)
 {
     //mod = mod % (Math.PI / 2);
     return(SpeedHelper.updateAsymmetricOnOffAngle(angle, propAngle, increment, speed, direction, (Math.PI), (Math.PI / 2), mod));
 }