RebuildCameraBasis
function · unassigned · orchestration
- Address
0x50ab50· 27 bytes, up to0x50ab6a- Signature
void __thiscall (void *this, float yaw, float pitch, float roll)- Meaning
- Builds the camera base's basis at +0x14 from yaw, pitch and roll
- 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 4
- LoadNewWorld client
- ConstructCameraBaseDefault unassigned
- ConstructCameraBase unassigned
- CCamera::MakeViewAngles uicamera
Callees 1
- BuildYawPitchRollBasis cmath
Calls and jumps by a bare address, from tables/calls.tsv.