def getAngleAroundZAxisDifference(subtractFromVec3, subtractVec3):
 subtractVectorMirror = complex(subtractVec3.x, (- subtractVec3.y))
 differenceVector = getRoundZAxisByPlaneAngle(subtractVectorMirror, subtractFromVec3)
 return math.atan2(differenceVector.y, differenceVector.x)

def getAngleAroundZAxisDifference ( subtractFromVec3 , subtractVec3 ) : subtractVectorMirror = complex ( subtractVec3 . x , ( - subtractVec3 . y ) ) differenceVector = getRoundZAxisByPlaneAngle ( subtractVectorMirror , subtractFromVec3 ) return math . atan2 ( differenceVector . y , differenceVector . x )
get the angle around the z axis difference between a pair of vector3s .