vec2.addPolar: Difference between revisions
Jump to navigation
Jump to search
m (Mex moved page Vec2.addPolar to vec2.addPolar) |
(No difference)
|
Latest revision as of 15:33, 24 August 2019
Method
Server and Client
Online and Offline
Available since Server 1.0.0, Client 1.0.0
Vec2 vec2.addPolar(float radius, float angle)
The vec2.addPolar method is used to fetch a new 2D vector with a 2D offset added to the vector, calculated with the polar co-ordinate system.
Parameters
1) | float | radius | The radius of the circle. |
2) | float | angle | The angle of the line. |
Return
Vec2 | The new 2D vector. |
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.