fromPolar

Converts polar coordinates to a 2D cartesian vector.

Return

A Vector2 representing the cartesian coordinates.

Parameters

polar

The polar coordinates, where theta represents the angle in radians and radius represents the distance from the origin.