Bool left_side; if((en->x-st->x)*(cam->y-st->y)-(en->y-st->y)*(cam->x-st->x)>0.) left_side=TRUE; else left_side=FALSE; ␅