Searched defs:polygon (Results 1 - 3 of 3) sorted by relevance
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/shadowutil/ |
H A D | SpotShadow.java | 70 * calculates the Centroid of a 3d polygon 71 * @param poly The flatten 3d vertices coordinates of polygon, the format is like 73 * @param len The number of polygon vertices. So the length of poly should be len * 3. 103 * Extracts the convex hull of a polygon. 104 * @param points The vertices coordinates of polygon 105 * @param pointsLength The number of polygon vertices. So the length of poly should be len * 3. 106 * @param retPoly retPoly is at most the size of the input polygon 180 * @param poly1 The flatten 2d coordinates of polygon 182 * @param poly2 The flatten 2d coordinates of polygon 370 private static void makeClockwise(@NonNull float[] polygon, in argument 379 isClockwise(@onNull float[] polygon, int len) argument 393 reverse(@onNull float[] polygon, int len) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | TessellationCache.cpp | 196 static void reverseVertexArray(Vertex* polygon, int len) { argument 199 Vertex tmp = polygon[i]; 201 polygon[i] = polygon[k]; 202 polygon[k] = tmp; 213 // tessellate caster outline into a 2d polygon
|
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 reverse(Vector2* polygon, int len) argument 612 getClosestUmbraIndex(const Vector2& pivot, const Vector2* polygon, int polygonLength) argument 1049 testConvex(const Vector2* polygon, int polygonLength, const char* name) argument [all...] |
Completed in 58 milliseconds