upd function name

This commit is contained in:
onyx-and-iris 2024-12-13 11:18:52 +00:00
parent 1f349178ed
commit 540339b42d

View File

@ -64,7 +64,7 @@ func analyzeSides(kind rune, graph *graph, path path) int {
corners++
}
corners += isInnerCorner(graph, current, ns)
corners += numInnerCorner(graph, current, ns)
}
log.Debugf("this path has %d corners", corners)
@ -98,7 +98,7 @@ func isCorner(graph *graph, current, p, q point) bool {
return false
}
func isInnerCorner(graph *graph, current point, ns [4]point) int {
func numInnerCorner(graph *graph, current point, ns [4]point) int {
var corners int
if !graph.isOutOfBounds(ns[N]) && !graph.isOutOfBounds(ns[E]) {