Skip to content

Commit 1f0f270

Browse files
committed
remove time piracy
1 parent 81488f9 commit 1f0f270

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

src/primitives/rectangles.jl

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -313,15 +313,16 @@ function Base.minmax(p::StaticVector, vmin, vmax)
313313
return min.(p, vmin), max.(p, vmax)
314314
end
315315

316+
# TODO: doesn't work regardless
316317
# Annoying special case for view(Vector{Point}, Vector{Face})
317-
function Base.minmax(tup::Tuple, vmin, vmax)
318-
for p in tup
319-
any(isnan, p) && continue
320-
vmin = min.(p, vmin)
321-
vmax = max.(p, vmax)
322-
end
323-
return vmin, vmax
324-
end
318+
# function Base.minmax(tup::Tuple, vmin, vmax)
319+
# for p in tup
320+
# any(isnan, p) && continue
321+
# vmin = min.(p, vmin)
322+
# vmax = max.(p, vmax)
323+
# end
324+
# return vmin, vmax
325+
# end
325326

326327
function positive_widths(rect::Rect{N,T}) where {N,T}
327328
mini, maxi = minimum(rect), maximum(rect)

0 commit comments

Comments
 (0)