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())); } }
public IntVector3 ToIntVector3() { return(new IntVector3(x.ToInt(), y.ToInt(), z.ToInt())); }