Vector2.Dot Vector2.Dot Method

Definition

Overloads

Dot(Vector2, Vector2) Dot(Vector2, Vector2)

Calculate the dot (scalar) product of two vectors

Dot(Vector2, Vector2, Single) Dot(Vector2, Vector2, Single)

Dot(Vector2, Vector2) 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 Vector2

First operand

right
Vector2 Vector2

Second operand

Returns

The dot product of the two inputs

Dot(Vector2, Vector2, Single) Dot(Vector2, Vector2, Single)

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

Parameters

result
Single Single

Applies to