Skip to content

Commit 6a9b48f

Browse files
committed
set depth required
1 parent 2bbcbb7 commit 6a9b48f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

s2/loop.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,10 @@ func (l *Loop) initOriginAndBound() {
165165
l.index.Add(l)
166166
}
167167

168+
func (l *Loop) setDepth(i int) {
169+
l.depth = i
170+
}
171+
168172
// initBound sets up the approximate bounding Rects for this loop.
169173
func (l *Loop) initBound() {
170174
if len(l.vertices) == 0 {

0 commit comments

Comments
 (0)