Searched refs:polygon (Results 1 - 3 of 3) sorted by relevance
/frameworks/base/libs/hwui/ |
H A D | SpotShadow.h | 57 static void reverse(Vector2* polygon, int len); 65 static bool testConvex(const Vector2* polygon, int polygonLength, const char* name);
|
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 145 * @param pointsLength the number of vertices of the polygon. 156 * @param pointsLength the number of vertices of the polygon. 158 * @return the number of points in the polygon 0 if no intersection 231 * @param polyLength The number of vertices of the polygon. 273 * Test whether a point is inside the polygon. 276 * @param poly the polygon 303 reverse(Vector2* polygon, int len) argument 600 getClosestUmbraIndex(const Vector2& pivot, const Vector2* polygon, int polygonLength) argument 1038 testConvex(const Vector2* polygon, int polygonLength, const char* name) argument [all...] |
H A D | TessellationCache.cpp | 190 static void reverseVertexArray(Vertex* polygon, int len) { argument 193 Vertex tmp = polygon[i]; 195 polygon[i] = polygon[k]; 196 polygon[k] = tmp; 204 // tessellate caster outline into a 2d polygon
|
Completed in 247 milliseconds