Exemplo n.º 1
0
        internal static Vector2 ToManaged(Vector2_StructInternal _internal_struct)
        {
            var _external_struct = new Vector2();

            _external_struct.X = _internal_struct.X;
            _external_struct.Y = _internal_struct.Y;

            return(_external_struct);
        }
Exemplo n.º 2
0
        internal static Vector2_StructInternal ToInternal(Vector2 _external_struct)
        {
            var _internal_struct = new Vector2_StructInternal();

            _internal_struct.X = _external_struct.X;
            _internal_struct.Y = _external_struct.Y;

            return(_internal_struct);
        }