Searched refs:polygon (Results 1 - 4 of 4) sorted by relevance
/frameworks/base/libs/hwui/ |
H A D | SpotShadow.h | 57 static void makeClockwise(Vector2* polygon, int len); 58 static void reverse(Vector2* polygon, int len); 65 static bool testConvex(const Vector2* polygon, int polygonLength,
|
H A D | ShadowTessellator.h | 83 static bool isClockwise(const Vector2* polygon, int len);
|
H A D | SpotShadow.cpp | 24 // When the polygon is about 90 vertices, the penumbra + umbra can reach 270 rays. 25 // That is consider pretty fine tessllated polygon so far. 38 // For the whole polygon, the sum of all the deltas b/t normals is 2 * M_PI, 69 * For each polygon's vertex, the light center will project it to the receiver 144 * @param pointsLength the number of vertices of the polygon. 157 * @param pointsLength the number of vertices of the polygon. 159 * @return the number of points in the polygon 0 if no intersection 235 * @param polyLength The number of vertices of the polygon. 278 * Test whether a point is inside the polygon. 281 * @param poly the polygon 310 makeClockwise(Vector2* polygon, int len) argument 325 reverse(Vector2* polygon, int len) argument 627 getClosestUmbraIndex(const Vector2& pivot, const Vector2* polygon, int polygonLength) argument 1060 testConvex(const Vector2* polygon, int polygonLength, const char* name) argument [all...] |
H A D | TessellationCache.cpp | 197 static void reverseVertexArray(Vertex* polygon, int len) { argument 200 Vertex tmp = polygon[i]; 202 polygon[i] = polygon[k]; 203 polygon[k] = tmp; 214 // tessellate caster outline into a 2d polygon
|
Completed in 116 milliseconds