Lines Matching refs:Vector2
36 static float projectCasterToOutline(Vector2& outline,
43 static float rayIntersectPoly(const Vector2* poly, int polyLength,
44 const Vector2& point, float dx, float dy);
46 static void xsort(Vector2* points, int pointsLength);
47 static int hull(Vector2* points, int pointsLength, Vector2* retPoly);
49 static void sort(Vector2* poly, int polyLength, const Vector2& center);
51 static void swap(Vector2* points, int i, int j);
52 static void quicksortCirc(Vector2* points, int low, int high, const Vector2& center);
53 static void quicksortX(Vector2* points, int low, int high);
55 static bool testPointInsidePolygon(const Vector2 testPoint, const Vector2* poly, int len);
56 static void makeClockwise(Vector2* polygon, int len);
57 static void reverse(Vector2* polygon, int len);
60 Vector2* penumbra, int penumbraLength, Vector2* umbra, int umbraLength,
61 const Vector3* poly, int polyLength, VertexBuffer& retstrips, const Vector2& centroid);
64 static bool testConvex(const Vector2* polygon, int polygonLength,
66 static void testIntersection(const Vector2* poly1, int poly1Length,
67 const Vector2* poly2, int poly2Length,
68 const Vector2* intersection, int intersectionLength);
69 static void updateBound(const Vector2 inVector, Vector2& lowerBound, Vector2& upperBound );
70 static void dumpPolygon(const Vector2* poly, int polyLength, const char* polyName);