vec2.cartesianToPolar
Method
Server and Client
Online and Offline
Available since Server 1.0.0, Client 1.0.0
Vec2 vec2.cartesianToPolar(void)
The vec2.cartesianToPolar method is used to fetch a new 2D vector of the vector converted to polar co-ordinates.
Parameters
void | This method doesn't take any parameters. |
Return
Vec2 | The new 2D vector, with X as the radius, and Y as the angle. |
Types
Shared
Vec2
Notes
There aren't any notes for this method.
Examples
There aren't any examples for this method.
Compatibility
There isn't any compatibility information for this method.