 | Vector2IDot 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 int Dot(
Vector2I a,
Vector2I b
)
Public Shared Function Dot (
a As Vector2I,
b As Vector2I
) As Integer
public:
static int Dot(
Vector2I a,
Vector2I b
)
static member Dot :
a : Vector2I *
b : Vector2I -> int
Parameters
- a
- Type: Slash.Math.Algebra.VectorsVector2I
First vector. - b
- Type: Slash.Math.Algebra.VectorsVector2I
Second vector.
Return Value
Type:
Int32 Dot product of the two passed vectors.
See Also