 | Vector2FDot Method |
Calculates the dot product of the two passed vectors. See http://en.wikipedia.org/wiki/Dot_product for more details.
Namespace: Slash.Math.Algebra.VectorsAssembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntaxpublic static float Dot(
Vector2F a,
Vector2F b
)
Public Shared Function Dot (
a As Vector2F,
b As Vector2F
) As Single
public:
static float Dot(
Vector2F a,
Vector2F b
)
static member Dot :
a : Vector2F *
b : Vector2F -> float32
Parameters
- a
- Type: Slash.Math.Algebra.VectorsVector2F
First vector. - b
- Type: Slash.Math.Algebra.VectorsVector2F
Second vector.
Return Value
Type:
Single Dot product of the two passed vectors.
See Also