Using Square To Calculate Angle