in the Cartesian coordinate system, how to calculate the rotation angle of two lines connected by two points and 0 in Cartesian coordinate system, that is, how to realize this method
, it returns a negative number counterclockwise, that is,-180 degreeshow to realize this method
getAngle (x1, y1, x2, y2, x3, y3) {
}
getAngle(0,0,0,-1,0,1)
// -180
getAngle(0,0,0,-1,-1,-1)
// 45