public static NFVector3 sub(NFVector3 va, NFVector3 vb) { NFVector3 vector = new NFVector3(); vector.SetX(va.X() - vb.X()); vector.SetY(va.Y() - vb.Y()); vector.SetZ(va.Z() - vb.Z()); return(vector); }
static public NFVector3 PBToNF(NFMsg.Vector3 value) { NFVector3 vector = new NFVector3(); vector.SetX(value.x); vector.SetY(value.y); vector.SetZ(value.z); return(vector); }
public static NFVector3 add(NFVector3 va, NFVector3 vb) { NFVector3 vector = new NFVector3(); vector.SetX(va.X() + vb.X()); vector.SetY(va.Y() + vb.Y()); vector.SetZ(va.Z() + vb.Z()); return vector; }