 | Vector2IGetSquareDistance 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 int GetSquareDistance(
Vector2I vector
)
Public Function GetSquareDistance (
vector As Vector2I
) As Integer
public:
int GetSquareDistance(
Vector2I vector
)
member GetSquareDistance :
vector : Vector2I -> int
Parameters
- vector
- Type: Slash.Math.Algebra.VectorsVector2I
Vector to compute square distance to.
Return Value
Type:
Int32 Square distance between this and the passed vector.
See Also