Beispiel #1
0
        public static void Compare(TriDimArrayCustomSerializersMessage a, TriDimArrayCustomSerializersMessage b)
        {
            int lz = a.m_int3Arr.GetLength(0);
            int ly = a.m_int3Arr.GetLength(1);
            int lx = a.m_int3Arr.GetLength(2);

            for (int z = 0; z < lz; ++z)
            {
                for (int y = 0; y < ly; ++y)
                {
                    for (int x = 0; x < lx; ++x)
                    {
                        A(a.m_int3Arr[z, y, x] == b.m_int3Arr[z, y, x]);
                    }
                }
            }
        }
Beispiel #2
0
		public static void Compare(TriDimArrayCustomSerializersMessage a, TriDimArrayCustomSerializersMessage b)
		{
			int lz = a.m_int3Arr.GetLength(0);
			int ly = a.m_int3Arr.GetLength(1);
			int lx = a.m_int3Arr.GetLength(2);

			for (int z = 0; z < lz; ++z)
				for (int y = 0; y < ly; ++y)
					for (int x = 0; x < lx; ++x)
						A(a.m_int3Arr[z, y, x] == b.m_int3Arr[z, y, x]);
		}