MCPcopy Create free account
hub / github.com/ActiveState/code / _ang

Function _ang

recipes/Python/502252_Physics/recipe-502252.py:122–124  ·  view source on GitHub ↗

Private module function.

(vector)

Source from the content-addressed store, hash-verified

120################################################################################
121
122def _ang(vector):
123 'Private module function.'
124 return _math.atan2(vector.x, vector.y) % _PI_M_2
125
126def _sub(angle_a, angle_b):
127 'Private module function.'

Callers 1

crashMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected