Exemplo n.º 1
0
 [Test] public static void IsPointBetweenCells___3000f_1500___1f_IS_0() => Assert.AreEqual(0, NativeGrid.IsPointBetweenCells(1f, 1500, 3000f));
Exemplo n.º 2
0
 [Test] public static void IsPointBetweenCells___2f_2___1fPlusEpsilon_IS_0() => Assert.AreEqual(0, NativeGrid.IsPointBetweenCells(1f + float.Epsilon, 2, 2f));
 public static int IsPointBetweenCells(FLOAT point, INT width, FLOAT worldSize) => NativeGrid.IsPointBetweenCells(point, width, worldSize);