Go to the source code of this file.
◆ update_camera_unused_ahead()
void update_camera_unused_ahead |
( |
Camera * | camera | ) |
|
Definition at line 14 of file cam_mode_unused_ahead.c.
14 {
15 f32 yawAngle, sinYaw, cosYaw;
16 f32 pitchAngle, sinPitch, cosPitch;
17 f32 dx, dy, dz, dr;
18
22 camera->
params.basic.skipRecalc = FALSE;
23 camera->
params.basic.dist = 100;
24 camera->
params.basic.pitch = 0;
25 camera->
params.basic.yaw = 0;
26 camera->
params.basic.fovScale = 100;
27
31 }
32
35 }
38
39 if (!camera->
params.basic.skipRecalc) {
43
47 camera->
vfov = (10000 / camera->
params.basic.fovScale) / 4;
48
52
56
60
64 }
65
70
74}
PlayerStatus gPlayerStatus