ValidateHorizonFarClip
function · terrain · orchestration
- Address
0x689250· 141 bytes, up to0x6892dc- Meaning
- Accepts a horizon far clip from the far clip plus 528 to 2112 and stores it, else prints the range
- Confidence
- verified, proof one
- Finding
- terrain/world#distance-settings
Finding: Distance settings in terrain: world
Four registered settings bound the world's distances. farclip, nearclip and horizonfarclip refuse a value
outside the range with a message; textureLodDist writes its message, runs at 80.0 instead and keeps the set, its
record holding the typed value.
farclip (default 350) takes 177 to 777 and sets the world far clip. horizonfarclip (2112) takes the far
clip plus 528 up to 2112 and sets the far plane of the low-detail projection. nearclip (0.1) takes 0.01 to
0.33 and textureLodDist (777.0) takes 80 to 777; their world copies are never read. The camera takes its
near and far planes from the nearclip and farclip records, not from the world copies. lodDist is in lod.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 4
- ConsoleWrite console
- SStrPrintf storm
- SStrToFloat storm
- SetHorizonFarClip terrain
Calls and jumps by a bare address, from tables/calls.tsv.