public static NFVector2 sub(NFVector2 va, NFVector2 vb) { NFVector2 vector = new NFVector2(); vector.SetX(va.X() - vb.X()); vector.SetY(va.Y() - vb.Y()); return(vector); }
static public NFVector2 PBToNF(NFMsg.Vector2 value) { NFVector2 vector = new NFVector2(); vector.SetX(value.x); vector.SetY(value.y); return(vector); }
public static NFVector2 sub(NFVector2 va, NFVector2 vb) { NFVector2 vector = new NFVector2(); vector.SetX(va.X() - vb.X()); vector.SetY(va.Y() - vb.Y()); return vector; }