benilla-re systems structs docs

s_terrainSquare

global · terrain

Address
0xc7b2f4 · 4 bytes, up to 0xc7b2f7
Type
float
Meaning
Holds the square of 10.0 that the terrain file stores 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.