benilla-re systems structs docs

ConstructCameraBase

function · unassigned · orchestration

Address
0x50a720 · 96 bytes, up to 0x50a77f
Signature
void * __thiscall (void *this, float nearClip, float farClip, float fov)
Meaning
Builds a camera base with an identity basis and the given near clip, far clip and field of view
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 1

Callees 1

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