Home
last modified time | relevance | path

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

/external/skia/src/pathops/
DSkPathOpsCubic.cpp463 double neg2RootQ = -2 * sqrt(Q); in RootsReal() local
465 r = neg2RootQ * cos(theta / 3) - adiv3; in RootsReal()
468 r = neg2RootQ * cos((theta + 2 * PI) / 3) - adiv3; in RootsReal()
472 r = neg2RootQ * cos((theta - 2 * PI) / 3) - adiv3; in RootsReal()
/external/skia/src/core/
DSkGeometry.cpp779 SkScalar neg2RootQ = -2 * SkScalarSqrt(Q); in solve_cubic_poly() local
781 r = neg2RootQ * SkScalarCos(theta/3) - adiv3; in solve_cubic_poly()
785 r = neg2RootQ * SkScalarCos((theta + 2*SK_ScalarPI)/3) - adiv3; in solve_cubic_poly()
789 r = neg2RootQ * SkScalarCos((theta - 2*SK_ScalarPI)/3) - adiv3; in solve_cubic_poly()