static public NFMsg.Vector3 NFToPB(NFVector3 value) { NFMsg.Vector3 vector = new NFMsg.Vector3(); vector.x = value.X(); vector.y = value.Y(); vector.z = value.Z(); return(vector); }
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); }
public NFMsg.Vector3 NFToPB(NFVector3 value) { NFMsg.Vector3 vector = new NFMsg.Vector3(); vector.X = value.X(); vector.Y = value.Y(); vector.Z = value.Z(); return(vector); }
static public NFMsg.Vector3 NFToPB(NFVector3 value) { NFMsg.Vector3 vector = new NFMsg.Vector3(); vector.x = value.X(); vector.y = value.Y(); vector.z = 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; }