Table of Contents

Method Rotate90

Namespace
Gamelogic.Extensions
Assembly
Gamelogic.Extensions.dll

Rotate90(Vector2)

Rotates a vector by 90 degrees.

public static Vector2 Rotate90(this Vector2 vector)

Parameters

vector Vector2

Returns

Vector2