Searched defs:polygon (Results 1 - 2 of 2) sorted by relevance
/frameworks/base/libs/hwui/ |
H A D | ShadowTessellator.cpp | 145 * Calculate the centroid of a 2d polygon. 147 * @param poly The polygon, which is represented in a Vector2 array. 148 * @param polyLength The length of the polygon in terms of number of vertices. 149 * @return the centroid of the polygon. 191 * Test whether the polygon is order in clockwise. 193 * @param polygon the polygon as a Vector2 array 194 * @param len the number of points of the polygon 196 bool ShadowTessellator::isClockwise(const Vector2* polygon, int len) { argument 197 if (len < 2 || polygon 245 reverseVertexArray(Vertex* polygon, int len) argument [all...] |
H A D | SpotShadow.cpp | 26 // When the polygon is about 90 vertices, the penumbra + umbra can reach 270 rays. 27 // That is consider pretty fine tessllated polygon so far. 40 // For the whole polygon, the sum of all the deltas b/t normals is 2 * M_PI, 66 * For each polygon's vertex, the light center will project it to the receiver 141 * @param pointsLength the number of vertices of the polygon. 151 * @param pointsLength the number of vertices of the polygon. 153 * @return the number of points in the polygon 0 if no intersection 229 * @param polyLength The number of vertices of the polygon. 301 * Test whether a point is inside the polygon. 304 * @param poly the polygon 333 makeClockwise(Vector2* polygon, int len) argument 348 reverse(Vector2* polygon, int len) argument 650 getClosestUmbraIndex(const Vector2& pivot, const Vector2* polygon, int polygonLength) argument 1079 testConvex(const Vector2* polygon, int polygonLength, const char* name) argument [all...] |
Completed in 39 milliseconds