benilla-re systems structs docs

ValidateFarClip

function · terrain · orchestration

Address
0x688d40 · 77 bytes, up to 0x688d8c
Meaning
Accepts a farclip from 177 to 777 and sets the world far clip, 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 3

Calls and jumps by a bare address, from tables/calls.tsv.