pygame-ce icon indicating copy to clipboard operation
pygame-ce copied to clipboard

new angle and angle_rad property in vector2

Open AntoineMamou opened this issue 1 year ago • 2 comments
trafficstars

This PR follows this one : https://github.com/pygame-community/pygame-ce/pull/3216

I make the changes needed and add two properties : 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].

AntoineMamou avatar Nov 12 '24 17:11 AntoineMamou