s_cameraBaseVtable
global · unassigned
- Address
0x808904· 16 bytes, up to0x808913- Type
void *[4]- Meaning
- Holds the camera base's vtable, four slots
- 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.