Table of Contents

Method PerpXZ

Namespace
Gamelogic.Extensions
Assembly
Gamelogic.Extensions.dll

PerpXZ(Vector3)

Turns the vector 90 degrees anticlockwise as viewed from the top (keeping the y coordinate intact). Equivalent to

v.To2DXZ().Perp().To3DXZ(v.y);
public static Vector3 PerpXZ(this Vector3 v)

Parameters

v Vector3

Returns

Vector3