Esempio n. 1
0
 public static Vector3DT Zero(this Vector3DT self)
 {
     self   = new Vector3DT();
     self.x = 0;
     self.y = 0;
     self.z = 0;
     return(self);
 }
Esempio n. 2
0
        public static Vector3 ToUnityVector(this Vector3DT self)
        {
            Vector3 vector3 = new Vector3();

            vector3.x = self.x;
            vector3.y = self.y;
            vector3.z = self.z;
            return(vector3);
        }
Esempio n. 3
0
        public static Vector3DT ToVector3Dt(this Vector3 self)
        {
            Vector3DT vector3Dt = new Vector3DT();

            vector3Dt.x = self.x;
            vector3Dt.y = self.y;
            vector3Dt.z = self.z;
            return(vector3Dt);
        }
Esempio n. 4
0
 public static void SetVector3(this Vector3DT self, Vector3 vector3)
 {
     self.x = vector3.x;
     self.y = vector3.y;
     self.z = vector3.z;
 }