s_blitQuad
global · ui
- Address
0xbc7938· 48 bytes, up to0xbc7967- Type
float[12]- Meaning
- Holds the four corners (-1,-1), (-1,1), (1,1) and (1,-1) of the interior blit quad
- Confidence
- verified, proof one
- Finding
- minimap/draw#blit-quad-and-offset
Finding: Blit quad and offset in minimap: draw
The blit quad has the corners (-1, -1), (-1, 1), (1, 1) and (1, -1), written once into a static array. It is drawn as a strip in the order 0, 1, 3, 2 with one colour. The caller shifts the target by the player's movement since the composite: the offset is the player position less the composite position, rotated through the two matrices, divided by 3 times the radius, plus 0.5 on each axis.
The derivation is in the doc.