benilla-re systems structs docs

CCamera::PlaceEye

function · uicamera · primitive

Address
0x50de00 · 131 bytes, up to 0x50de82
Signature
void __thiscall (CCamera *this, float *out, float *pivot, float distance, float *offset)
Meaning
Places the eye at the pivot minus the distance along the forward vector plus an offset
Confidence
verified, proof one
Finding
uicamera/driver#placing-the-eye
Test
ui::cam_50de00, ui::cam_50e570

Finding: Placing the eye in uicamera: the follow camera

0x50de00(out, pivot, distance, offset) gives pivot - distance * forward + offset per axis, with mixed rounding. The x product stays at register precision and the x difference is stored as a float before the offset is added. The y difference stays at register precision. The z product is stored as a float and the z difference stays at register precision. Each sum with the offset is stored as a float.

The derivation is in the doc.

Callers 2

Callees 0

None by a direct call or jump.

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