Click or drag to resize

Vector2Dot Method (Vector2, Vector2)

Calculates the dot product of two vectors.

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2022.1.1.0 (2022.1.1.0)
Syntax
C#
public static double Dot(
	Vector2 v1,
	Vector2 v2
)

Parameters

v1
Type: NeoAxisVector2
The first vector.
v2
Type: NeoAxisVector2
The second vector.

Return Value

Type: Double
The dot product of the two vectors.
See Also