private static double rotate( double angle, double delta ){
		angle += delta;
		if( angle > Math.PI ){
			angle -= 2*Math.PI;
		}
		else if( angle < -Math.PI ){
			angle += 2*Math.PI; 
		}
		return angle;
	}