Go to the source code of this file.
◆ update_camera_no_interp()
void update_camera_no_interp |
( |
Camera * | camera | ) |
|
Definition at line 16 of file cam_mode_no_interp.c.
16 {
17 f32 yawAngle, sinYaw, cosYaw;
18 f32 pitchAngle, sinPitch, cosPitch;
19 f32 dx, dy, dz, dr;
20
24 camera->
params.basic.skipRecalc = FALSE;
25 camera->
params.basic.dist = 100;
26 camera->
params.basic.pitch = 0;
27 camera->
params.basic.yaw = 0;
28 camera->
params.basic.offsetY = 0;
29 camera->
params.basic.fovScale = 100;
30
34
38 }
39
40 if (!camera->
params.basic.skipRecalc) {
44
48 camera->
vfov = (10000 / camera->
params.basic.fovScale) / 4;
49
53
57
61
65 }
66
71
75
79}
BattleStatus gBattleStatus
Referenced by update_cameras().