Пример #1
0
 static public void AssertEquals(fint fvalue, int i)
 {
     if (fvalue.ToInt() != i)
     {
         throw new Exception(string.Format("Expected {0}, got {1}", i, fvalue.ToInt().ToString()));
     }
 }
Пример #2
0
 public IntVector3 ToIntVector3()
 {
     return(new IntVector3(x.ToInt(), y.ToInt(), z.ToInt()));
 }