public void FindHullTest2() { Vector2[] points = new Vector2[] { new Vector2(303.4322f , 68.75738f), new Vector2(303.4522f , 68.25784f), new Vector2(303.9518f , 68.27787f), new Vector2(303.9318f , 68.77739f), new Vector2(303.4328f , 68.74139f), new Vector2(303.4529f , 68.24185f), new Vector2(303.9524f , 68.26188f), new Vector2(303.9324f , 68.7614f) }; for (int i = 0; i < 1000000; i++) { points.FindHull().ToArray(); } }
public void FindHullTest1() { Vector2[] points = new Vector2[] { new Vector2(497.5674f , 125.8552f), new Vector2(497.5874f , 125.3556f), new Vector2(498.0869f , 125.3756f), new Vector2(498.0669f , 125.8752f), new Vector2(497.5667f , 125.8711f), new Vector2(497.5867f , 125.3716f), new Vector2(498.0863f , 125.3916f), new Vector2(498.0663f , 125.8912f) }; for (int i = 0; i < 1000000; i++) { points.FindHull().ToArray(); } }