[![explain problem](https://i.stack.imgur.com/MvDP7.jpg)](https://i.stack.imgur.com/MvDP7.jpg)

user starts from A and moves to C though(via) B (sample points on screen) in unity3d. at this point, i have calculated angle (theta) which in both images is almost 45 deg(almost). problem is i wanted to conclude that in left image user intended CounterClockWise motion and in right image user intends clockwise rotation.
ahh, its really complicated than i imagined, please suggest.

currently unity code is like

```
    protected void calcAngles(){
    v1 = go2.position - go1.position;
    v2 = go3.position - go1.position;
    v3 = go3.position - go2.position;
    float angle = Vector3.Angle (v2, v1);
    Debug.Log ("angle:" + angle.ToString ());
    //float atan = Mathf.Atan2 (Vector3.Dot (v3, Vector3.Cross (v1, v2)), Vector3.Dot (v1, v2)) * Mathf.Rad2Deg;
    //Debug.Log ("atan2:" + atan.ToString ());
}

```

any ideas.? psudo code.? huge thanks in advance. cheers,lala