adventofcode/2018/internal/day10/debug.go

16 lines
239 B
Go
Raw Normal View History

package day10
import (
"fmt"
)
func (p *Point) DebugPrintPoint() {
fmt.Printf("p=<%d, %d>, v=<%d, %d>\n", p.X, p.Y, p.Xv, p.Yv)
}
func DebugPrintPoints(points []*Point) {
for _, point := range points {
point.DebugPrintPoint()
}
}