public static Vector3PB Vector3ToVector3PB(Vector3 vector3) { Vector3PB vPb = new Vector3PB(); vPb.X = vector3.x; vPb.Y = vector3.y; vPb.Z = vector3.z; return(vPb); }
public static void Vector3PBCopyVector3(ref Vector3PB vpb, Vector3 v) { vpb.X = v.x; vpb.Y = v.y; vpb.Z = v.z; }
public static Vector3 Vector3PBToVecotr3(Vector3PB vector3) { return(new Vector3(vector3.X, vector3.Y, vector3.Z)); }