diff options
author | 2017-06-06 14:26:27 -0600 | |
---|---|---|
committer | 2017-06-06 20:53:16 +0000 | |
commit | 7f5af0c2832e8a9682aff9521684c27e1368b6ee (patch) | |
tree | f70fcef97e18e2d205f125eedd921893a8dc2a84 /third_party/spirv-tools | |
parent | 5355d87b0783c03a64c305bf3666a4baf2b633e7 (diff) |
Use more stable root finding methods for cubics
Applies the quadratic formula from "Numerical Recipes in C",
Section 5.6, to the homogeneous quadratic equations that find cubic
inflection points and loop intersections. Also addresses KLM
orientation ahead of time, rather than negating K and L after the
fact.
Bug: skia:
Change-Id: Ic7e0818e2fe49b7724f9b583bae52281cfb1aea1
Reviewed-on: https://skia-review.googlesource.com/13481
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Reviewed-by: Cary Clark <caryclark@google.com>
Diffstat (limited to 'third_party/spirv-tools')
0 files changed, 0 insertions, 0 deletions