This commit is contained in:
IliaDenisov
2026-03-08 10:15:34 +02:00
parent 672e4a00b4
commit e37a67bc99
4 changed files with 1 additions and 47 deletions
-14
View File
@@ -1,19 +1,5 @@
package world
// renderLinesStageB performs a full expanded-canvas redraw but renders ONLY Line primitives.
// It uses the Stage A render plan: tiles + per-tile clip + per-tile candidates.
// func (w *World) renderLinesStageB(drawer PrimitiveDrawer, params RenderParams) error {
// plan, err := w.buildRenderPlanStageA(params)
// if err != nil {
// return err
// }
// allowWrap := params.Options == nil || !params.Options.DisableWrapScroll
// drawLinesFromPlan(drawer, plan, w.W, w.H, allowWrap)
// return nil
// }
// lineSeg is one canonical segment (endpoints in [0..W) x [0..H)) to be drawn.
// It represents part of the torus-shortest polyline for a Line primitive after wrap splitting.
type lineSeg struct {