Example #1
0
        public static void UnitTest_Float()
        {
            Test0   t  = new Test0();
            Vector3 v3 = new Vector3();

            t.CalFloat(v3);
        }
Example #2
0
        public static void UnitTest_Arr()
        {
            var vectors = new Vector3[] {
                new Vector3(335, 253, 0),
                new Vector3(335, 2533, 0),
                new Vector3(335, 25332, 0)
            };

            foreach (var v in vectors)
            {
                Logger.Log("v=" + v.y);
            }
        }
Example #3
0
 static void PassV3(Vector3 v3)
 {
     Logger.Log("" + v3.y);
 }
Example #4
0
        public static void UnitTest_V3()
        {
            Vector3 v = new Vector3(45, 5, 0);

            PassV3(v);
        }
Example #5
0
 void CalFloat(Vector3 v3)
 {
     float midy = (1 - v3.y) / 1;
 }
Example #6
0
        public static void UnitTest_Arr()
        {
            var vectors = new Vector3[] {
                new Vector3(335, 253, 0),
                new Vector3(335, 2533, 0),
                new Vector3(335, 25332, 0)};

            foreach(var v in vectors)
            {
                Logger.Log("v=" + v.y);
            }
        }
Example #7
0
 void CalFloat(Vector3 v3)
 {
     float midy = (1 - v3.y) / 1;
 }
Example #8
0
 static void PassV3(Vector3 v3)
 {
     Logger.Log("" + v3.y);
 }
Example #9
0
 public static void UnitTest_V3()
 {
     Vector3 v = new Vector3(45, 5, 0);
     PassV3(v);
 }
Example #10
0
 public static void UnitTest_Float()
 {
     Test0 t = new Test0();
     Vector3 v3 = new Vector3();
     t.CalFloat(v3);
 }