benilla-re systems structs docs

s_sharedInvTwoPi

global · collision

Address
0xcf5cd0 · 4 bytes, up to 0xcf5cd3
Type
float
Meaning
Holds 1/2π, 0.15915494, from start-up
Confidence
verified, proof one
Finding
collision/overview#shared-file-initializers

Finding: Shared file initializers in collision: overview

The shared movement file's static initializers store the shared constants. Of the floats they write, only the 2π, 0xcf5d00, is read by the movement code, which wraps angles with it.

The derivation is in the doc.