Closed AntoineMamou closed 1 week ago
This PR follows this one : https://github.com/pygame-community/pygame-ce/pull/3216 and make the suggested changes.
I added two new properties for Vector2. angle_rad : Returns the vector’s angle in radians relative to the positive x-axis. angle : Returns the angle in degrees, normalized to (180,180].
angle_rad
angle
something was wrong, sorry
This PR follows this one : https://github.com/pygame-community/pygame-ce/pull/3216 and make the suggested changes.
I added two new properties for Vector2.
angle_rad
: Returns the vector’s angle in radians relative to the positive x-axis.angle
: Returns the angle in degrees, normalized to (180,180].