Counter clockwise triangle generation fixed

Thanks for the fixed, 

I manage to generate all the random triangles with three counter clockwise points.

The first point pta is generate on a square (max * max). The second point ptb is at the bottom left (in a random square) from pta and ptc is at the bottom right from ptb.

So the triangle orientation is always counter clockwise.

 I validate the test with great value, the computation seems to works without being stop.

Values used during validation : 
```c++
int max = 500;
int nb_test = 100000;
```