vec2.cartesianToPolar

From GTA Connected
Revision as of 15:33, 24 August 2019 by Mex (talk | contribs) (Mex moved page Vec2.cartesianToPolar to vec2.cartesianToPolar)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Method Server and Client All Games Online and Offline

Server 1.0.0, Client 1.0.0

Vec2 vec2.cartesianToPolar(void)

Description

The vec2.cartesianToPolar method is used to fetch a new 2D vector of the vector converted to polar co-ordinates.

Parameters

Type Description
void This method doesn't take any parameters.

Returns

Success Returns

Type Description
Vec2
The new 2D vector, with X as the radius, and Y as the angle.

Failure Returns

Type Value
Vec2
Vec2(0.0,0.0)

Types

This method can only be used on type:

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.