| VectorExtensionsPerpDot Method |
Equivalent to Vector2.Dot(v1.Perp(), v2).
Namespace:
Gamelogic.Extensions
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public static float PerpDot(
this Vector2 vector1,
Vector2 vector2
)
Parameters
- vector1
- Type: Vector2
The first operand. - vector2
- Type: Vector2
The second operand.
Return Value
Type:
SingleVector2.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Vector2. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also