Check if a polygon overlaps with a rectangle: Difference between revisions

m
→‎{{header|Wren}}: Changed to Wren S/H
m (→‎{{header|Julia}}: specify return types)
m (→‎{{header|Wren}}: Changed to Wren S/H)
Line 738:
{{libheader|Wren-dynamic}}
This is just a special case of the [[Check if two polygons overlap]] task where one of the polygons is a rectangle though, for convenience, the common code is repeated here.
<syntaxhighlight lang="ecmascriptwren">import "./vector" for Vector2
import "./dynamic" for Tuple
 
9,488

edits