| Vector2FMax Method |
Returns a vector that contains the highest value from each matching pair of components.
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public static Vector2F Max(
Vector2F vector1,
Vector2F vector2
)
Public Shared Function Max (
vector1 As Vector2F,
vector2 As Vector2F
) As Vector2F
public:
static Vector2F Max(
Vector2F vector1,
Vector2F vector2
)
static member Max :
vector1 : Vector2F *
vector2 : Vector2F -> Vector2F
Parameters
- vector1
- Type: DigitalRune.Mathematics.AlgebraVector2F
The first vector. - vector2
- Type: DigitalRune.Mathematics.AlgebraVector2F
The second vector.
Return Value
Type:
Vector2FThe maximized vector.
See Also