provaengine v0.2.0-alpha (2018-03-19T00:32:13Z)
Dub
Repo
Vector2.distanceTo
prova
math
vector2
Vector2
Returns the distance between the vectors
struct
Vector2
const
float
distanceTo
(
Vector2
vector
)
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 distance between the vectors