[This is preliminary documentation and is subject to change.]

Returns the dot product of the specified vectors. (u . v)

Namespace: org.critterai
Assembly: cai-util (in cai-util.dll) Version: 0.5.0.0 (0.5.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static float Dot(
	Vector2 u,
	Vector2 v
)
Public Shared Function Dot ( _
	u As Vector2, _
	v As Vector2 _
) As Single
public:
static float Dot(
	Vector2 u, 
	Vector2 v
)

Parameters

u
Vector2
Vector u
v
Vector2
Vector v

Return Value

The dot product of the specified vectors.

See Also