s_cameraAccessorVtable
global · uicamera
- Address
0x808a9c· 16 bytes, up to0x808aab- Type
void *[4]- Meaning
- Holds the GetFov, GetForward, GetLeft and GetUp slots of the vtable that the CCamera constructor stores
- Confidence
- verified, proof one
- Finding
- uicamera/view#pitch-units-and-sign
Finding: Pitch units and sign in uicamera: the camera's saved view
Inside the camera the pitch is in radians, positive looking down. The view direction is
(cos yaw cos pitch, sin yaw cos pitch, -sin pitch) and the eye is the pivot minus the distance times that
direction, so a positive pitch puts the eye above the pivot. A pitch of 10 degrees is the normal over-the-shoulder
view. The pitch is clamped to plus or minus 1.5533430576324463 radians (89 degrees) wherever input changes
it; the file path applies none.
The derivation is in the doc.