Modifier

Partager via


Vector2.Dot Method

Definition

Overloads

Dot(Vector2, Vector2)

Calculate the dot (scalar) product of two vectors

Dot(Vector2, Vector2, Single)

Dot(Vector2, Vector2)

Calculate the dot (scalar) product of two vectors

public static float Dot (OpenTK.Vector2 left, OpenTK.Vector2 right);
static member Dot : OpenTK.Vector2 * OpenTK.Vector2 -> single

Parameters

left
Vector2

First operand

right
Vector2

Second operand

Returns

The dot product of the two inputs

Applies to

Dot(Vector2, Vector2, Single)

public static void Dot (ref OpenTK.Vector2 left, ref OpenTK.Vector2 right, out float result);
static member Dot :  *  *  -> unit

Parameters

left
Vector2
right
Vector2
result
Single

Applies to