Vector2.ComponentMax Method

Definition

Overloads

ComponentMax(Vector2, Vector2)
ComponentMax(Vector2, Vector2, Vector2)

Calculate the component-wise maximum of two vectors

ComponentMax(Vector2, Vector2)

public static OpenTK.Vector2 ComponentMax (OpenTK.Vector2 a, OpenTK.Vector2 b);
static member ComponentMax : OpenTK.Vector2 * OpenTK.Vector2 -> OpenTK.Vector2

Parameters

Returns

Applies to

ComponentMax(Vector2, Vector2, Vector2)

Calculate the component-wise maximum of two vectors

public static void ComponentMax (ref OpenTK.Vector2 a, ref OpenTK.Vector2 b, out OpenTK.Vector2 result);
static member ComponentMax :  *  *  -> unit

Parameters

a
Vector2

First operand

b
Vector2

Second operand

result
Vector2

The component-wise maximum

Applies to