1234567891011
//prototype Vector2 GetLeftVector(Vector2 Direction) { Vector2 ToTheLeft; //?? return ToTheLeft; } Vector2 GetRightVector(Vector2 Direction) { return GetLeftVector(Direction)*-1.0f; }
1234567
Vector2 GetLeftVector(Vector2 Direction) { Vector2 ToTheLeft; ToTheLeft.X = -Direction.Y; ToTheLeft.Y = Direction.X return ToTheLeft; }