benilla-re systems structs docs

ConstructCameraBaseDefault

function · unassigned · unreached

Address
0x50a6c0 · 93 bytes, up to 0x50a71c
Signature
void * __thiscall (void *this)
Meaning
Builds a camera base with near clip 1/9, far clip 277.78 and field of view pi/2
Confidence
verified, proof one
Finding
uicamera/view#the-camera-base

Finding: The camera base in uicamera: the camera's saved view

The camera's constructor first builds its base: zeroes at +0x4 to +0x10, an identity 3×3 matrix at +0x14 to +0x34, the near clip at +0x38, the far clip at +0x3c, the field of view at +0x40, 1.0 at +0x44 and the vtable 0x808904, then rebuilds the matrix from yaw, pitch and roll 0. The near clip is the nearclip value and the far clip the farclip value at that moment, and the field of view is π/2. A second form with the constants 1/9, 277.77777 and π/2 builds the same base, but nothing reaches it.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 1

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