benilla-re systems structs docs

s_overlapDepthCases

global · ui

Address
0x5092e8 · 16 bytes, up to 0x5092f7
Type
void *[4]
Meaning
Holds the four case addresses of the overlap test that compute the depth for a push direction
Confidence
verified, proof one
Finding
ui/smartrect#pushes-and-the-overlap-test

Finding: Pushes and the overlap test in ui: the screen rectangle placement

A push moves a rectangle in one direction by the depth of the first claimed rectangle it overlaps, so it lands edge to edge with it, and does nothing when it overlaps none. Overlap is strict: touching rectangles do not overlap, and no gap is added.

The derivation is in the doc.