SetZ() 공개 메소드

public SetZ ( float z ) : void
z float
리턴 void
예제 #1
0
        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);
        }
예제 #2
0
        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);
        }
예제 #3
0
 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;
 }