//calculate angle beetween arrow and horizontal axe
cosa=(x1-x0)/l;
sina=(y1-y0)/l;
alpha=acos(cosa);
if(sina<0)alpha*=-1;
_current=_arrows[value].first;
_current->add(x0,y0);
_current->add(x1,y1);
_current=_arrows[value].second;
_current->add(x1,y1);
_links.push_back(alpha);
_links.push_back(l);
_links.push_back(x1);
_links.push_back(y1);
}
voidRender_alternate::end_draw_arrows(){
//coordinates that we use for draw the head all arrows when parameter arrows_shape is triangle, we will change the angle and scale of using the modelview matrix