cleanup
This commit is contained in:
@@ -2,25 +2,6 @@ package world
|
||||
|
||||
import "math"
|
||||
|
||||
// renderPointsStageA performs a full expanded-canvas redraw but renders ONLY Point primitives.
|
||||
// func (w *World) renderPointsStageA(drawer PrimitiveDrawer, params RenderParams) error {
|
||||
// plan, err := w.buildRenderPlanStageA(params)
|
||||
// if err != nil {
|
||||
// return err
|
||||
// }
|
||||
|
||||
// style := DefaultRenderStyle()
|
||||
// if params.Options != nil && params.Options.Style != nil {
|
||||
// style = *params.Options.Style
|
||||
// }
|
||||
|
||||
// allowWrap := params.Options == nil || !params.Options.DisableWrapScroll
|
||||
|
||||
// applyPointStyle(drawer, style)
|
||||
// drawPointsFromPlanWithRadius(drawer, plan, w.W, w.H, style.PointRadiusPx, allowWrap)
|
||||
// return nil
|
||||
// }
|
||||
|
||||
// drawPointsFromPlan keeps backward compatibility for older tests/helpers.
|
||||
func drawPointsFromPlan(drawer PrimitiveDrawer, plan RenderPlan, allowWrap bool) {
|
||||
// Default world sizes are unknown here, so this wrapper is no longer suitable for wrap-aware points.
|
||||
|
||||
Reference in New Issue
Block a user