Tesla Graphics Engine Documentation (January 2012)
Dot Method (a, b)
Tesla
►
Tesla.Math
►
Vector2
►
Dot(Vector2, Vector2)
C#
Compute the dot product between two vectors.
Declaration Syntax
C#
public
static
float
Dot
(
Vector2
a
,
Vector2
b
)
Parameters
a
(
Vector2
)
First vector
b
(
Vector2
)
Second vector
Return Value
Dot product
Assembly:
Tesla
(Module: Tesla) Version: 0.5.0.0 (0.5.0.0)