Example #1
0
        public static Vector2 PolarToCartesian(float radius, float azimuth, float height = 0f, BasePlane plane = BasePlane.XZ)
        {
            Polar cartesian = new Polar(radius, azimuth, height, plane);

            return(cartesian);
        }
Example #2
0
        public static Polar CartesianToPolar(Vector3 cartesian, BasePlane plane = BasePlane.XZ)
        {
            Polar polar = new Polar(cartesian, plane);

            return(polar);
        }