Contents

SushiEngine

sky_marker_boxes_overlap

bool sky_marker_boxes_overlap(const SkyMarkerBox &a, const SkyMarkerBox &b) noexcept

Parameters

NameTypeDescription
aconst SkyMarkerBox &

First rectangle.

bconst SkyMarkerBox &

Second rectangle.

Returns

bool

True when they overlap; touching edges alone do not count.

Description

Whether two pixel rectangles share any area.