 | Vector2FGetSquareDistance Method |
Calculates the square distance between this and the passed vector.
Namespace: Slash.Math.Algebra.VectorsAssembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntaxpublic float GetSquareDistance(
Vector2F vector
)
Public Function GetSquareDistance (
vector As Vector2F
) As Single
public:
float GetSquareDistance(
Vector2F vector
)
member GetSquareDistance :
vector : Vector2F -> float32
Parameters
- vector
- Type: Slash.Math.Algebra.VectorsVector2F
Vector to compute square distance to.
Return Value
Type:
Single Square distance between this and the passed vector.
See Also