myVector.distanceSquared( otherVector ) in Anark Studio 2.5

Calculate the squared distance to another vector.

Arguments

nametypedescription
otherVector Vector The vector to calculate the di
Return Type
Number

Description

Calculates and returns the squared distance between the original vector and otherVector.