provaengine v0.2.0-alpha (2018-03-19T00:32:13Z)
Dub
Repo
Vector2.set
prova
math
vector2
Vector2
Sets the values of x and y in a single statement
struct
Vector2
void
set
(
float
x
,
float
y
)
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
Sets the values of x and y in a single statement