benilla-re systems structs docs

s_infinity22

global · terrain

Address
0x810cd0 · 4 bytes, up to 0x810cd3
Type
const float
Meaning
Holds +inf, 0x7f800000, the literal one terrain file copies at start-up
Confidence
verified, proof one
Finding
terrain/statics#static-initializers

Finding: Static initializers in terrain: statics

Each of the 30 files opens with the same block of 28 initializers: +∞ copied, 2π, 1/2π, thirteen squares, the constant 5.0, four squares, four products, a quotient, a square and a quotient. Two files add a counter of the files that use the network library, and the liquid file a third quotient. The other 102 initializers build state: zeroed records and arrays, identity matrices, empty lists, and the scene's and the map's tables. Of the 812 globals the block initializers write, three are read by code outside the initializers.

The derivation is in the doc.