Searched defs:eta2 (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/libs/hwui/utils/
H A DVectorDrawableUtils.cpp108 * @param e1y E(eta2) y coordinate of the starting point of the arc
139 double eta2 = eta1 + anglePerSegment; local
140 double sinEta2 = sin(eta2);
141 double cosEta2 = cos(eta2);
146 double tanDiff2 = tan((eta2 - eta1) / 2);
148 sin(eta2 - eta1) * (sqrt(4 + (3 * tanDiff2 * tanDiff2)) - 1) / 3;
160 eta1 = eta2;

Completed in 24 milliseconds