Vector2.Dot Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Dot(Vector2, Vector2) |
Calculate the dot (scalar) product of two vectors |
Dot(Vector2, Vector2, Single) |
Dot(Vector2, Vector2)
Calculate the dot (scalar) product of two vectors
public static float Dot (OpenTK.Vector2 left, OpenTK.Vector2 right);
static member Dot : OpenTK.Vector2 * OpenTK.Vector2 -> single
Parameters
- left
- Vector2
First operand
- right
- Vector2
Second operand
Returns
The dot product of the two inputs