Skip to content

Commit 5da9dea

Browse files
committed
Remove section about coverage calculation simplification
This was actually a bad design decision to simplify that and caused harsher rendering. Implemented the weights in AristurtleDev#2
1 parent 66a03c6 commit 5da9dea

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -178,10 +178,6 @@ The reference `SolveHorizPoly()` falls back to a linear solve when the quadratic
178178

179179
The reference has separate `SolveHorizPoly` and `SolveVertPoly` functions. Forme eliminates `SolveVertPoly` by swapping the x and y components of the control points before passing them to `SolveHorizPoly`, reducing code duplication.
180180

181-
### Coverage calculation simplified.
182-
183-
The reference `CalcCoverage()` tracks per-ray coverage weights (`xwgt`, `ywgt`) to blend horizontal and vertical ray contributions, and supports `SLUG_EVENODD` and `SLUG_WEIGHT` compile-time modes. Forme uses a simpler `(covX + covY) * 0.5` average, which produces correct results for standard nonzero fill rule rendering without the additional weight tracking.
184-
185181
## Third-Party Credits
186182

187183
### Slug Algorithm

0 commit comments

Comments
 (0)