Lines Matching defs:by
10 * Unless required by applicable law or agreed to in writing, software
69 * Normal here is defined against the edge by the current vertex and the next vertex.
86 // The index of the vertex described by this data.
104 * Calculate the intersection of a ray with the line segment defined by two points.
138 * Sort points by their X coordinates
220 bool SpotShadow::ccw(float ax, float ay, float bx, float by,
222 return (bx - ax) * (cy - ay) - (by - ay) * (cx - ax) > EPSILON;
237 * Swap points pointed to by i and j
272 * Sort points by x axis
475 // When centroid is covered by all circles from outline, then we consider
535 // Compute the umbra by the intersection from the outline's centroid!
559 // The ratio can be simulated by using the inverse of maximum of ratioVI for
745 // For those umbra don't have penumbra, generate new penumbra vertices by interpolation.
787 // Then for each unpaired umbra vertex, create a new penumbra by the ratio,
910 // we will generate some new penumbra vertex by interpolation. Like P6 is
925 // For each penumbra vertex, find its closet umbra vertex by comparing the
947 // The penumbra one can vary a bit, but it is bounded by (2 * verticesPairIndex + 2).
971 // All umbra index need to be offseted by newPenumbraSize.