provaengine v0.2.0-alpha (2018-03-19T00:32:13Z)
Dub
Repo
Vector2.getDirection
prova
math
vector2
Vector2
Returns the direction of the vector in degrees
struct
Vector2
const
float
getDirection
(
)
Meta
Source
See Implementation
prova
math
vector2
Vector2
constructors
this
functions
angleTo
distanceTo
distanceToSquared
dot
getDirection
getMagnitude
getNormalized
normalize
opAdd
opAddAssign
opDiv
opDivAssign
opMul
opMulAssign
opSub
opSubAssign
opUnary
set
setDirection
setMagnitude
static functions
random
variables
x
y
Returns the direction of the vector in degrees