class AligningKinematicAlgorithm implements AligningMotionAlgorithm, Serializable, Cloneable {

	@Override
	public double calculate(Vector2D<?, ?> orientation, double angularSpeed, double maxAngularSpeed, Vector2D<?, ?> target) {
		final double angle = orientation.signedAngle(target);
		if (Math.abs(angle) <= this.stopAngle) {
			return 0;
		}
		return MathUtil.clamp(angle, -maxAngularSpeed, maxAngularSpeed);
	}

	public  AligningKinematicAlgorithm(double stopAngle);

}