Ejemplo n.º 1
0
        public static Vector3 FromJson(Vector3Json v)
        {
            Vector3 o = new Vector3();

            o.x = v.X;
            o.y = v.Y;
            o.z = v.Z;
            return(o);
        }
Ejemplo n.º 2
0
        public static Vector3Json ToJson(Vector3 v)
        {
            Vector3Json o = new Vector3Json();

            o.X = v.x;
            o.Y = v.y;
            o.Z = v.z;
            return(o);
        }