Home
last modified time | relevance | path

Searched refs:neg2RootQ (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/pathops/
DSkPathOpsCubic.cpp423 double neg2RootQ = -2 * sqrt(Q); in RootsReal() local
425 r = neg2RootQ * cos(theta / 3) - adiv3; in RootsReal()
428 r = neg2RootQ * cos((theta + 2 * PI) / 3) - adiv3; in RootsReal()
432 r = neg2RootQ * cos((theta - 2 * PI) / 3) - adiv3; in RootsReal()
/external/skia/src/core/
DSkGeometry.cpp747 SkScalar neg2RootQ = -2 * SkScalarSqrt(Q); in solve_cubic_poly() local
749 r = neg2RootQ * SkScalarCos(theta/3) - adiv3; in solve_cubic_poly()
753 r = neg2RootQ * SkScalarCos((theta + 2*SK_ScalarPI)/3) - adiv3; in solve_cubic_poly()
757 r = neg2RootQ * SkScalarCos((theta - 2*SK_ScalarPI)/3) - adiv3; in solve_cubic_poly()