Chromium Code Reviews
DescriptionCorrect normal computation for inverted polygons.
Rather than rely solely the vertices, and their winding
order for sign, we rely on the transform of the previous
normal for the sign, and the vertices (cross product of
edge vectors, similar to Newell's algorithm) for the
numerics of the direction.
BUG=595820
TEST=unittest
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Committed: https://crrev.com/59d3768dd104c22554d86f410d22ad8f714c82eb
Cr-Commit-Position: refs/heads/master@{#386984}
Patch Set 1 #
Messages
Total messages: 13 (6 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||