Vector2DDistance Method (Vector2D) |
Returns the distance between the current vector and the specified vector.
Namespace:
LightBuzz
Assembly:
LightBuzz (in LightBuzz.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic float Distance(
Vector2D vector
)
Public Function Distance (
vector As Vector2D
) As Single
public:
float Distance(
Vector2D vector
)
member Distance :
vector : Vector2D -> float32
Parameters
- vector
- Type: LightBuzzVector2D
The vector
Return Value
Type:
SingleThe distance between the vectors.
See Also