class Angle
Creates an Angle object of "radians" radians (float).
Name | Type | Description | |
---|---|---|---|
radians | number |
Returns the Angle value in degrees (float).
Returns the Angle value in radians (float).
Returns a new Angle object valued with the angle value in radians between the two passed vectors.
Name | Type | Description | |
---|---|---|---|
a | Vector2 | ||
b | Vector2 |
Returns a new Angle object from the passed float in radians.
Name | Type | Description | |
---|---|---|---|
radians | number |
Returns a new Angle object from the passed float in degrees.
Name | Type | Description | |
---|---|---|---|
degrees | number |