Returns the dot product of two vectors.
Namespace:
LightBuzz
Assembly:
LightBuzz (in LightBuzz.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static float Dot(
Vector2D vector1,
Vector2D vector2
)
Public Shared Function Dot (
vector1 As Vector2D,
vector2 As Vector2D
) As Single
public:
static float Dot(
Vector2D vector1,
Vector2D vector2
)
static member Dot :
vector1 : Vector2D *
vector2 : Vector2D -> float32
Parameters
- vector1
- Type: LightBuzzVector2D
The first vector. - vector2
- Type: LightBuzzVector2D
The second vector.
Return Value
Type:
SingleThe dot product of the vectors.
See Also