Table of Contents

Method PerpDot

Namespace
Gamelogic.Extensions
Assembly
Gamelogic.Extensions.dll

PerpDot(Vector2, Vector2)

Equivalent to Vector2.Dot(v1.Perp(), v2).

public static float PerpDot(this Vector2 vector1, Vector2 vector2)

Parameters

vector1 Vector2

The first operand.

vector2 Vector2

The second operand.

Returns

float

Vector2.