Returns the vector with the maximum length.
Namespace:
LightBuzz
Assembly:
LightBuzz (in LightBuzz.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static Vector2D Max(
Vector2D vector1,
Vector2D vector2
)
Public Shared Function Max (
vector1 As Vector2D,
vector2 As Vector2D
) As Vector2D
public:
static Vector2D Max(
Vector2D vector1,
Vector2D vector2
)
static member Max :
vector1 : Vector2D *
vector2 : Vector2D -> Vector2D
Parameters
- vector1
- Type: LightBuzzVector2D
The first vector. - vector2
- Type: LightBuzzVector2D
The second vector.
Return Value
Type:
Vector2DThe vector with the higher magnitude.
See Also