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