Exemple #1
0
        public struct_Vector ToStruct()
        {
            struct_Vector src = default(struct_Vector);

            src.x = this._x;
            src.y = this._y;
            src.z = this._z;
            return(src);
        }
Exemple #2
0
 public Vector(struct_Vector vec)
 {
     _x = vec.x;
     _y = vec.y;
     _z = vec.z;
 }